{"id":"CVE-2026-45304","published":"2026-07-14T18:48:49Z","modified":"2026-07-14T19:13:39Z","title":"Symfony: YAML Parser Exponential Memory Allocation via Recursive Collection-Alias Expansion (\"Billion Laughs\")","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, Symfony\\Component\\Yaml\\Parser resolved YAML collection aliases recursively, allowing a small untrusted YAML input to expand into a multi-gigabyte structure and exhaust memory. 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.7,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00684,"percentile":0.53495,"provenance":"source"},"cwes":[{"id":"CWE-776","name":"Improper Restriction of Recursive Entity References in DTDs"}],"references":[{"url":"https://github.com/symfony/symfony/security/advisories/GHSA-4qpc-3hr4-r2p4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/symfony/symfony/commit/e77391b2e4f18821198f010d573674c8ed4a970a","tags":["x_refsource_MISC"]},{"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.8,"factors":[{"name":"EPSS percentile","points":10.7},{"name":"CVSS severity","points":6.09}]},"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"]},{"vendor":"symfony","product":"yaml","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":"yes","technicalImpact":"partial","timestamp":"2026-07-14T19:13:27.727393Z","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-4qpc-3hr4-r2p4"],"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-4qpc-3hr4-r2p4"],"provenance":"source"}],"summary":{"text":"The Symfony YAML component's Parser (Symfony\\Component\\Yaml\\Parser) in the symfony framework resolves YAML collection aliases recursively, so a small, untrusted YAML document can expand into a multi-gigabyte structure. An attacker who can supply YAML input that the application parses, over the network and without authentication or user interaction, can exhaust the server's memory and cause denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:50:13Z"},"euvd":{"id":"EUVD-2026-44358","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-symfony-cve-2013-1348","parents":[{"from":"CVE-2013-1348","to":"CVE-2026-45304","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/Symfony/Component/Yaml/Yaml.php"],"commits":["https://github.com/symfony/symfony/commit/ac756bf39e646b4e130fad058d10a0228dbd9779","https://github.com/symfony/symfony/commit/e77391b2e4f18821198f010d573674c8ed4a970a"],"basis":"shared function","functions":["Yaml"]},{"kind":"similar","provenance":"machine","score":0.36,"basis":"same package + description similarity"}]},{"from":"CVE-2013-1397","to":"CVE-2026-45304","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/Symfony/Component/Yaml/Inline.php","src/Symfony/Component/Yaml/Parser.php","src/Symfony/Component/Yaml/Yaml.php"],"commits":["https://github.com/symfony/symfony/commit/ba6e3159c0eeb3b6e21db32fce8fa2535cb3aa77","https://github.com/symfony/symfony/commit/e77391b2e4f18821198f010d573674c8ed4a970a"],"basis":"shared function","functions":["Yaml","evaluateScalar","parse","parseValue"]},{"kind":"similar","provenance":"machine","score":0.39,"basis":"same package + description similarity"}]}],"children":[{"from":"CVE-2026-45304","to":"CVE-2026-109413","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:symfony/yaml","fromFixed":"5.4.52","toFixed":"5.4.54","daysApart":93},{"kind":"version-step","provenance":"source","package":"Packagist:symfony/yaml","fromFixed":"6.4.40","toFixed":"6.4.45","daysApart":93},{"kind":"same-code","provenance":"machine","files":["src/Symfony/Component/Yaml/Inline.php","src/Symfony/Component/Yaml/Parser.php"],"commits":["https://github.com/symfony/symfony/commit/116287c3b5bc057e7a0420d2e52d384e14ea9417","https://github.com/symfony/symfony/commit/2a8bf9c58d862b0c76a35ce288d1ba6a27223aad","https://github.com/symfony/symfony/commit/e77391b2e4f18821198f010d573674c8ed4a970a"],"basis":"shared function","functions":["doParse"]}]}],"packageHistory":[{"cve":"CVE-2013-1348","published":"2014-06-02","fixed":"2.0.22","kev":false},{"cve":"CVE-2013-1397","published":"2014-06-02","fixed":"2.2.0-BETA2","kev":false},{"cve":"CVE-2026-45133","published":"2026-07-14","fixed":"8.0.12","kev":false},{"cve":"CVE-2026-45304","published":"2026-07-14","fixed":"8.0.12","kev":false},{"cve":"CVE-2026-45305","published":"2026-07-14","fixed":"8.0.12","kev":false},{"cve":"CVE-2026-109413","published":"2026-10-15","fixed":"8.1.6","kev":false}],"package":"Packagist:symfony/yaml"}}