Security mailing lists by PureSourceCode

CVE-2026-133760

HIGH 8.7CVSS 4.0

Nested Short Ternaries Make the Nesting Check of the Expression Parser Exponential, Letting Untrusted Expressions Hang It

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.

Published
25 Nov 2026
Last modified
30 Nov 2026
Assigned by
b5aa5c7f-767d-4597-9c64-3ac08b8711c6
NVD status
Awaiting Analysis
Weakness
CWE-407
Sources
NVDJSONCVE ListJSON

Scores

SourceScored byVersionScoreVector / decision
NVD b5aa5c7f-767d-4597-9c64-3ac08b8711c6 (Secondary) CVSS 4.0 HIGH 8.7 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVE List Symfony CVSS 4.0 HIGH 8.7 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
CVE List CISA-ADP SSVC Exploitation: none; Automatable: yes; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List https://packagist.org 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 5.4.57, 6.4.51, 7.4.24, 8.1.12
CVE List https://packagist.org 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 5.4.57, 6.4.51, 7.4.24, 8.1.12

References

History

  • 30 Nov 2026 15:31 UTC · NVD: status Received → Awaiting Analysis
  • 25 Nov 2026 20:55 UTC · CVE List: first stored (published 25 Nov 2026)
  • 25 Nov 2026 20:30 UTC · NVD: updated (other details)
  • 25 Nov 2026 20:11 UTC · NVD: first stored (published 25 Nov 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.