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 exists in the default Phalcon Router route (CWE‑1333). The router compiles a PCRE pattern that contains a nested quantifier, which is reproduced by the "/:params" placeholder and the CLI router. An attacker can send a crafted URI containing many repeated slashes and decoded newlines, triggering exponential backtracking that exhausts CPU resources or forces route‑matching failure. The vulnerability provides no authentication or privilege requirements, allowing an unauthenticated attacker to raise a denial‑of‑service.

Affected Systems

All PHP applications built with the Phalcon MVC framework and using the default router are affected. The issue is resolved in version 5.15.0; earlier versions contain the problematic regular‑expression. The affected product is Phalcon, specifically the "cphalcon" library that ships with all framework builds.

Risk and Exploitability

The CVSS score of 8.7 classifies this issue as high severity. The EPSS score is < 1%, indicating a very low but nonzero exploitation probability. This vulnerability is not listed in the CISA KEV catalog. Based on the description, the likely attack vector is remote, through HTTP requests to the server. Exploitation requires only a crafted request URL; no authentication is needed. Successful attack would lead to CPU exhaustion or failure to process legitimate requests, effectively denying service to legitimate users.

Generated by OpenCVE AI on July 25, 2026 at 19:48 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Phalcon framework to version 5.15.0 or later, which removes the nested quantifier from the router regex.
  • If an immediate upgrade is not possible, configure the web server or reverse proxy to reject URLs containing repeatedly repeated slashes or unusually long path segments, reducing the attack surface for the backtracking flaw.
  • In the interim, disable or replace the default route that uses the vulnerable pattern, or implement custom routing logic that avoids compiling the problematic regex.

Generated by OpenCVE AI on July 25, 2026 at 19:48 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

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-25T20:00:04Z

Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity