| Name | CVE-2026-45305 |
| 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, Symfony\Component\Yaml\Parser::cleanup() used regular expressions with overlapping quantifiers for YAML directive, comment, and document marker cleanup, allowing crafted input to make parsing hang for an arbitrarily long time. This issue is fixed in versions 5.4.52, 6.4.40, 7.4.12, and 8.0.12. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DSA-6312-1, DSA-6317-1 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| symfony (PTS) | bullseye | 4.4.19+dfsg-2+deb11u6 | vulnerable |
| bullseye (security) | 4.4.19+dfsg-2+deb11u7 | vulnerable | |
| bookworm, bookworm (security) | 5.4.53+dfsg-0+deb12u1 | fixed | |
| trixie (security), trixie | 6.4.41+dfsg-0+deb13u1 | fixed | |
| forky, sid | 7.4.14+dfsg-1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| symfony | source | bookworm | 5.4.53+dfsg-0+deb12u1 | DSA-6317-1 | ||
| symfony | source | trixie | 6.4.41+dfsg-0+deb13u1 | DSA-6312-1 | ||
| symfony | source | (unstable) | 7.4.12+dfsg-1 |
https://symfony.com/blog/cve-2026-45305-yaml-parser-redos-via-catastrophic-backtracking-in-parser-cleanup-regex