XML Entity Expansion in Symfony - CVE-2026-45304
Published: May 21, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to improper restriction of recursive entity references in Symfony\Component\Yaml\Parser when parsing untrusted YAML containing recursive collection aliases. A remote attacker can supply a specially crafted YAML document to cause a denial of service.
A small input can expand into a multi-gigabyte structure and exhaust memory through exponential alias expansion.
Affected software
Debian Linux
symfony (Debian package)
How to mitigate CVE-2026-45304
symfony (Debian package) - addressed in versions 5.4.53+dfsg-0+deb12u1, 6.4.41+dfsg-0+deb13u1