Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-134791
Published:November 25, 2026
Updated:November 29, 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.
Affected Packages
https://github.com/symfony/symfony.git (GITHUB):
Affected version(s) >=v8.2.0-BETA1 <v8.2.0-RC1
Fix Suggestion:
Update to version v8.2.0-RC1
https://github.com/symfony/symfony.git (GITHUB):
Affected version(s) >=v8.0.0-BETA1 <v8.1.12
Fix Suggestion:
Update to version v8.1.12
https://github.com/symfony/symfony.git (GITHUB):
Affected version(s) >=v7.2.0-BETA1 <v7.4.24
Fix Suggestion:
Update to version v7.4.24
symfony/expression-language (PHP):
Affected version(s) >=v8.0.0-BETA1 <v8.1.12
Fix Suggestion:
Update to version v8.1.12
symfony/symfony (PHP):
Affected version(s) >=v8.2.0-BETA1 <v8.2.0-RC1
Fix Suggestion:
Update to version v8.2.0-RC1
symfony/symfony (PHP):
Affected version(s) >=v7.2.0-BETA1 <v7.4.24
Fix Suggestion:
Update to version v7.4.24
symfony/symfony (PHP):
Affected version(s) >=v8.0.0-BETA1 <v8.1.12
Fix Suggestion:
Update to version v8.1.12
symfony/expression-language (PHP):
Affected version(s) =v8.2.0-BETA1 <v8.2.0-RC1
Fix Suggestion:
Update to version v8.2.0-RC1
symfony/expression-language (PHP):
Affected version(s) >=v7.2.0-BETA1 <v7.4.24
Fix Suggestion:
Update to version v7.4.24
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Inefficient Algorithmic Complexity
EPSS
Base Score:
0.64