Advisory record · GHSA-9frc-8383-795m

Symfony's YAML Parser has a ReDoS via Catastrophic Backtracking in Parser::cleanup() Regex

CVSS 8.7 HighEPSS 0.0068 · 53rd percentile

Published by the GitHub Advisory Database at 27 May 2026, 21:34 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
symfony/yamlPackagist<5.4.52 || >=6.0.0, <6.4.40 || >=7.0.0, <7.4.12 || >=8.0.0, <8.0.125.4.52, 6.4.40, 7.4.12, 8.0.12
symfony/symfonyPackagist<5.4.52 || >=6.0.0, <6.4.40 || >=7.0.0, <7.4.12 || >=8.0.0, <8.0.125.4.52, 6.4.40, 7.4.12, 8.0.12
Identifiers
GHSA-9frc-8383-795m · CVE-2026-45305 · PKSA-ft77-7h5f-p3r6 · PKSA-j6yc-z95h-xyjq
Weakness (CWE)
CWE-1333
Published
27 May 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The Symfony YAML component (symfony/yaml and symfony/symfony) is vulnerable in versions before 5.4.52, from 6.0.0 before 6.4.40, from 7.0.0 before 7.4.12, and from 8.0.0 before 8.0.12. The parser's cleanup regexes for the %YAML directive, leading comments and document markers can backtrack catastrophically on crafted input. An attacker who can supply YAML to the parser can make it hang for a long time, causing a denial of service. Upgrade to 5.4.52, 6.4.40, 7.4.12, 8.0.12 or later.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.7 High 4.0 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 CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0068, the 53rd percentile, on 15 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 20 May 2026, 10:21 UTC Published by the maintainers as a GitHub repository advisory
  2. 31 Oct 2026, 13:59 UTC First seen by agentprime
  3. 31 Oct 2026, 13:59 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.