Vulnerabilities

CVE-2026-45305

High 7.5 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2026-07-14
Last modified
2026-07-15
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.8 % higher than 53 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Yes, see references

Affected products

Vendor Product Versions Status
Sensiolabs Symfony < 5.4.52 Affected
Sensiolabs Symfony ≥ 6.0.0, < 6.4.40 Affected
Sensiolabs Symfony ≥ 7.0.0, < 7.4.12 Affected
Sensiolabs Symfony ≥ 8.0.0, < 8.0.12 Affected
symfony symfony (Packagist) < 5.4.52 Affected
symfony symfony (Packagist) ≥ 6.0.0, < 6.4.40 Affected
symfony symfony (Packagist) ≥ 7.0.0, < 7.4.12 Affected
symfony symfony (Packagist) ≥ 8.0.0, < 8.0.12 Affected
symfony yaml (Packagist) < 5.4.52 Affected
symfony yaml (Packagist) ≥ 6.0.0, < 6.4.40 Affected
symfony yaml (Packagist) ≥ 7.0.0, < 7.4.12 Affected
symfony yaml (Packagist) ≥ 8.0.0, < 8.0.12 Affected

Weakness type

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities