{"id":"CVE-2026-45133","published":"2026-07-14T18:45:03Z","modified":"2026-07-15T13:25:32Z","title":"Symfony: [Yaml] Harden the parser when handling untrusted input","vendor":"symfony","product":"symfony","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0063,"percentile":0.51116,"provenance":"source"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"},{"id":"CWE-776","name":"Improper Restriction of Recursive Entity References in DTDs"},{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-c2p3-7m5p-cv8x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/symfony/symfony/releases/tag/v5.4.52","tags":["x_refsource_MISC"]},{"url":"https://github.com/symfony/symfony/releases/tag/v6.4.40","tags":["x_refsource_MISC"]},{"url":"https://github.com/symfony/symfony/releases/tag/v7.4.12","tags":["x_refsource_MISC"]},{"url":"https://github.com/symfony/symfony/releases/tag/v8.0.12","tags":["x_refsource_MISC"]}],"priority":{"score":16.0,"factors":[{"name":"EPSS percentile","points":10.22},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"symfony","affectedVersions":[{"vendor":"symfony","product":"symfony","versions":["< 5.4.52",">= 6.0.0-BETA1, < 6.4.40",">= 7.0.0-BETA1, < 7.4.12",">= 8.0.0-BETA1, < 8.0.12"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-15T13:25:18.252487Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"symfony/yaml","vulnerableRanges":["<5.4.52",">=6.0.0, <6.4.40",">=7.0.0, <7.4.12",">=8.0.0, <8.0.12"],"patched":["5.4.52","6.4.40","7.4.12","8.0.12"],"from":["GHSA-c2p3-7m5p-cv8x"],"provenance":"source"},{"ecosystem":"Packagist","package":"symfony/symfony","vulnerableRanges":["<5.4.52",">=6.0.0, <6.4.40",">=7.0.0, <7.4.12",">=8.0.0, <8.0.12"],"patched":["5.4.52","6.4.40","7.4.12","8.0.12"],"from":["GHSA-c2p3-7m5p-cv8x"],"provenance":"source"}],"summary":{"text":"The Symfony YAML component (symfony/yaml, in the symfony/symfony framework) lacks a depth limit when parsing deeply nested mappings or sequences, so the block-level parser (Parser::parseBlock()) and the inline parsers (Inline::parseSequence() and Inline::parseMapping()) recurse without bound. An attacker who can send a crafted YAML document to an application that parses attacker-controlled input over the network, with no authentication or user interaction required, can exhaust the PHP stack and crash the worker.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:21:10Z"},"euvd":{"id":"EUVD-2026-44351","exploited":false,"provenance":"source"}}