Answer in brief
CVE-2026-134791 records a High severity (CVSS 8.7) vulnerability in Unclosed Comments Make the Lexer of ExpressionLanguage Quadratic, Letting Untrusted Expressions Hold a Process. The current sources do not mark it as known exploited. The current feed maps Symfony/symfony/expression-language (generic), Symfony/symfony/symfony (generic). Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
CVSS is 8.7. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps Symfony/symfony/expression-language (generic), Symfony/symfony/symfony (generic). Check affected ranges and fixed versions before updating.
| Package | Affected range | Fixed version |
|---|---|---|
| Symfony/symfony/expression-languagegeneric | >=7.2.0 <7.4.24 || >=8.0.0 <8.1.12 | 7.4.24, 8.1.12 |
| Symfony/symfony/symfonygeneric | >=7.2.0 <7.4.24 || >=8.0.0 <8.1.12 | 7.4.24, 8.1.12 |
Published upstream
Nov 25, 2026
Evidence: source:cvelist:source_dates:source-dates:recordSource modified
Nov 25, 2026
Evidence: source:cvelist:source_dates:source-dates:recordFirst seen by HOL
Nov 25, 2026
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.
Quoted source text, attributed separately from HOL analysis.