CVE-2026-133760
Received
Received - Intake
Expression Parser DoS via Nested Ternary in Symfony
Vulnerability report for CVE-2026-133760, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-11-25
Last updated on: 2026-11-25
Assigner: b5aa5c7f-767d-4597-9c64-3ac08b8711c6
Description
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| Symfony | symfony/expression-language | From 5.4.54 (inc) to 5.4.57 (exc) |
| Symfony | symfony/expression-language | From 6.4.48 (inc) to 6.4.51 (exc) |
| Symfony | symfony/expression-language | From 7.4.21 (inc) to 7.4.24 (exc) |
| Symfony | symfony/expression-language | From 8.1.9 (inc) to 8.1.12 (exc) |
| Symfony | symfony/symfony | From 5.4.54 (inc) to 5.4.57 (exc) |
| Symfony | symfony/symfony | From 6.4.48 (inc) to 6.4.51 (exc) |
| Symfony | symfony/symfony | From 7.4.21 (inc) to 7.4.24 (exc) |
| Symfony | symfony/symfony | From 8.1.9 (inc) to 8.1.12 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-407 | An algorithm in a product has an inefficient worst-case computational complexity that may be detrimental to system performance and can be triggered by an attacker, typically using crafted manipulations that ensure that the worst case is being reached. |