CVE-2026-133760
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
Debian Mixed 4 releases
| Version | Package | Status | Fixed in |
|---|---|---|---|
| trixie | symfony |
Fixed | 6.4.51+dfsg-0+deb13u1 |
| sid | symfony |
Fixed | 7.4.24+dfsg-1 |
| forky | symfony |
Affected | — |
| bookworm | symfony |
Affected | — |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Packagist | symfony/symfony | >=5.4.54,<5.4.57|>=6.4.48,<6.4.51|>=7.4.21,<7.4.24|>=8.1.9,<8.1.12 | |
| Packagist | symfony/expression-language | >=5.4.54,<5.4.57|>=6.4.48,<6.4.51|>=7.4.21,<7.4.24|>=8.1.9,<8.1.12 | |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| symfony | symfony_expression-language | {"startIncluding":"5.4.54","endExcluding":"5.4.57"} | 5.4.57 |
| symfony | symfony_expression-language | {"startIncluding":"6.4.48","endExcluding":"6.4.51"} | 6.4.51 |
| symfony | symfony_expression-language | {"startIncluding":"7.4.21","endExcluding":"7.4.24"} | 7.4.24 |
| symfony | symfony_expression-language | {"startIncluding":"8.1.9","endExcluding":"8.1.12"} | 8.1.12 |
| symfony | symfony_symfony | {"startIncluding":"5.4.54","endExcluding":"5.4.57"} | 5.4.57 |
| symfony | symfony_symfony | {"startIncluding":"6.4.48","endExcluding":"6.4.51"} | 6.4.51 |
| symfony | symfony_symfony | {"startIncluding":"7.4.21","endExcluding":"7.4.24"} | 7.4.24 |
| symfony | symfony_symfony | {"startIncluding":"8.1.9","endExcluding":"8.1.12"} | 8.1.12 |
References
CWEs
CWE-407
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.