CVE-2026-45133
published high CVSS 4.0 · 8.2Symfony: [Yaml] Harden the parser when handling untrusted input
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| symfony | — | symfony< 5.4.52 · >= 6.0.0-BETA1, < 6.4.40 · >= 7.0.0-BETA1, < 7.4.12 · >= 8.0.0-BETA1, < 8.0.12 | Affected | Not stated | GitHub_M |
| Debian | bookworm | symfony | Advisory build | 5.4.53+dfsg-0+deb12u1 | DSA-6317-1 |
| Debian | trixie | symfony | Advisory build | 6.4.41+dfsg-0+deb13u1 | DSA-6312-1 |
Description
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Prior to 5.4.52, 6.4.40, 7.4.12, and 8.0.12, when the parser is exposed to attacker-controlled input, deeply nested mappings or sequences cause both the block-level (Parser::parseBlock()) and inline (Inline::parseSequence() / Inline::parseMapping()) parsers to recurse without a depth limit. A crafted document exhausts the PHP stack and crashes the worker. This issue is fixed in versions 5.4.52, 6.4.40, 7.4.12, and 8.0.12.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.2 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| symfony | symfony | < 5.4.52 (affected)>= 6.0.0-BETA1, < 6.4.40 (affected)>= 7.0.0-BETA1, < 7.4.12 (affected)>= 8.0.0-BETA1, < 8.0.12 (affected) | GitHub_M · cna |
Weaknesses
3- CWE-674 CWE-674: Uncontrolled Recursion
- CWE-776 CWE-776: Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')
- CWE-1333 CWE-1333: Inefficient Regular Expression Complexity
References
5Provider assertions
2GitHub_M · cna
Symfony: [Yaml] Harden the parser when handling untrusted input
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7d261848d1e90de08c6e48dff7a89ec5e15b7af67a8bea11f805d6ca5f24b5c1
- Ingested
- 23 Sep 2026, 09:15:36 UTC
- Source record
- Official CVE record