CVE-2026-134791

HighCVSS 8.7/10Last modified Nov 30, 2026

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.

Metrics

CVSS 4.0 8.7/10CVSS: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

Weakness enumeration

Affected software

Source: the vendor's advisory (CNA). NVD analysis pending.

VendorProductVersions
Symfonysymfony/expression-language>= 7.2.0, < 7.4.24; >= 8.0.0, < 8.1.12
Symfonysymfony/symfony>= 7.2.0, < 7.4.24; >= 8.0.0, < 8.1.12

References

Timeline

Published
Nov 25, 2026
Last modified
Nov 30, 2026
NVD status
Awaiting Analysis

Related CVEs from 2026

CVE-2026-1347928.3When the proxy option isn't set, HttpClient takes the proxy from environment variables like http_proxy or HTTP_PROXY. On web servers, it ignCVE-2026-1347937.8Electerm before 5.9.0 on Windows contains an OS command injection vulnerability that allows attackers to execute PowerShell code via craftedCVE-2026-1347946.5HedgeDoc before 1.12.1 contains a prototype pollution vulnerability in the POST /history/:noteId endpoint that allows authenticated users toCVE-2026-1347955.3graphql-core 3.2.12 before 3.2.14 and 3.3.0rc1 before 3.3.2 contains a denial of service vulnerability that allows unauthenticated attackersCVE-2026-1347963.7Donetick before 0.1.86 contains a path traversal vulnerability in the GET /api/v1/assets/*filepath route that allows unauthenticated attackeCVE-2026-1347974.2Donetick before 0.1.86 contains a path traversal vulnerability that allows authenticated users to delete other users' files by storing a craCVE-2026-1347984.3Donetick through 0.1.86 contains a blind server-side request forgery vulnerability that allows self-registered users to make the server sendCVE-2026-1347994.2ByteStash 1.5.0 before 1.6.1 contains a login cross-site request forgery vulnerability in the /api/auth/oidc/callback handler because OIDC sCVE-2026-134803.1The LoRaWAN TS004 Fragmented Data Block Transport handler frag_transport_package_callback() in subsys/lorawan/services/frag_transport.c parsCVE-2026-1348004.2VoidAuth before 1.19.2 contains an insufficient session expiration vulnerability that allows attackers to retain account access because the CVE-2026-1348014.9VoidAuth before 1.19.2 contains an improper verification vulnerability that allows authenticated users to retain the emailVerified flag by cCVE-2026-1348026.8VoidAuth before 1.19.2 contains an access control bypass vulnerability that allows authenticated users to evade stricter ProxyAuth domain ru
CVE-2026-134791: High severity, CVSS 8.7 | Vulnix