CVE-2026-134791
8.7HighPublished Nov 25, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
High
0CVSS v4.010
- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User action
- None
- Impact
- High impact on availability
- Weakness
- CWE-407
What an attacker gets
Unauthenticated attackers can cause a denial of service by submitting unclosed comment blocks in expressions. This triggers catastrophic backtracking in the lexer, consuming excessive CPU resources.
Root cause
The lexer used an inefficient regular expression to find the end of comments, leading to exponential time complexity when processing unclosed comment blocks.
Affected versions
Symfony 7.2.0 through 7.2.2
CVSS v4.0 · 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Fix & remediation
Upgrade to Symfony 7.2.3 or later. If you cannot upgrade, avoid parsing untrusted user-supplied expressions.
$ composer update symfony/symfonyAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
Since Symfony 7.2, expressions can contain comments. The lexer used a regular expression to find the end of a comment. When a /* was never closed, this regular expression scanned the rest of the expression, and the lexer then went on with the next character. So each /* scanned the rest of the expression again. Linting 192 KB of /* took 9 to 11 seconds, and 96 KB took 34 seconds without PCRE JIT. The lexer runs before the parser and its nesting limit. Any code that lints or parses untrusted expressions is affected, including the ExpressionSyntax validation constraint. A Length constraint on the same value doesn't help, since the validator runs both constraints. The lexer now uses strpos() to find the end of a comment, and a comment that is never closed throws a SyntaxError. Such expressions were already invalid. Lexing takes linear time again.
References
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1337618.7HighUnauthenticated attackers can crash the PHP process by sending a specially crafted CSV file. This leads to a denial of service for any application endpoint using the Serializer component to decode untrusted CSV input.
- CVE-2026-1337578.2HighRemote attackers can steal sensitive credentials like Authorization headers and NTLM tokens by triggering a redirect to an attacker-controlled origin. This requires the application to use NoPrivateNetworkHttpClient or DnsResolvingHttpClient to make requests that follow redirects.
- CVE-2026-1337437.0HighRemote attackers can inject malicious scripts into your pages by spoofing X-Forwarded headers. This occurs when your application runs behind a local reverse proxy or TLS terminator that is not explicitly configured as a trusted proxy.
- CVE-2026-1358017.2HighAttackers can bypass WAF, CDN, or web server access controls by using encoded or partial script names in the URL. This allows unauthorized access to restricted routes that rely on front-end path filtering.
- CVE-2026-1358047.5HighUnauthenticated attackers can cause a denial of service by triggering high CPU usage in PHP workers. This requires the application to evaluate attacker-controlled JSONPath expressions.
- CVE-2026-805017.8HighA local attacker with low privileges can cause a denial of service on the system. This requires local access to the virtual appliance.