CVE-2026-45305
Symfony: YAML Parser ReDoS via Catastrophic Backtracking in Parser::cleanup() Regex
HIGH 8.7
En bref
- Source
- NVD
- EPSS
- EPSS 0.68 % · centile 52 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- GitHub_M
- Statut NVD
- Analyzed
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.
Faiblesses (CWE)
- CWE-1333 — Complexité inefficace d'expression régulière (ReDoS)
Références
- https://github.com/symfony/symfony/security/advisories/GHSA-9frc-8383-795m
- https://github.com/symfony/symfony/commit/9749cd43c5e09b3735093623670b21b9d8a056cb
- https://github.com/symfony/symfony/releases/tag/v5.4.52
- https://github.com/symfony/symfony/releases/tag/v6.4.40
- https://github.com/symfony/symfony/releases/tag/v7.4.12
- https://github.com/symfony/symfony/releases/tag/v8.0.12
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 4.0 | HIGH 8.7 | 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 | GitHub_M |
| CVSS 4.0 | HIGH 8.7 | 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:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | NVD · security-advisories@github.com (Secondary) |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD · nvd@nist.gov (Primary) |
Avis
- GHSA-9frc-8383-795m — Symfony's YAML Parser has a ReDoS via Catastrophic Backtracking in Parser::cleanup() Regex
Références européennes
- ENISA EUVD · EUVD-2026-44359
- GCVE · GCVE-0-2026-45305
Avis du CERT-FR
- CERTFR-2026-AVI-0617 — Multiples vulnérabilités dans Symfony · cert.ssi.gouv.fr
Configurations affectées (CPE NVD)
cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*< 5.4.52cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*≥ 6.0.0 < 6.4.40cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*≥ 7.0.0 < 7.4.12cpe:2.3:a:sensiolabs:symfony:*:*:*:*:*:*:*:*≥ 8.0.0 < 8.0.12
Produits affectés
| Produit | Versions |
|---|---|
| symfony · symfony | affected < 5.4.52 ; affected >= 6.0.0-BETA1, < 6.4.40 ; affected >= 7.0.0-BETA1, < 7.4.12 ; affected >= 8.0.0-BETA1, < 8.0.12 |
| symfony · yaml | affected < 5.4.52 ; affected >= 6.0.0-BETA1, < 6.4.40 ; affected >= 7.0.0-BETA1, < 7.4.12 ; affected >= 8.0.0-BETA1, < 8.0.12 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |