[Renovate] Update dependency symfony/yaml to v8 - #22
Open
appsec-renovate-bot[bot] wants to merge 1 commit into
Open
[Renovate] Update dependency symfony/yaml to v8#22appsec-renovate-bot[bot] wants to merge 1 commit into
appsec-renovate-bot[bot] wants to merge 1 commit into
Conversation
appsec-renovate-bot
Bot
force-pushed
the
renovate/symfony-yaml-8.x
branch
2 times, most recently
from
August 19, 2026 06:21
5e7fa89 to
25117a5
Compare
appsec-renovate-bot
Bot
force-pushed
the
renovate/symfony-yaml-8.x
branch
3 times, most recently
from
August 23, 2026 06:14
1ddb607 to
d497f01
Compare
appsec-renovate-bot
Bot
force-pushed
the
renovate/symfony-yaml-8.x
branch
2 times, most recently
from
August 25, 2026 06:17
d497f01 to
a9ddf1c
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
~3.0|~4.0→8.1.5Symfony hardened the parser when handling untrusted input
CVE-2026-45133 / GHSA-c2p3-7m5p-cv8x
More information
Details
Description
Symfony\Component\Yaml\Parseris the entry point for parsing YAML strings into PHP values viaYaml::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.Resolution
The
Parsernow tracks recursion depth in a sharedParserStateobject across both block-level and inline parsing, with a default limit of 128. The limit is configurable via a new$maxNestingLevelargument onParser::__construct(),Yaml::parse()andYaml::parseFile().The patch for this issue is available here for branch 5.4.
Credits
Symfony would like to thank Pietro Tirenna (Shielder) for reporting the issue and Nicolas Grekas for fixing it.
Severity
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:UReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Symfony's YAML Parser has a ReDoS via Catastrophic Backtracking in Parser::cleanup() Regex
CVE-2026-45305 / GHSA-9frc-8383-795m
More information
Details
Description
Symfony\Component\Yaml\Parser::cleanup()strips the optional%YAMLdirective header, leading comments, and document start/end markers before parsing. The original regexes contained overlapping quantifiers, most notably'#^%YAML[: ][\d.]+.*\n#u', whose[\d.]+and.*overlap on the dot, that exhibit catastrophic backtracking on crafted input. A single oversized%YAMLdirective header (or comment / document-marker line) makes the parser hang for an arbitrarily long time, denying service.Resolution
The four regexes in
Parser::cleanup()(YAML directive header, leading comments, document-start marker, document-end marker) have been rewritten with possessive quantifiers and unambiguous character classes so backtracking cannot occur.The patch for this issue is available here for branch 5.4.
Credits
Symfony would like to thank Pietro Tirenna (Shielder) for reporting the issue and Nicolas Grekas for fixing it.
Severity
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:UReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Symfony's YAML Parser Vulnerable to Exponential Memory Allocation via Recursive Collection-Alias Expansion ("Billion Laughs")
CVE-2026-45304 / GHSA-4qpc-3hr4-r2p4
More information
Details
Description
Symfony\Component\Yaml\Parserresolves YAML aliases (*anchor) during parsing. Aliases that reference collections (arrays,stdClass,TaggedValue-wrapped collections) can themselves point to other collections containing aliases, creating exponential expansion at resolution time. A small input can blow up into a multi-gigabyte structure and exhaust memory: the classic "Billion Laughs" denial-of-service against any parser exposed to untrusted YAML.Resolution
The
Parsernow counts collection alias resolutions in a sharedParserStateobject, with a default limit of 128, following the SnakeYAML model. Scalar aliases remain unrestricted since they cannot drive exponential growth. The limit is configurable via a new$maxAliasesForCollectionsargument onParser::__construct(),Yaml::parse()andYaml::parseFile(). A newYaml::PARSE_EXCEPTION_ON_ALIASflag also rejects all aliases outright when parsing fully untrusted input.The patch for this issue is available here for branch 5.4.
Credits
Symfony would like to thank Pietro Tirenna (Shielder) for reporting the issue and Nicolas Grekas for fixing it.
Severity
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:UReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
symfony/yaml (symfony/yaml)
v8.1.5Compare Source
Changelog (symfony/yaml@v8.1.2...v8.1.5)
v8.1.2Compare Source
Changelog (symfony/yaml@v8.1.1...v8.1.2)
v8.1.1Compare Source
Changelog (symfony/yaml@v8.1.0...v8.1.1)
v8.1.0Compare Source
Changelog (symfony/yaml@v8.1.0-RC1...v8.1.0)
v8.0.15Compare Source
Changelog (symfony/yaml@v8.0.14...v8.0.15)
v8.0.14Compare Source
Changelog (symfony/yaml@v8.0.13...v8.0.14)
v8.0.13Compare Source
Changelog (symfony/yaml@v8.0.12...v8.0.13)
v8.0.12Compare Source
Changelog (symfony/yaml@v8.0.11...v8.0.12)
v8.0.11Compare Source
Changelog (symfony/yaml@v8.0.10...v8.0.11)
v8.0.10Compare Source
Changelog (symfony/yaml@v8.0.6...v8.0.10)
&anchorand!!str &anchoritems (@ousamabenyounes)v8.0.8Compare Source
Changelog (symfony/yaml@v8.0.7...v8.0.8)
v8.0.6Compare Source
Changelog (symfony/yaml@v8.0.5...v8.0.6)
v8.0.1Compare Source
Changelog (symfony/yaml@v8.0.0...v8.0.1)
v8.0.0Compare Source
v7.4.17Compare Source
Changelog (symfony/yaml@v7.4.15...v7.4.17)
v7.4.15Compare Source
Changelog (symfony/yaml@v7.4.14...v7.4.15)
v7.4.14Compare Source
Changelog (symfony/yaml@v7.4.13...v7.4.14)
v7.4.13Compare Source
Changelog (symfony/yaml@v7.4.12...v7.4.13)
v7.4.12Compare Source
Changelog (symfony/yaml@v7.4.11...v7.4.12)
v7.4.11Compare Source
Changelog (symfony/yaml@v7.4.10...v7.4.11)
v7.4.10Compare Source
Changelog (symfony/yaml@v7.4.6...v7.4.10)
&anchorand!!str &anchoritems (@ousamabenyounes)v7.4.8Compare Source
Changelog (symfony/yaml@v7.4.7...v7.4.8)
v7.4.6Compare Source
Changelog (symfony/yaml@v7.4.5...v7.4.6)
v7.4.1Compare Source
Changelog (symfony/yaml@v7.4.0...v7.4.1)
v7.4.0Compare Source
Changelog (symfony/yaml@v7.4.0-RC3...v7.4.0)
v7.3.8Compare Source
Changelog (symfony/yaml@v7.3.7...v7.3.8)
v7.3.5Compare Source
Changelog (symfony/yaml@v7.3.4...v7.3.5)
v7.3.3Compare Source
Changelog (symfony/yaml@v7.3.2...v7.3.3)
v7.3.2Compare Source
Changelog (symfony/yaml@v7.3.1...v7.3.2)
v7.3.1Compare Source
Changelog (symfony/yaml@v7.3.0...v7.3.1)
v7.3.0Compare Source
Changelog (symfony/yaml@v7.3.0-RC1...v7.3.0)
v7.2.9Compare Source
Changelog (symfony/yaml@v7.2.8...v7.2.9)
v7.2.8Compare Source
Changelog (symfony/yaml@v7.2.7...v7.2.8)
v7.2.6Compare Source
Changelog (symfony/yaml@v7.2.5...v7.2.6)
v7.2.5Compare Source
Changelog (symfony/yaml@v7.2.4...v7.2.5)
v7.2.3Compare Source
Changelog (symfony/yaml@v7.2.2...v7.2.3)
v7.2.0Compare Source
Changelog (symfony/yaml@v7.2.0-RC1...v7.2.0)
v7.1.11Compare Source
Changelog (symfony/yaml@v7.1.10...v7.1.11)
v7.1.6Compare Source
Changelog (symfony/yaml@v7.1.5...v7.1.6)
v7.1.5Compare Source
Changelog (symfony/yaml@v7.1.4...v7.1.5)
v7.1.4Compare Source
Changelog (symfony/yaml@v7.1.3...v7.1.4)
v7.1.1Compare Source
Changelog (symfony/yaml@v7.1.0...v7.1.1)
v7.1.0Compare Source
Changelog (symfony/yaml@v7.1.0-RC1...v7.1.0)
v7.0.8Compare Source
Changelog (symfony/yaml@v7.0.7...v7.0.8)
v7.0.7Compare Source
Changelog (symfony/yaml@v7.0.6...v7.0.7)
v7.0.3Compare Source
Changelog (symfony/yaml@v7.0.2...v7.0.3)
v7.0.0Compare Source
Changelog (symfony/yaml@v7.0.0-RC2...v7.0.0)
v6.4.44Compare Source
Changelog (symfony/yaml@v6.4.43...v6.4.44)
v6.4.43Compare Source
Changelog (symfony/yaml@v6.4.42...v6.4.43)
v6.4.42Compare Source
Changelog (symfony/yaml@v6.4.41...v6.4.42)
v6.4.41Compare Source
Changelog (symfony/yaml@v6.4.40...v6.4.41)
v6.4.40Compare Source
Changelog (symfony/yaml@v6.4.39...v6.4.40)
v6.4.39Compare Source
Changelog (symfony/yaml@v6.4.38...v6.4.39)
v6.4.38Compare Source
Changelog (symfony/yaml@v6.4.34...v6.4.38)
&anchorand!!str &anchoritems (@ousamabenyounes)v6.4.34Compare Source
Changelog (symfony/yaml@v6.4.33...v6.4.34)
v6.4.30Compare Source
Changelog (symfony/yaml@v6.4.29...v6.4.30)
v6.4.26Compare Source
Changelog (symfony/yaml@v6.4.25...v6.4.26)
v6.4.25Compare Source
Changelog (symfony/yaml@v6.4.24...v6.4.25)
v6.4.24Compare Source
Changelog (symfony/yaml@v6.4.23...v6.4.24)
v6.4.23Compare Source
Changelog (symfony/yaml@v6.4.22...v6.4.23)
v6.4.21Compare Source
Changelog (symfony/yaml@v6.4.20...v6.4.21)
v6.4.20Compare Source
Changelog (symfony/yaml@v6.4.19...v6.4.20)
v6.4.18Compare Source
Changelog (symfony/yaml@v6.4.17...v6.4.18)
v6.4.13Compare Source
Changelog (symfony/yaml@v6.4.12...v6.4.13)
v6.4.12Compare Source
Changelog (symfony/yaml@v6.4.11...v6.4.12)
v6.4.11Compare Source
Changelog (symfony/yaml@v6.4.10...v6.4.11)
v6.4.8Compare Source
Changelog (symfony/yaml@v6.4.7...v6.4.8)
v6.4.7Compare Source
Changelog (symfony/yaml@v6.4.6...v6.4.7)
v6.4.3Compare Source
Changelog (symfony/yaml@v6.4.2...v6.4.3)
v6.4.0Compare Source
Changelog (symfony/yaml@v6.4.0-RC2...v6.4.0)
v6.3.12Compare Source
Changelog (symfony/yaml@v6.3.11...v6.3.12)
v6.3.8Compare Source
Changelog (symfony/yaml@v6.3.7...v6.3.8)
v6.3.7Compare Source
Changelog (symfony/yaml@v6.3.6...v6.3.7)
v6.3.3Compare Source
Changelog (symfony/yaml@v6.3.2...v6.3.3)
v6.3.0Compare Source
Changelog (symfony/yaml@v6.3.0-RC2...v6.3.0)
v6.2.10Compare Source
Changelog (symfony/yaml@v6.2.9...v6.2.10)
v6.2.7Compare Source
Changelog (symfony/yaml@v6.2.6...v6.2.7)
v6.2.5Compare Source
Changelog (symfony/yaml@v6.2.4...v6.2.5)
v6.2.2Compare Source
Changelog (symfony/yaml@v6.2.1...v6.2.2)
v6.2.0Compare Source
Changelog (symfony/yaml@v6.2.0-RC2...v6.2.0)
v6.1.11Compare Source
v6.1.9Compare Source
Changelog (symfony/yaml@v6.1.8...v6.1.9)
v6.1.8Compare Source
Changelog (symfony/yaml@v6.1.7...v6.1.8)
v6.1.6Compare Source
Changelog (symfony/yaml@v6.1.5...v6.1.6)
v6.1.4Compare Source
Changelog (symfony/yaml@v6.1.3...v6.1.4)
v6.1.3Compare Source
Changelog (symfony/yaml@v6.1.2...v6.1.3)
v6.1.2Compare Source
Changelog (symfony/yaml@v6.1.1...v6.1.2)
v6.1.0Compare Source
Changelog (symfony/yaml@v6.1.0-RC1...v6.1.0)
v6.0.19Compare Source
Changelog (symfony/yaml@v6.0.18...v6.0.19)
v6.0.17Compare Source
Changelog (symfony/yaml@v6.0.16...v6.0.17)
v6.0.16Compare Source
Changelog (symfony/yaml@v6.0.15...v6.0.16)
v6.0.14Compare Source
Changelog (symfony/yaml@v6.0.13...v6.0.14)
v6.0.12Compare Source
Changelog (symfony/yaml@v6.0.11...v6.0.12)
v6.0.11Compare Source
Changelog (symfony/yaml@v6.0.10...v6.0.11)
v6.0.10Compare Source
Changelog (symfony/yaml@v6.0.9...v6.0.10)
v6.0.3Compare Source
Changelog (symfony/yaml@v6.0.2...v6.0.3)
v6.0.2Compare Source
Changelog (symfony/yaml@v6.0.1...v6.0.2)
v6.0.1Compare Source
Changelog (symfony/yaml@v6.0.0...v6.0.1)
v6.0.0Compare Source
Changelog (symfony/yaml@v6.0.0-RC1...v6.0.0)
v5.4.53Compare Source
Changelog (symfony/yaml@v5.4.52...v5.4.53)
v5.4.52Compare Source
Changelog (symfony/yaml@v5.4.44...v5.4.52)
v5.4.45Compare Source
Changelog (symfony/yaml@v5.4.44...v5.4.45)
v5.4.44Compare Source
Changelog (symfony/yaml@v5.4.43...v5.4.44)
v5.4.43Compare Source
Changelog (symfony/yaml@v5.4.42...v5.4.43)
v5.4.40Compare Source
Changelog (symfony/yaml@v5.4.39...v5.4.40)
v5.4.39Compare Source
Changelog (symfony/yaml@v5.4.38...v5.4.39)
v5.4.35Compare Source
Changelog (symfony/yaml@v5.4.34...v5.4.35)
v5.4.31Compare Source
Changelog (symfony/yaml@v5.4.30...v5.4.31)
v5.4.30Compare Source
Changelog (symfony/yaml@v5.4.29...v5.4.30)
v5.4.23Compare Source
Changelog (symfony/yaml@v5.4.22...v5.4.23)
v5.4.21[Compare Source](https://redirect.github.com/symfony/yaml/compar
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.