Home / Symfony / symfony/expression-language / CVE-2026-134791
CVE-2026-134791: is it exploited, and which versions of symfony/expression-language are affected and fixed?
CVE-2026-134791 is a denial of service through slow algorithm vulnerability in symfony/expression-language. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 19:09 UTC). Affected: symfony/expression-language from 7.2.0 before 7.4.24, symfony/expression-language from 8.0.0 before 8.1.12, symfony/symfony from 7.2.0 before 7.4.24 and 1 more (CVE record by Symfony). Fixed in 7.4.24 and 8.1.12 (CVE record by Symfony). Severity: High (8.7, CVSS 4.0, from Symfony).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 19:09 UTC, CVE record November 25, 2026, 20:01 UTC and NVD November 30, 2026, 16:09 UTC.
What is CVE-2026-134791?
Unclosed Comments Make the Lexer of ExpressionLanguage Quadratic, Letting Untrusted Expressions Hold a Process
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.
From the CVE record by Symfony, last updated November 25, 2026, 19:59 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Symfony | symfony/expression-language | from 7.2.0 before 7.4.24 from 8.0.0 before 8.1.12 | 7.4.24, 8.1.12 |
| Symfony | symfony/symfony | from 7.2.0 before 7.4.24 from 8.0.0 before 8.1.12 | 7.4.24, 8.1.12 |
As the CVE record by Symfony states it, last updated November 25, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-134791?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.7 | CVSS 4.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 | Symfony |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-134791 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, November 25, 2026)
- EPSS
- 0.64% probability of exploitation activity in the next 30 days, percentile 52.2 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-407 Inefficient Algorithmic Complexity
Where are the vendor advisories and references?
- CVE-2026-134791 vendor-advisory
- GHSA-5vf6-gchv-cmcr vendor-advisory
- https://github.com/symfony/symfony/commit/e098ffa5936c7c238b9c1a9d5cb82def4573de4f patch
Who found and reported it?
- Nicolas Grekas (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- November 22, 2026
- Published
- November 25, 2026, 10:00 UTC
- CVE record updated
- November 25, 2026, 19:59 UTC by Symfony
- NVD
- Awaiting Analysis, last modified November 30, 2026, 15:29 UTC
- Last checked
- CVE list November 25, 2026, 20:01 UTC; NVD November 30, 2026, 16:09 UTC; KEV December 3, 2026, 19:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect symfony/expression-language?
- Nov 25, 2026CVE-2026-133760 symfony/expression-language: denial of service through slow algorithm
Every CVE in symfony/expression-language
Questions about CVE-2026-134791
Is CVE-2026-134791 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 19:09 UTC. FIRST's EPSS gives it a 0.64% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of symfony/expression-language are affected by CVE-2026-134791?
symfony/expression-language from 7.2.0 before 7.4.24, symfony/expression-language from 8.0.0 before 8.1.12, symfony/symfony from 7.2.0 before 7.4.24 and symfony/symfony from 8.0.0 before 8.1.12, per the CVE record by Symfony. The tables above give every range the sources list.
Which version fixes CVE-2026-134791?
7.4.24 and 8.1.12, per the CVE record by Symfony. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-134791?
High (8.7, CVSS 4.0, from Symfony). The severity table above shows each score with its source.
Where is the official record of CVE-2026-134791?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.