Description
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.
Published: 2026-07-10
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A catastrophic backtracking regular‑expression denial of service flaw (CWE‑1333) is present in the default router of the Phalcon MVC framework before version 5.15.0. The router compiles a PCRE pattern containing a nested quantifier, which is also replicated by the "/:params" placeholder and the CLI router. When an attacker supplies a request URI with numerous repeated slashes or encoded newlines, the pattern can trigger exponential backtracking, exhausting the server’s CPU or preventing any route from being matched. The flaw therefore can be leveraged to disrupt the availability of the application for legitimate users.

Affected Systems

All PHP applications built with the Phalcon MVC framework that use the default router and run a version earlier than 5.15.0 are vulnerable. The issue is fixed in Phalcon release 5.15.0 and later.

Risk and Exploitability

The CVSS score of 8.7 reflects high severity. EPSS < 1% indicates a very low yet nonzero probability of active exploitation. The flaw is not listed in the CISA KEV catalog. The likely attack vector is via an HTTP request to the application, requiring only a crafted URL; no authentication is necessary. Successful exploitation causes CPU exhaustion or failure to resolve routes, effectively denying service to legitimate users.

Generated by OpenCVE AI on July 31, 2026 at 12:54 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Phalcon framework to version 5.15.0 or later to eliminate the vulnerable regular expression.
  • If an immediate upgrade is not possible, configure the web server or reverse proxy to reject URLs containing repeated slashes or unusually long path segments, reducing the backtracking surface.
  • Optionally disable the default router or replace it with custom routing logic that does not compile the vulnerable regular expression.
  • Consider implementing rate limiting or monitoring to detect and mitigate repeated or abnormal request patterns that may indicate exploitation attempts.

Generated by OpenCVE AI on July 31, 2026 at 12:54 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 13 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 13 Jul 2026 15:15:00 +0000

Type Values Removed Values Added
First Time appeared Phalcon
Phalcon cphalcon
Vendors & Products Phalcon
Phalcon cphalcon

Fri, 10 Jul 2026 21:30:00 +0000

Type Values Removed Values Added
Description 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.
Title Phalcon: Catastrophic backtracking (ReDoS) in the default Phalcon Router route lead to remote unauthenticated DoS
Weaknesses CWE-1333
References
Metrics cvssV4_0

{'score': 8.7, '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'}


Subscriptions

Phalcon Cphalcon
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-13T18:04:51.160Z

Reserved: 2026-06-24T18:49:56.209Z

Link: CVE-2026-57584

cve-icon Vulnrichment

Updated: 2026-07-13T18:04:18.859Z

cve-icon NVD

Status : Deferred

Published: 2026-07-10T22:16:44.560

Modified: 2026-07-13T19:21:55.683

Link: CVE-2026-57584

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T13:00:10Z

Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity