CVE-2026-134791: symfony/expression-language · Inefficient Algorithmic Complexity
Affects symfony/expression-languageSource CVE Database V5
Not known to be exploited · CVSS 8.7 High : upgrade to 8.1.12 or 7.4.24 soon.
Data as of 25 Nov 2026, 10:34 UTC
Thin evidence
One scorer or none| CNA (Symfony) | CVSS 4.0 | 8.7 |
|---|
- Patch
- Available – fixed in 8.1.12, 7.4.24
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 25 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.
What to do
Upgrade symfony/expression-language and symfony/symfony to 8.1.12 or 7.4.24.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Symfonysymfony/expression-language | Affected
| Fixed in
|
| Symfonysymfony/expression-language | Affected
| Fixed in
|
| Symfonysymfony/symfony | Affected
| Fixed in
|
| Symfonysymfony/symfony | Affected
| Fixed in
|
Packagistsymfony/expression-languagepkg:composer/symfony/expression-languageOther threats | Affected
| Fixed in
|
Packagistsymfony/symfonypkg:composer/symfony/symfonyOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade symfony/expression-language to version 7.4.24 or later, or 8.1.12 or later, where the vulnerability is fixed. The fix changes the lexer to use a linear-time search for comment ends and throws a SyntaxError on unclosed comments. No other mitigations are indicated or effective because the vulnerability arises from the lexer implementation itself.
Description
CVE-2026-134791 is a high-severity vulnerability in the Symfony symfony/expression-language component affecting versions >=7.2.0 <7.4.24 and >=8.0.0 <8.1.12. It involves inefficient algorithmic complexity in the lexer when processing unclosed comment blocks in expressions, causing excessive processing time. The issue is fixed in versions 7.4.24 and 8.1.12 by changing the lexer to use a linear-time strpos() method and throwing a SyntaxError for unclosed comments.