CVE-2026-45305
Received
Received - Intake
ReDoS in Symfony YAML Parser via Overlapping Quantifiers
Vulnerability report for CVE-2026-45305, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-07-14
Last updated on: 2026-07-14
Assigner: GitHub, Inc.
Description
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 Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| symfony | symfony | to 5.4.52 (exc) |
| symfony | symfony | From 6.0 (inc) to 6.4.40 (exc) |
| symfony | symfony | From 7.0 (inc) to 7.4.12 (exc) |
| symfony | symfony | From 8.0 (inc) to 8.0.12 (exc) |
| symfony | yaml | to 5.4.52 (exc) |
| symfony | yaml | From 6.0 (inc) to 6.4.40 (exc) |
| symfony | yaml | From 7.0 (inc) to 7.4.12 (exc) |
| symfony | yaml | From 8.0 (inc) to 8.0.12 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-1333 | The product uses a regular expression with an inefficient, possibly exponential worst-case computational complexity that consumes excessive CPU cycles. |