CVE-2026-133760symfony/expression-language Inefficient Algorithmic Complexity
NVD
Vulnerability Summary
The fix for CVE-2026-109449 made the expression parser check the nesting level of long expressions. This check exists since Symfony 5.4.54, 6.4.48, 7.4.21 and 8.1.9. The parser builds a ?: b with the node of a used twice, and the check walked every path to every node. With nested short ternaries, the number of paths doubles at each level, so an expression of 256 bytes never finished parsing.
The expression needs no variable and no function. Any code that parses or lints untrusted expressions is affected, including the ExpressionSyntax validation constraint. evaluate() and compile() parse the expression first, so they hang too.
The nesting check now skips the nodes it already checked, so it takes linear time again. evaluate(), compile() and the messages of runtime errors now use the node of a once, so a is evaluated once, as in PHP.
The expression needs no variable and no function. Any code that parses or lints untrusted expressions is affected, including the ExpressionSyntax validation constraint. evaluate() and compile() parse the expression first, so they hang too.
The nesting check now skips the nodes it already checked, so it takes linear time again. evaluate(), compile() and the messages of runtime errors now use the node of a once, so a is evaluated once, as in PHP.
CVSS v4.0 Base Metrics — Score 8.7 (HIGH)
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NAttack VectorNetwork
Attack ComplexityLow
Attack RequirementsNone
Privileges RequiredNone
User InteractionNone
Confidentiality (Vulnerable System)None
Integrity (Vulnerable System)None
Availability (Vulnerable System)High
Confidentiality (Subsequent System)None
Integrity (Subsequent System)None
Availability (Subsequent System)None
Affected & Patched Versions
- symfony/expression-language >= 5.4.54 and < 5.4.57
- symfony/expression-language >= 6.4.48 and < 6.4.51
- symfony/expression-language >= 7.4.21 and < 7.4.24
- symfony/expression-language >= 8.1.9 and < 8.1.12
- symfony/symfony >= 5.4.54 and < 5.4.57
- symfony/symfony >= 6.4.48 and < 6.4.51
- symfony/symfony >= 7.4.21 and < 7.4.24
- symfony/symfony >= 8.1.9 and < 8.1.12
- symfony/expression-language 5.4.57
- symfony/expression-language 6.4.51
- symfony/expression-language 7.4.24
- symfony/expression-language 8.1.12
- symfony/symfony 5.4.57
- symfony/symfony 6.4.51
- symfony/symfony 7.4.24
- symfony/symfony 8.1.12
What to do
Plan remediation soon. No exploitation is confirmed yet, but the severity is high.
- Check whether you run symfony/expression-language and which version.
- Update to a patched version listed above, then confirm the new version.
Timeline
- Nov 25, 2026Published
- Nov 25, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new symfony/expression-language CVEsYou are reading CVE-2026-133760. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
Data last checked: Nov 25, 2026 09:41 UTC