Phalcon cphalcon
Phalcon: Catastrophic backtracking (ReDoS) in the default Phalcon Router route lead to remote unauthenticated DoS
Edge device · Router / network deviceproduct or title mentions "router" (medium confidence)
Phalcon is a high-performance, full-stack PHP framework. Prior to 5.15.0, every Phalcon MVC application built with a default router registers a built-in route whose compiled PCRE pattern contains the nested quantifier (/.), and the same construct is produced by the /:params placeholder and the CLI router. Phalcon\Mvc\Router::handle() matches this pattern against the attacker-controlled request URI on every request, so a crafted path such as one containing repeated slashes followed by decoded newlines can trigger catastrophic backtracking and cause CPU exhaustion or route-matching failure. This issue is fixed in version 5.15.0.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 5.15.0
Fixed in 5.15.0
Mitigation
Upgrade cphalcon to 5.15.0 or later.
References
- Vendor advisory github.com/phalcon/cphalcon/security/advisorie…
- Patch github.com/phalcon/cphalcon/commit/14ba22d389d…
- Patch github.com/phalcon/cphalcon/commit/fa798e919cb…
1 more
- Release notes github.com/phalcon/cphalcon/releases/tag/v5.15…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.