CVE-2026-109449
symfony/expression-language: symfony/expression-language: Denial of Service via deeply nested expressions
Overview
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.
Source: OX vulnerability database
Severity
7.5 · HIGH
CVSS 3.1 base score, scored by redhat.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-674
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Composer (PHP) | symfony/expression-language | >=5.4.0, <5.4.54>=7.0.0, <7.1.0>=4.0.0, <5.0.0>=5.1.0, <5.2.0>=6.0.0, <6.1.0+15 more | No fix yet |
| Composer (PHP) | symfony/symfony | >=7.3.0, <7.4.0>=8.1.0, <8.1.9>=4.0.0, <5.0.0>=5.0.0, <5.1.0>=5.3.0, <5.4.0+15 more | No fix yet |
Open a package to see all its vulnerabilities.
Operating systems · 5 fixes
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | symfony | affected |
| 12 | symfony | affected |
| 13 | symfony | 6.4.49+dfsg-0+deb13u1 |
| 14 | symfony | 7.4.21+dfsg-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| symfony | 6.4.49+dfsg-0+deb13u1 |
References
- access.redhat.com https://access.redhat.com/security/cve/CVE-2026-109449
- github.com https://github.com/symfony/symfony/pull/65690
- github.com https://github.com/symfony/symfony/pull/66720
- github.com https://github.com/symfony/symfony/pull/66723
- github.com https://github.com/symfony/symfony/security/advisories/GHSA-7rpj-w9pf-39rr
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2026-109449
- symfony.com https://symfony.com/blog/cve-2026-109449-unbounded-nesting-in-the-expression-parser-lets-untrusted-expressions-crash-the-process
- symfony.com https://symfony.com/cve-2026-109449
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2026-109449
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.