XML Entity Expansion in Symfony - CVE-2026-45304

 

XML Entity Expansion in Symfony - CVE-2026-45304

Published: May 21, 2026


Vulnerability identifier: #VU132060
CSH Severity: Medium
CVSS v4.0: 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/E:U/U:Green
CVE-ID: CVE-2026-45304
CWE-ID: CWE-776
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: SensioLabs
Affected software:
Symfony

Detailed vulnerability description

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.


How to mitigate CVE-2026-45304

Install security update from vendor's website.

Sources