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 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.
Published: 2026-07-14
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Symfony is a PHP framework and a set of reusable PHP components. Prior to versions 5.4.52, 6.4.40, 7.4.12, and 8.0.12, the 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 is an instance of improper handling of recursive data structures (CWE-776) that results in a denial of service by exhausting system memory.

Affected Systems

Symfony Symfony, the Symfony YAML component, and applications built with these components are affected. Versions prior to 5.4.52, 6.4.40, 7.4.12, and 8.0.12 are vulnerable. Any PHP application using Symfony older than these releases and that parses YAML input from external sources is at risk.

Risk and Exploitability

The CVSS score of 8.7 indicates high severity, yet the EPSS score is below 1% and the vulnerability is not listed in CISA KEV, suggesting a low probability of exploitation at this time. Attackers can deliver a malicious YAML payload through any interface that accepts YAML data. Based on the description, it is inferred that a remote attacker could exploit the vulnerability by feeding the payload to the parser, while a local attacker could trigger the denial of service by executing code that parses malicious YAML. The impact is limited to memory exhaustion and service disruption; no confidentiality or integrity violation is reported.

Generated by OpenCVE AI on August 1, 2026 at 09:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Symfony to 5.4.52, 6.4.40, 7.4.12, or 8.0.12 or newer, where the recursive alias bug is fixed.
  • If patching is not immediately possible, disable or restrict parsing of untrusted YAML data, or reconfigure the Yaml component to limit recursive alias handling if such an option exists.
  • Configure PHP memory limits appropriately and monitor application memory usage to detect and respond to potential out-of-memory conditions.

Generated by OpenCVE AI on August 1, 2026 at 09:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DSA Debian DSA DSA-6312-1 symfony security update
Debian DSA Debian DSA DSA-6317-1 symfony security update
Github GHSA Github GHSA GHSA-4qpc-3hr4-r2p4 Symfony's YAML Parser Vulnerable to Exponential Memory Allocation via Recursive Collection-Alias Expansion ("Billion Laughs")
History

Mon, 27 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
First Time appeared Symfony
Symfony symfony
Symfony yaml
Vendors & Products Symfony
Symfony symfony
Symfony yaml

Tue, 14 Jul 2026 20:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 14 Jul 2026 19:00:00 +0000

Type Values Removed Values Added
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 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.
Title Symfony: YAML Parser Exponential Memory Allocation via Recursive Collection-Alias Expansion ("Billion Laughs")
Weaknesses CWE-776
References
Metrics cvssV4_0

{'score': 8.7, '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-14T19:13:39.323Z

Reserved: 2026-05-11T20:14:43.202Z

Link: CVE-2026-45304

cve-icon Vulnrichment

Updated: 2026-07-14T19:13:34.393Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-01T09:30:03Z

Weaknesses
  • CWE-776

    Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')