CVE-2026-133760Nested Short Ternaries Make the Nesting Check of the Expression Parser Exponential,…
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.
What to do
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | symfony | Under investigation |
What the vendor says
As published in the CVE record by Symfony, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- symfony/expression-language: affected: 5.4.54 to before 5.4.57, 6.4.48 to before 6.4.51, 7.4.21 to before 7.4.24, 8.1.9 to before 8.1.12; fixed in
5.4.57,6.4.51,7.4.24,8.1.12 - symfony/symfony: affected: 5.4.54 to before 5.4.57, 6.4.48 to before 6.4.51, 7.4.21 to before 7.4.24, 8.1.9 to before 8.1.12; fixed in
5.4.57,6.4.51,7.4.24,8.1.12
Vendor advisories:
- https://symfony.com/cve-2026-133760 (vendor-advisory)
- https://github.com/symfony/symfony/security/advisories/GHSA-fvvg-g68p-p6q9 (vendor-advisory)
- https://github.com/symfony/symfony/commit/58e9014c1fd91438e29b92dd67ecf1725faac29b (patch)
References
- https://symfony.com/cve-2026-133760
- https://github.com/symfony/symfony/security/advisories/GHSA-fvvg-g68p-p6q9
- https://github.com/symfony/symfony/commit/58e9014c1fd91438e29b92dd67ecf1725faac29b
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.