Search
Find a vulnerability
Search criteria
4 vulnerabilities found for symfony/expression-language by Symfony
CVE-2026-134791 (GCVE-0-2026-134791)
Vulnerability from nvd – Published: 2026-11-25 10:00 – Updated: 2026-11-25 10:00
VLAI
EPSS
VEX
Title
Unclosed Comments Make the Lexer of ExpressionLanguage Quadratic, Letting Untrusted Expressions Hold a Process
Summary
Since Symfony 7.2, expressions can contain comments. The lexer used a regular expression to find the end of a comment. When a /* was never closed, this regular expression scanned the rest of the expression, and the lexer then went on with the next character. So each /* scanned the rest of the expression again. Linting 192 KB of /* took 9 to 11 seconds, and 96 KB took 34 seconds without PCRE JIT.
The lexer runs before the parser and its nesting limit. Any code that lints or parses untrusted expressions is affected, including the ExpressionSyntax validation constraint. A Length constraint on the same value doesn't help, since the validator runs both constraints.
The lexer now uses strpos() to find the end of a comment, and a comment that is never closed throws a SyntaxError. Such expressions were already invalid. Lexing takes linear time again.
Severity
CWE
- CWE-407 - Inefficient Algorithmic Complexity
References
3 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-134791 | vendor-advisory |
| https://github.com/symfony/symfony/security/advis… | vendor-advisory |
| https://github.com/symfony/symfony/commit/e098ffa… | patch |
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Symfony | symfony/expression-language |
Affected:
7.2.0 , < 7.4.24
(semver)
Affected: 8.0.0 , < 8.1.12 (semver) |
|
| Symfony | symfony/symfony |
Affected:
7.2.0 , < 7.4.24
(semver)
Affected: 8.0.0 , < 8.1.12 (semver) |
Date Public
2026-11-25 09:36
{
"containers": {
"cna": {
"affected": [
{
"collectionURL": "https://packagist.org",
"defaultStatus": "unaffected",
"packageName": "symfony/expression-language",
"product": "symfony/expression-language",
"repo": "https://github.com/symfony/symfony",
"vendor": "Symfony",
"versions": [
{
"lessThan": "7.4.24",
"status": "affected",
"version": "7.2.0",
"versionType": "semver"
},
{
"lessThan": "8.1.12",
"status": "affected",
"version": "8.0.0",
"versionType": "semver"
}
]
},
{
"collectionURL": "https://packagist.org",
"defaultStatus": "unaffected",
"packageName": "symfony/symfony",
"product": "symfony/symfony",
"repo": "https://github.com/symfony/symfony",
"vendor": "Symfony",
"versions": [
{
"lessThan": "7.4.24",
"status": "affected",
"version": "7.2.0",
"versionType": "semver"
},
{
"lessThan": "8.1.12",
"status": "affected",
"version": "8.0.0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Nicolas Grekas"
}
],
"datePublic": "2026-11-25T09:36:49.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/markdown",
"value": "Since Symfony 7.2, expressions can contain comments. The lexer used a regular expression to find the end of a comment. When a `/*` was never closed, this regular expression scanned the rest of the expression, and the lexer then went on with the next character. So each `/*` scanned the rest of the expression again. Linting 192 KB of `/* ` took 9 to 11 seconds, and 96 KB took 34 seconds without PCRE JIT.\n\nThe lexer runs before the parser and its nesting limit. Any code that lints or parses untrusted expressions is affected, including the `ExpressionSyntax` validation constraint. A `Length` constraint on the same value doesn\u0027t help, since the validator runs both constraints.\n\nThe lexer now uses `strpos()` to find the end of a comment, and a comment that is never closed throws a `SyntaxError`. Such expressions were already invalid. Lexing takes linear time again."
}
],
"value": "Since Symfony 7.2, expressions can contain comments. The lexer used a regular expression to find the end of a comment. When a /* was never closed, this regular expression scanned the rest of the expression, and the lexer then went on with the next character. So each /* scanned the rest of the expression again. Linting 192 KB of /* took 9 to 11 seconds, and 96 KB took 34 seconds without PCRE JIT.\n\nThe lexer runs before the parser and its nesting limit. Any code that lints or parses untrusted expressions is affected, including the ExpressionSyntax validation constraint. A Length constraint on the same value doesn\u0027t help, since the validator runs both constraints.\n\nThe lexer now uses strpos() to find the end of a comment, and a comment that is never closed throws a SyntaxError. Such expressions were already invalid. Lexing takes linear time again."
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 8.7,
"baseSeverity": "HIGH",
"vectorString": "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",
"version": "4.0"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-407",
"description": "CWE-407 Inefficient Algorithmic Complexity",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-25T10:00:22.747Z",
"orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"shortName": "Symfony"
},
"references": [
{
"name": "CVE-2026-134791",
"tags": [
"vendor-advisory"
],
"url": "https://symfony.com/cve-2026-134791"
},
{
"name": "GHSA-5vf6-gchv-cmcr",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/symfony/symfony/security/advisories/GHSA-5vf6-gchv-cmcr"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/symfony/commit/e098ffa5936c7c238b9c1a9d5cb82def4573de4f"
}
],
"source": {
"advisory": "GHSA-5vf6-gchv-cmcr",
"discovery": "UNKNOWN"
},
"title": "Unclosed Comments Make the Lexer of ExpressionLanguage Quadratic, Letting Untrusted Expressions Hold a Process",
"x_generator": {
"engine": "symfony/ghsa-to-cve"
}
}
},
"cveMetadata": {
"assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"assignerShortName": "Symfony",
"cveId": "CVE-2026-134791",
"datePublished": "2026-11-25T10:00:22.747Z",
"dateReserved": "2026-11-22T17:09:05.968Z",
"dateUpdated": "2026-11-25T10:00:22.747Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-133760 (GCVE-0-2026-133760)
Vulnerability from nvd – Published: 2026-11-25 10:00 – Updated: 2026-11-25 10:00
VLAI
EPSS
VEX
Title
Nested Short Ternaries Make the Nesting Check of the Expression Parser Exponential, Letting Untrusted Expressions Hang It
Summary
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.
Severity
CWE
- CWE-407 - Inefficient Algorithmic Complexity
References
3 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-133760 | vendor-advisory |
| https://github.com/symfony/symfony/security/advis… | vendor-advisory |
| https://github.com/symfony/symfony/commit/58e9014… | patch |
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Symfony | symfony/expression-language |
Affected:
5.4.54 , < 5.4.57
(semver)
Affected: 6.4.48 , < 6.4.51 (semver) Affected: 7.4.21 , < 7.4.24 (semver) Affected: 8.1.9 , < 8.1.12 (semver) |
|
| Symfony | symfony/symfony |
Affected:
5.4.54 , < 5.4.57
(semver)
Affected: 6.4.48 , < 6.4.51 (semver) Affected: 7.4.21 , < 7.4.24 (semver) Affected: 8.1.9 , < 8.1.12 (semver) |
Date Public
2026-11-25 09:36
{
"containers": {
"cna": {
"affected": [
{
"collectionURL": "https://packagist.org",
"defaultStatus": "unaffected",
"packageName": "symfony/expression-language",
"product": "symfony/expression-language",
"repo": "https://github.com/symfony/symfony",
"vendor": "Symfony",
"versions": [
{
"lessThan": "5.4.57",
"status": "affected",
"version": "5.4.54",
"versionType": "semver"
},
{
"lessThan": "6.4.51",
"status": "affected",
"version": "6.4.48",
"versionType": "semver"
},
{
"lessThan": "7.4.24",
"status": "affected",
"version": "7.4.21",
"versionType": "semver"
},
{
"lessThan": "8.1.12",
"status": "affected",
"version": "8.1.9",
"versionType": "semver"
}
]
},
{
"collectionURL": "https://packagist.org",
"defaultStatus": "unaffected",
"packageName": "symfony/symfony",
"product": "symfony/symfony",
"repo": "https://github.com/symfony/symfony",
"vendor": "Symfony",
"versions": [
{
"lessThan": "5.4.57",
"status": "affected",
"version": "5.4.54",
"versionType": "semver"
},
{
"lessThan": "6.4.51",
"status": "affected",
"version": "6.4.48",
"versionType": "semver"
},
{
"lessThan": "7.4.24",
"status": "affected",
"version": "7.4.21",
"versionType": "semver"
},
{
"lessThan": "8.1.12",
"status": "affected",
"version": "8.1.9",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Jack Worman"
},
{
"lang": "en",
"type": "remediation developer",
"value": "Nicolas Grekas"
}
],
"datePublic": "2026-11-25T09:36:37.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/markdown",
"value": "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.\n\nThe 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.\n\nThe 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."
}
],
"value": "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.\n\nThe 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.\n\nThe 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."
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 8.7,
"baseSeverity": "HIGH",
"vectorString": "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",
"version": "4.0"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-407",
"description": "CWE-407 Inefficient Algorithmic Complexity",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-25T10:00:19.208Z",
"orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"shortName": "Symfony"
},
"references": [
{
"name": "CVE-2026-133760",
"tags": [
"vendor-advisory"
],
"url": "https://symfony.com/cve-2026-133760"
},
{
"name": "GHSA-fvvg-g68p-p6q9",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/symfony/symfony/security/advisories/GHSA-fvvg-g68p-p6q9"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/symfony/commit/58e9014c1fd91438e29b92dd67ecf1725faac29b"
}
],
"source": {
"advisory": "GHSA-fvvg-g68p-p6q9",
"discovery": "UNKNOWN"
},
"title": "Nested Short Ternaries Make the Nesting Check of the Expression Parser Exponential, Letting Untrusted Expressions Hang It",
"x_generator": {
"engine": "symfony/ghsa-to-cve"
}
}
},
"cveMetadata": {
"assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"assignerShortName": "Symfony",
"cveId": "CVE-2026-133760",
"datePublished": "2026-11-25T10:00:19.208Z",
"dateReserved": "2026-11-20T14:01:43.158Z",
"dateUpdated": "2026-11-25T10:00:19.208Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-134791 (GCVE-0-2026-134791)
Vulnerability from cvelistv5 – Published: 2026-11-25 10:00 – Updated: 2026-11-25 10:00
VLAI
EPSS
VEX
Title
Unclosed Comments Make the Lexer of ExpressionLanguage Quadratic, Letting Untrusted Expressions Hold a Process
Summary
Since Symfony 7.2, expressions can contain comments. The lexer used a regular expression to find the end of a comment. When a /* was never closed, this regular expression scanned the rest of the expression, and the lexer then went on with the next character. So each /* scanned the rest of the expression again. Linting 192 KB of /* took 9 to 11 seconds, and 96 KB took 34 seconds without PCRE JIT.
The lexer runs before the parser and its nesting limit. Any code that lints or parses untrusted expressions is affected, including the ExpressionSyntax validation constraint. A Length constraint on the same value doesn't help, since the validator runs both constraints.
The lexer now uses strpos() to find the end of a comment, and a comment that is never closed throws a SyntaxError. Such expressions were already invalid. Lexing takes linear time again.
Severity
CWE
- CWE-407 - Inefficient Algorithmic Complexity
References
3 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-134791 | vendor-advisory |
| https://github.com/symfony/symfony/security/advis… | vendor-advisory |
| https://github.com/symfony/symfony/commit/e098ffa… | patch |
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Symfony | symfony/expression-language |
Affected:
7.2.0 , < 7.4.24
(semver)
Affected: 8.0.0 , < 8.1.12 (semver) |
|
| Symfony | symfony/symfony |
Affected:
7.2.0 , < 7.4.24
(semver)
Affected: 8.0.0 , < 8.1.12 (semver) |
Date Public
2026-11-25 09:36
{
"containers": {
"cna": {
"affected": [
{
"collectionURL": "https://packagist.org",
"defaultStatus": "unaffected",
"packageName": "symfony/expression-language",
"product": "symfony/expression-language",
"repo": "https://github.com/symfony/symfony",
"vendor": "Symfony",
"versions": [
{
"lessThan": "7.4.24",
"status": "affected",
"version": "7.2.0",
"versionType": "semver"
},
{
"lessThan": "8.1.12",
"status": "affected",
"version": "8.0.0",
"versionType": "semver"
}
]
},
{
"collectionURL": "https://packagist.org",
"defaultStatus": "unaffected",
"packageName": "symfony/symfony",
"product": "symfony/symfony",
"repo": "https://github.com/symfony/symfony",
"vendor": "Symfony",
"versions": [
{
"lessThan": "7.4.24",
"status": "affected",
"version": "7.2.0",
"versionType": "semver"
},
{
"lessThan": "8.1.12",
"status": "affected",
"version": "8.0.0",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Nicolas Grekas"
}
],
"datePublic": "2026-11-25T09:36:49.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/markdown",
"value": "Since Symfony 7.2, expressions can contain comments. The lexer used a regular expression to find the end of a comment. When a `/*` was never closed, this regular expression scanned the rest of the expression, and the lexer then went on with the next character. So each `/*` scanned the rest of the expression again. Linting 192 KB of `/* ` took 9 to 11 seconds, and 96 KB took 34 seconds without PCRE JIT.\n\nThe lexer runs before the parser and its nesting limit. Any code that lints or parses untrusted expressions is affected, including the `ExpressionSyntax` validation constraint. A `Length` constraint on the same value doesn\u0027t help, since the validator runs both constraints.\n\nThe lexer now uses `strpos()` to find the end of a comment, and a comment that is never closed throws a `SyntaxError`. Such expressions were already invalid. Lexing takes linear time again."
}
],
"value": "Since Symfony 7.2, expressions can contain comments. The lexer used a regular expression to find the end of a comment. When a /* was never closed, this regular expression scanned the rest of the expression, and the lexer then went on with the next character. So each /* scanned the rest of the expression again. Linting 192 KB of /* took 9 to 11 seconds, and 96 KB took 34 seconds without PCRE JIT.\n\nThe lexer runs before the parser and its nesting limit. Any code that lints or parses untrusted expressions is affected, including the ExpressionSyntax validation constraint. A Length constraint on the same value doesn\u0027t help, since the validator runs both constraints.\n\nThe lexer now uses strpos() to find the end of a comment, and a comment that is never closed throws a SyntaxError. Such expressions were already invalid. Lexing takes linear time again."
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 8.7,
"baseSeverity": "HIGH",
"vectorString": "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",
"version": "4.0"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-407",
"description": "CWE-407 Inefficient Algorithmic Complexity",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-25T10:00:22.747Z",
"orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"shortName": "Symfony"
},
"references": [
{
"name": "CVE-2026-134791",
"tags": [
"vendor-advisory"
],
"url": "https://symfony.com/cve-2026-134791"
},
{
"name": "GHSA-5vf6-gchv-cmcr",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/symfony/symfony/security/advisories/GHSA-5vf6-gchv-cmcr"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/symfony/commit/e098ffa5936c7c238b9c1a9d5cb82def4573de4f"
}
],
"source": {
"advisory": "GHSA-5vf6-gchv-cmcr",
"discovery": "UNKNOWN"
},
"title": "Unclosed Comments Make the Lexer of ExpressionLanguage Quadratic, Letting Untrusted Expressions Hold a Process",
"x_generator": {
"engine": "symfony/ghsa-to-cve"
}
}
},
"cveMetadata": {
"assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"assignerShortName": "Symfony",
"cveId": "CVE-2026-134791",
"datePublished": "2026-11-25T10:00:22.747Z",
"dateReserved": "2026-11-22T17:09:05.968Z",
"dateUpdated": "2026-11-25T10:00:22.747Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
CVE-2026-133760 (GCVE-0-2026-133760)
Vulnerability from cvelistv5 – Published: 2026-11-25 10:00 – Updated: 2026-11-25 10:00
VLAI
EPSS
VEX
Title
Nested Short Ternaries Make the Nesting Check of the Expression Parser Exponential, Letting Untrusted Expressions Hang It
Summary
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.
Severity
CWE
- CWE-407 - Inefficient Algorithmic Complexity
References
3 references
| URL | Tags |
|---|---|
| https://symfony.com/cve-2026-133760 | vendor-advisory |
| https://github.com/symfony/symfony/security/advis… | vendor-advisory |
| https://github.com/symfony/symfony/commit/58e9014… | patch |
Impacted products
2 products
| Vendor | Product | Version | |
|---|---|---|---|
| Symfony | symfony/expression-language |
Affected:
5.4.54 , < 5.4.57
(semver)
Affected: 6.4.48 , < 6.4.51 (semver) Affected: 7.4.21 , < 7.4.24 (semver) Affected: 8.1.9 , < 8.1.12 (semver) |
|
| Symfony | symfony/symfony |
Affected:
5.4.54 , < 5.4.57
(semver)
Affected: 6.4.48 , < 6.4.51 (semver) Affected: 7.4.21 , < 7.4.24 (semver) Affected: 8.1.9 , < 8.1.12 (semver) |
Date Public
2026-11-25 09:36
{
"containers": {
"cna": {
"affected": [
{
"collectionURL": "https://packagist.org",
"defaultStatus": "unaffected",
"packageName": "symfony/expression-language",
"product": "symfony/expression-language",
"repo": "https://github.com/symfony/symfony",
"vendor": "Symfony",
"versions": [
{
"lessThan": "5.4.57",
"status": "affected",
"version": "5.4.54",
"versionType": "semver"
},
{
"lessThan": "6.4.51",
"status": "affected",
"version": "6.4.48",
"versionType": "semver"
},
{
"lessThan": "7.4.24",
"status": "affected",
"version": "7.4.21",
"versionType": "semver"
},
{
"lessThan": "8.1.12",
"status": "affected",
"version": "8.1.9",
"versionType": "semver"
}
]
},
{
"collectionURL": "https://packagist.org",
"defaultStatus": "unaffected",
"packageName": "symfony/symfony",
"product": "symfony/symfony",
"repo": "https://github.com/symfony/symfony",
"vendor": "Symfony",
"versions": [
{
"lessThan": "5.4.57",
"status": "affected",
"version": "5.4.54",
"versionType": "semver"
},
{
"lessThan": "6.4.51",
"status": "affected",
"version": "6.4.48",
"versionType": "semver"
},
{
"lessThan": "7.4.24",
"status": "affected",
"version": "7.4.21",
"versionType": "semver"
},
{
"lessThan": "8.1.12",
"status": "affected",
"version": "8.1.9",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "finder",
"value": "Jack Worman"
},
{
"lang": "en",
"type": "remediation developer",
"value": "Nicolas Grekas"
}
],
"datePublic": "2026-11-25T09:36:37.000Z",
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/markdown",
"value": "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.\n\nThe 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.\n\nThe 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."
}
],
"value": "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.\n\nThe 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.\n\nThe 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."
}
],
"metrics": [
{
"cvssV4_0": {
"baseScore": 8.7,
"baseSeverity": "HIGH",
"vectorString": "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",
"version": "4.0"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-407",
"description": "CWE-407 Inefficient Algorithmic Complexity",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-11-25T10:00:19.208Z",
"orgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"shortName": "Symfony"
},
"references": [
{
"name": "CVE-2026-133760",
"tags": [
"vendor-advisory"
],
"url": "https://symfony.com/cve-2026-133760"
},
{
"name": "GHSA-fvvg-g68p-p6q9",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/symfony/symfony/security/advisories/GHSA-fvvg-g68p-p6q9"
},
{
"tags": [
"patch"
],
"url": "https://github.com/symfony/symfony/commit/58e9014c1fd91438e29b92dd67ecf1725faac29b"
}
],
"source": {
"advisory": "GHSA-fvvg-g68p-p6q9",
"discovery": "UNKNOWN"
},
"title": "Nested Short Ternaries Make the Nesting Check of the Expression Parser Exponential, Letting Untrusted Expressions Hang It",
"x_generator": {
"engine": "symfony/ghsa-to-cve"
}
}
},
"cveMetadata": {
"assignerOrgId": "b5aa5c7f-767d-4597-9c64-3ac08b8711c6",
"assignerShortName": "Symfony",
"cveId": "CVE-2026-133760",
"datePublished": "2026-11-25T10:00:19.208Z",
"dateReserved": "2026-11-20T14:01:43.158Z",
"dateUpdated": "2026-11-25T10:00:19.208Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}