Symfony: Unbounded Nesting in the Expression Parser Lets Untrusted Expressions Crash the Process
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-109449
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 06:13 UTC · Revision 1
Source evidence
Symfony: Unbounded Nesting in the Expression Parser Lets Untrusted Expressions Crash the Process
core-osv · Original sourcePublished 15 Oct 2026, 15:19 UTC
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.
osv:CVE-2026-109449
Complete source record
{
"id": "2ae583e474b50ed4e3f880b952b338801fc442d032e8c627b351e4b76038c5d3",
"url": "https://osv.dev/vulnerability/CVE-2026-109449",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Symfony: Unbounded Nesting in the Expression Parser Lets Untrusted Expressions Crash the Process",
"summary": "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.",
"evidence": "osv:CVE-2026-109449",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2026-109449",
"aliases": [
"CVE-2026-109449",
"GHSA-7rpj-w9pf-39rr"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/symfony/expression-language",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "f371786ec76ca4bed6a7ec03802ba2525f6714db"
},
{
"introduced": "1df8282c3491c6d22d53eefb39de47f7341463dd"
},
{
"fixed": "4a38ae0e9352b1b6de25dbb428db93f94a3976bb"
},
{
"introduced": "46520d885b340f44a369967835a4bec178d7ab3d"
},
{
"fixed": "51c52817a02119ecd46a3369a2b38fc7f24dbf5e"
},
{
"introduced": "7823bc106004f2ba04a89e3806e6b94d03a25070"
},
{
"fixed": "9c2729bca940d84938dc0b435d037e4844f237c9"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "v5.4.54"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "v6.0.0-BETA1"
},
{
"fixed": "v6.4.48"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "v7.0.0-BETA1"
},
{
"fixed": "v7.4.21"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"introduced": "v8.0.0-BETA1"
},
{
"fixed": "v8.1.9"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
},
{
"repo": "https://github.com/symfony/symfony",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "baea8c8aa15c5f227c0302be27182b0261201978"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "5.4.54"
}
],
"source": "DESCRIPTION"
},
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "5.4.53"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"v8.1.6",
"v7.4.18",
"v6.4.45",
"v5.4.45",
"v8.1.1",
"v7.4.14",
"v6.4.42",
"v8.1.0",
"v8.1.0-BETA3",
"v8.1.0-BETA1",
"v6.4.32",
"v7.4.8",
"v7.4.4",
"v8.0.0-RC1",
"v8.0.0",
"v7.4.0-RC1",
"v7.4.0",
"v6.4.30",
"v8.0.0-BETA1",
"v7.4.0-BETA1",
"v6.4.24",
"v7.3.0-RC1",
"v7.3.0-BETA1",
"v7.3.0",
"v7.2.0-RC1",
"v7.2.0-BETA1",
"v7.2.0",
"v6.4.13",
"v6.4.11",
"v5.4.43",
"v6.4.8",
"v5.4.40",
"v6.4.7",
"v5.4.39",
"v7.1.0-RC1",
"v7.1.0-BETA1",
"v6.4.3",
"v5.4.35",
"v7.0.2",
"v6.4.2",
"v5.4.21",
"v7.0.0-RC1",
"v7.0.0-BETA1",
"v7.0.0",
"v6.4.0-RC1",
"v6.4.0-BETA1",
"v6.4.0",
"v6.3.0-RC1",
"v6.3.0-BETA1",
"v6.3.0",
"v5.4.19",
"v6.2.2",
"v5.4.14",
"v6.2.0-RC1",
"v6.2.0-BETA3",
"v6.2.0",
"v6.2.0-BETA1",
"v6.1.3",
"v5.4.11",
"v6.1.2",
"v5.4.10",
"v6.1.0",
"v5.4.8",
"v6.1.0-RC1",
"v6.1.0-BETA1",
"v5.4.7",
"v5.4.3",
"v6.0.0-RC1",
"v6.0.0",
"v5.4.0-RC1",
"v5.4.0",
"v6.0.0-BETA3",
"v5.4.0-BETA3",
"v6.0.0-BETA1",
"v5.4.0-BETA1",
"v5.3.0-RC1",
"v5.3.0-BETA1",
"v5.2.7",
"v5.2.4",
"v5.2.3",
"v5.2.2",
"v5.2.1",
"v5.2.0-RC2",
"v5.2.0-RC1",
"v5.2.0",
"v5.2.0-BETA3",
"v5.2.0-BETA2",
"v5.2.0-BETA1",
"v5.1.0-RC1",
"v5.1.0-BETA1",
"v5.0.0-RC1",
"v5.0.0-BETA2",
"v5.0.0-BETA1",
"v4.3.0-BETA2",
"v4.3.0-BETA1",
"v4.2.1",
"v4.2.0-RC1",
"v4.2.0-BETA2",
"v4.2.0",
"v4.2.0-BETA1",
"v4.1.0-BETA3",
"v4.1.0-BETA2",
"v4.1.0-BETA1",
"v4.1.0",
"v4.0.1",
"v4.0.0-RC2",
"v4.0.0-RC1",
"v4.0.0-BETA4",
"v4.0.0",
"v4.0.0-BETA3",
"v4.0.0-BETA2",
"v4.0.0-BETA1",
"v3.3.6",
"v3.3.5",
"v3.3.4",
"v3.3.3",
"v3.3.2",
"v3.3.1",
"v3.3.0-RC1",
"v3.3.0-BETA1",
"v3.3.0",
"v3.2.1",
"v3.2.0-RC2",
"v3.2.0-RC1",
"v3.2.0",
"v3.2.0-BETA1",
"v3.1.4",
"v3.1.3",
"v3.1.2",
"v3.1.1",
"v3.1.0-RC1",
"v3.1.0-BETA1",
"v3.1.0",
"v3.0.1",
"v3.0.0-BETA1",
"v3.0.0",
"v2.6.0-BETA2",
"v2.6.0-BETA1",
"v2.5.2",
"v2.5.1",
"v2.5.0-RC1",
"v2.5.0-BETA2",
"v2.5.0",
"v2.5.0-BETA1",
"v2.4.0-RC1",
"v2.4.0-BETA2",
"v2.4.0-BETA1",
"v5.4.53",
"v5.4.52",
"v5.4.51",
"v5.4.50",
"v5.4.49",
"v5.4.48",
"v5.4.47",
"v5.4.46",
"v5.4.44",
"v5.4.42",
"v5.4.41",
"v5.4.38",
"v5.4.37",
"v5.4.36",
"v5.4.34",
"v5.4.33",
"v5.4.32",
"v5.4.31",
"v5.4.30",
"v5.4.29",
"v5.4.28",
"v5.4.27",
"v5.4.26",
"v5.4.25",
"v5.4.24",
"v5.4.23",
"v5.4.22",
"v5.4.20",
"v5.4.18",
"v5.4.17",
"v5.4.16",
"v5.4.15",
"v5.4.13",
"v5.4.12",
"v5.4.9",
"v5.4.6",
"v5.4.5",
"v5.4.4",
"v5.4.2",
"v5.4.1",
"v5.4.0-BETA2",
"v5.3.0-BETA4",
"v5.3.0-BETA3",
"v5.3.0-BETA2",
"v2.3.0-BETA2",
"v2.3.0-BETA1",
"v2.2.0-BETA2",
"v2.2.0-BETA1",
"v2.1.0",
"v2.1.0-RC2",
"v2.1.0-RC1",
"v2.1.0-BETA4",
"v2.1.0-BETA3",
"v2.1.0-BETA2",
"v2.1.0-BETA1",
"v2.0.0",
"v2.0.0-RC6",
"v2.0.0-RC5",
"v2.0.0-RC4",
"v2.0.0-RC3",
"v2.0.0-RC2",
"v2.0.0-RC1",
"v2.0.0BETA5",
"v2.0.0BETA4",
"v2.0.0BETA3",
"v2.0.0BETA2",
"v2.0.0BETA1",
"vPR9",
"vPR8",
"v2.0.0PR8",
"vPR6",
"vPR5",
"vPR4",
"vPR3"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-109449.json"
}
}
],
"modified": "2026-10-28T02:30:42.946590228Z",
"provider": "osv",
"references": [
"https://packagist.org/packages/symfony/expression-language",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/109xxx/CVE-2026-109449.json",
"https://github.com/symfony/symfony/security/advisories/GHSA-7rpj-w9pf-39rr",
"https://nvd.nist.gov/vuln/detail/CVE-2026-109449",
"https://symfony.com/blog/cve-2026-109449-unbounded-nesting-in-the-expression-parser-lets-untrusted-expressions-crash-the-process",
"https://github.com/symfony/symfony/pull/65690",
"https://github.com/symfony/symfony/pull/66720",
"https://github.com/symfony/symfony/pull/66723",
"https://github.com/symfony/expression-language"
],
"provider_metadata": {
"cwe_ids": [
"CWE-674"
],
"cna_assigner": "Checkmarx",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/109xxx/CVE-2026-109449.json"
}
},
"related_cves": [
{
"value": "CVE-2026-109449",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 510995,
"published_at": "2026-10-15T15:19:08.663+00:00"
}