Summary
CVE-2026-109449 is a denial-of-service vulnerability (CWE-674, uncontrolled recursion) in the Symfony ExpressionLanguage component (symfony/expression-language). The parser builds its node tree with no depth limit, so a deeply nested expression can crash the PHP process. It is rated High (CVSS 8.7) and can be exploited over the network without authentication.
Technical details
- Root cause: the ExpressionLanguage parser has no bound on node-tree depth. An expression with tens of thousands of nested unary operators, array literals, binary operators or property accesses crashes the PHP process while the tree is being freed.
- Trigger conditions: the application parses or lints an expression supplied by an untrusted party. This includes applications using the
#[Assert\ExpressionSyntax]validator, which passes the validated value toExpressionLanguage::lint(). - Attack vector: network. No privileges or user interaction are required. A single request carrying a deeply nested expression can be enough.
- Impact: availability only. The PHP process crashes.
- The first fix (6.4.45, 7.4.18, 8.1.6) was incomplete. It missed the levels that a chain of binary operators or property accesses adds above its first operand. The later releases add a check on the parsed node-tree depth. Systems on those earlier patch releases should still upgrade.
Affected software
symfony/expression-language5.4.x up to and including 5.4.53symfony/expression-language6.x up to and including 6.4.47symfony/expression-language7.x up to and including 7.4.20symfony/expression-language8.x up to and including 8.1.8
Severity
CVSS v4.0 base score 8.7 (High), vector 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. The CVE record lists a CVSS v4.0 score. No v3.1 vector was found.
Mitigation and recommended actions
- Immediate: upgrade
symfony/expression-language(or the Symfony release that includes it) to 5.4.54, 6.4.48, 7.4.21 or 8.1.9, depending on your release line. The patched parser raises aSyntaxErroronce nesting exceeds 256 levels, and callers already handle that as an invalid expression. - If you cannot patch immediately: don’t pass untrusted input to the ExpressionLanguage parser,
lint()or#[Assert\ExpressionSyntax]. Where that isn’t possible, limit request body and field sizes at the web server or WAF.

