Description
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. From 7.3.0-BETA1 until 7.4.12 and 8.0.12, the JsonPath component compiles attacker-controlled match() and search() filter patterns directly into preg_match() without a length cap, i-regexp restriction, or bounded backtracking, allowing catastrophic-backtracking expressions to pin worker CPU and cause denial of service. This issue is fixed in versions 7.4.12 and 8.0.12.
Published: 2026-07-14
Score: 8.2 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Symfony JsonPath component, present in Symfony versions 7.3.0-BETA1 through 7.4.11 and 8.0.x prior to 8.0.12, compiles user-controlled match() and search() filter patterns directly into PHP’s preg_match() without imposing any length, i-regexp, or back‑tracking limits. This allows an attacker to supply malicious regular expressions that trigger catastrophic back‑tracking, exhausting CPU resources and leading to a denial of service. The flaw falls under CWE-1333 and CWE-400, reflecting its reliance on regex engine exploitation and resource exhaustion, while confidentiality and integrity remain unaffected.

Affected Systems

All Symfony releases that include the JsonPath component from the 7.3.0-BETA1 series through 7.4.11 and all 8.0.x releases prior to 8.0.12 are affected. The fix was introduced in Symfony 7.4.12 and 8.0.12, which are the earliest versions that contain the mitigation.

Risk and Exploitability

With a CVSS score of 8.2, this vulnerability is considered High severity. The EPSS score is reported to be below 1 percent, indicating a very low current probability of exploitation, and the issue is not listed in the CISA KEV catalog. Attackers would need to supply a malicious JSON payload containing the crafted Regex to an application that passes it to JsonPath match() or search(). The lack of public exploitation data and the low EPSS suggest that immediate patching is prudent, though the attack surface remains flammable for targeted denial-of-service campaigns.

Generated by OpenCVE AI on August 1, 2026 at 09:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to Symfony 7.4.12 or later, or to 8.0.12 or later, to apply the official fix.
  • If an upgrade is not possible in the short term, audit all instances of JsonPath match() or search() that incorporate user-controlled patterns, and remove or sanitize any regex construction before it is evaluated.
  • As a temporary barrier, enforce strict limits on the size of incoming JSON payloads and reject requests that exceed a safe threshold to mitigate potential CPU exhaustion.

Generated by OpenCVE AI on August 1, 2026 at 09:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-8v8v-g73j-492j Symfony's JsonPath Evaluates Attacker-Controlled Regular Expressions in match()/search() Without Limits — ReDoS
History

Mon, 27 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
First Time appeared Symfony
Symfony json-path
Symfony symfony
Vendors & Products Symfony
Symfony json-path
Symfony symfony

Tue, 21 Jul 2026 19:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 14 Jul 2026 18:15:00 +0000

Type Values Removed Values Added
Description Symfony is a PHP framework for web and console applications and a set of reusable PHP components. From 7.3.0-BETA1 until 7.4.12 and 8.0.12, the JsonPath component compiles attacker-controlled match() and search() filter patterns directly into preg_match() without a length cap, i-regexp restriction, or bounded backtracking, allowing catastrophic-backtracking expressions to pin worker CPU and cause denial of service. This issue is fixed in versions 7.4.12 and 8.0.12.
Title Symfony: JsonPath Evaluates Attacker-Controlled Regular Expressions in match()/search() Without Limits — ReDoS
Weaknesses CWE-1333
CWE-400
References
Metrics cvssV4_0

{'score': 8.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


Subscriptions

Symfony Json-path Symfony
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-21T18:48:57.481Z

Reserved: 2026-05-13T06:54:34.221Z

Link: CVE-2026-45756

cve-icon Vulnrichment

Updated: 2026-07-21T18:48:54.147Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-01T09:30:03Z

Weaknesses
  • CWE-1333

    Inefficient Regular Expression Complexity

  • CWE-400

    Uncontrolled Resource Consumption