Loading advisory.
Loading advisory.
Symfony hardened the parser when handling untrusted input
Symfony\Component\Yaml\Parser is the entry point for parsing YAML strings into PHP values via Yaml::parse().
Published 2026-05-27 21:33 UTC · Modified 2026-09-10 03:50 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| symfony/yaml | Packagist | < 5.4.52 >= 6.0.0, < 6.4.40 >= 7.0.0, < 7.4.12 >= 8.0.0, < 8.0.12 versions 2.0.4, 2.0.5, 2.0.6, 2.0.7, v2.0.10, v2.0.12, v2.0.13, v2.0.14, v2.0.15, v2.0.16, v2.0.17, v2.0.18, v2.0.19, v2.0.20, v2.0.21, v2.0.22, v2.0.23, v2.0.24, v2.0.25, v2.0.9 and 629 more | 5.4.52, 6.4.40, 7.4.12, 8.0.12 | composer require 'symfony/yaml:>=5.4.52'composer require 'symfony/yaml:>=6.4.40'composer require 'symfony/yaml:>=7.4.12'composer require 'symfony/yaml:>=8.0.12' |
| symfony/symfony | Packagist | < 5.4.52 >= 6.0.0, < 6.4.40 >= 7.0.0, < 7.4.12 >= 8.0.0, < 8.0.12 versions 2.0.4, 2.0.5, 2.0.6, 2.0.7, v2.0.10, v2.0.11, v2.0.12, v2.0.13, v2.0.14, v2.0.15, v2.0.16, v2.0.17, v2.0.18, v2.0.19, v2.0.20, v2.0.21, v2.0.22, v2.0.23, v2.0.24, v2.0.25 and 813 more | 5.4.52, 6.4.40, 7.4.12, 8.0.12 | composer require 'symfony/symfony:>=5.4.52'composer require 'symfony/symfony:>=6.4.40'composer require 'symfony/symfony:>=7.4.12'composer require 'symfony/symfony:>=8.0.12' |
Symfony\Component\Yaml\Parser is the entry point for parsing YAML strings into PHP values via Yaml::parse(). When the parser is exposed to attacker-controlled input, deeply nested mappings or sequences cause both the block-level (Parser::parseBlock()) and inline (Inline::parseSequence() / Inline::parseMapping()) parsers to recurse without a depth limit. A crafted document exhausts the PHP stack and crashes the worker.
The Parser now tracks recursion depth in a shared ParserState object across both block-level and inline parsing, with a default limit of 128. The limit is configurable via a new $maxNestingLevel argument on Parser::__construct(), Yaml::parse() and Yaml::parseFile().
The patch for this issue is available here for branch 5.4.
Symfony would like to thank Pietro Tirenna (Shielder) for reporting the issue and Nicolas Grekas for fixing it.
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
One EPSS score on record: 0.006 on 2026-11-24.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.006 | first score | v2026.06.15 |