CVE-2026-45756 Details
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.
A denial-of-service vulnerability has been identified in the JsonPath component of Symfony, affecting versions 7.3.0-BETA1 prior to 7.4.12 and 8.0.12. The issue arises because the JsonPath match() and search() filter functions compile user-controlled regular expressions directly into preg_match() without any limitations on length, backtracking, or adherence to the i-regexp subset of the PCRE standard. This oversight allows for catastrophic backtracking, where certain regex patterns can cause significant CPU resource consumption, effectively stalling the application. The vulnerability can be exploited by evaluating an attacker-influenced JSONPath expression that includes problematic regex patterns, leading to prolonged CPU usage and potential exhaustion of the application's worker pool.
The vulnerability has been patched in Symfony versions 7.4.12 and 8.0.12. Users should upgrade to these versions to address the issue.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jul 21, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/symfony/symfony/commit/1ac2d47418ec23066112db1e6ca35be6fe123d14 | [email protected] | Patch |
| https://github.com/symfony/symfony/releases/tag/v7.4.12 | [email protected] | ProductRelease Notes |
| https://github.com/symfony/symfony/releases/tag/v8.0.12 | [email protected] | ProductRelease Notes |
| https://github.com/symfony/symfony/security/advisories/GHSA-8v8v-g73j-492j | [email protected] | PatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1333 | Inefficient Regular Expression Complexity | [email protected] |
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| sensiolabs symfony | >= 7.3.0, < 7.4.12 >= 8.0.0, < 8.0.12 |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 21, 2026 | CVE Modified | CISA-ADP |
| Jul 15, 2026 | Initial Analysis | [email protected] |
| Jul 14, 2026 | New CVE Received | [email protected] |