CVE-2026-109449

Symfony: Unbounded Nesting in the Expression Parser Lets Untrusted Expressions Crash the Process

State
Published
Severity
8.7 High
Published
Oct 15, 2026
Updated
Oct 15, 2026
Reserved
Oct 12, 2026

Read the record on cve.org

Description

In Symfony Expression Language versions prior to 5.4.54, 6.4.48, 7.4.21, and 8.1.9, the parser of the ExpressionLanguage component built its node tree with no bound on its depth. An expression made of tens of thousands of nested unary operators, array literals, binary operators or property accesses crashed the PHP process, while the tree was being freed.

#[Assert\ExpressionSyntax] passes the validated value to ExpressionLanguage::lint(), so an application validating expressions written by its users could be crashed by a single request, and so could any code parsing untrusted expressions.

This issue affects symfony/expression-language through v5.4.53, v6.0.0-BETA1 through v6.4.47, v7.0.0-BETA1 through v7.4.20, and v8.0.0-BETA1 through v8.1.8.

Scores

CVSSScoreVectorSource
4.08.7 HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NCheckmarx

Weaknesses

Affected Products

ProductVersions
symfonysensiolabs
  • before v5.4.54Affected
  • v6.0.0-BETA1 to before v6.4.48Affected
  • v7.0.0-BETA1 to before v7.4.21Affected
  • v8.0.0-BETA1 to before v8.1.9Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.