# CVE-2026-133760: Nested Short Ternaries Make the Nesting Check of the Expression Parser Exponential, Letting Untrusted Expressions Hang It

- Severity: High 8.7 (CVSS:4.0, scored by Symfony) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.64%, higher than 52% of CVEs (2026-12-01)
- Published: 2026-11-25T10:00:19.208Z
- Modified: 2026-11-30T15:29:56.663Z
- Weaknesses: CWE-407
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Symfony

## 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.

(As written by CVE List.)

## Affected

- symfony/expression-language: from 5.4.54 before 5.4.57; from 6.4.48 before 6.4.51; from 7.4.21 before 7.4.24; from 8.1.9 before 8.1.12
- symfony/symfony: from 5.4.54 before 5.4.57; from 6.4.48 before 6.4.51; from 7.4.21 before 7.4.24; from 8.1.9 before 8.1.12

## References

- <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)

## Sources

- CVE List: [CVE-2026-133760](https://www.cve.org/CVERecord?id=CVE-2026-133760), CVE Terms of Use, modified 2026-11-25
- NVD: [CVE-2026-133760](https://nvd.nist.gov/vuln/detail/CVE-2026-133760), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2026-133760 · Whole record: https://cve.day/CVE-2026-133760.json · Rebuilt by cve.day 2026-11-30T15:32:18.347Z
