{"id":"CVE-2026-57584","published":"2026-07-10T21:04:26Z","modified":"2026-07-13T18:04:51Z","title":"Phalcon: Catastrophic backtracking (ReDoS) in the default Phalcon Router route lead to remote unauthenticated DoS","vendor":"phalcon","product":"cphalcon","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00524,"percentile":0.37782,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://github.com/phalcon/cphalcon/security/advisories/GHSA-x7rj-f32v-7jjg","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/phalcon/cphalcon/commit/14ba22d389d5ca620bb9d5207205f836ef1224f2","tags":["x_refsource_MISC"]},{"url":"https://github.com/phalcon/cphalcon/commit/fa798e919cb2c487062bb9899ad6fc2b673b3a67","tags":["x_refsource_MISC"]},{"url":"https://github.com/phalcon/cphalcon/releases/tag/v5.15.0","tags":["x_refsource_MISC"]}],"priority":{"score":13.6,"factors":[{"name":"EPSS percentile","points":7.56},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"phalcon","affectedVersions":[{"vendor":"phalcon","product":"cphalcon","versions":["< 5.15.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-13T18:04:40.467436Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"phalcon/cphalcon","vulnerableRanges":["<5.15.0"],"patched":["5.15.0"],"from":["GHSA-x7rj-f32v-7jjg"],"provenance":"source"}],"summary":{"text":"The Phalcon Router in cphalcon, the PHP framework's core routing component, contains a regular expression in its default built-in route (and in the /:params placeholder and CLI router) that uses a nested quantifier, which can be made to backtrack catastrophically. A remote, unauthenticated attacker who can send HTTP requests to a Phalcon MVC application using a default router can exploit this by crafting a request URI with repeated slashes and encoded newlines, requiring no user interaction or specific configuration, to exhaust CPU or cause route-matching failure.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:52Z"},"euvd":{"id":"EUVD-2026-43098","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-54736","published":"2026-07-10","fixed":"5.14.1","kev":false,"link":{"from":"CVE-2026-54736","to":"CVE-2026-57584","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:phalcon/cphalcon","fromFixed":"5.14.1","toFixed":"5.15.0","daysApart":0},{"kind":"similar","provenance":"machine","score":0.23,"basis":"same product + description similarity"}]}},{"cve":"CVE-2026-57584","published":"2026-07-10","fixed":"5.15.0","kev":false},{"cve":"CVE-2026-59989","published":"2026-08-21","fixed":"5.16.0","kev":false,"link":{"from":"CVE-2026-57584","to":"CVE-2026-59989","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:phalcon/cphalcon","fromFixed":"5.15.0","toFixed":"5.16.0","daysApart":42}]}}],"package":"Packagist:phalcon/cphalcon"}}