Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Sensiolabs | Symfony | < 5.4.52 |
Related Weaknesses (CWE)
References
- https://github.com/symfony/symfony/commit/9749cd43c5e09b3735093623670b21b9d8a056Patch
- https://github.com/symfony/symfony/releases/tag/v5.4.52ProductRelease Notes
- https://github.com/symfony/symfony/releases/tag/v6.4.40ProductRelease Notes
- https://github.com/symfony/symfony/releases/tag/v7.4.12ProductRelease Notes
- https://github.com/symfony/symfony/releases/tag/v8.0.12ProductRelease Notes
- https://github.com/symfony/symfony/security/advisories/GHSA-9frc-8383-795mPatchVendor Advisory
FAQ
What is CVE-2026-45305?
CVE-2026-45305 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 exp...
How severe is CVE-2026-45305?
CVE-2026-45305 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-45305?
Check the references section above for vendor advisories and patch information. Affected products include: Sensiolabs Symfony.