Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-45133
Published:May 31, 2026
Updated:May 31, 2026
Description "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. Resolution 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" (https://github.com/symfony/symfony/commit/914f427ed9630ddb3904dafba763e53d9f133fe3) for branch 5.4. Credits Symfony would like to thank Pietro Tirenna (Shielder) for reporting the issue and Nicolas Grekas for fixing it.
Affected Packages
https://github.com/symfony/symfony.git (GITHUB):
Affected version(s) >=v6.4.0 <v6.4.39
Fix Suggestion:
Update to version v6.4.39
https://github.com/symfony/symfony.git (GITHUB):
Affected version(s) >=v8.0.0 <v8.0.11
Fix Suggestion:
Update to version v8.0.11
https://github.com/symfony/symfony.git (GITHUB):
Affected version(s) >=v2.0.0BETA1 <v5.4.52
Fix Suggestion:
Update to version v5.4.52
https://github.com/symfony/symfony.git (GITHUB):
Affected version(s) >=v7.4.0 <v7.4.11
Fix Suggestion:
Update to version v7.4.11
symfony/yaml (PHP):
Affected version(s) >=v6.0.0 <v6.4.40
Fix Suggestion:
Update to version v6.4.40
symfony/symfony (PHP):
Affected version(s) >=v8.0.0 <v8.0.12
Fix Suggestion:
Update to version v8.0.12
symfony/symfony (PHP):
Affected version(s) >=dev-binary-options <v5.4.52
Fix Suggestion:
Update to version v5.4.52
symfony/symfony (PHP):
Affected version(s) >=v7.0.0 <v7.4.12
Fix Suggestion:
Update to version v7.4.12
symfony/yaml (PHP):
Affected version(s) >=v7.0.0 <v7.4.12
Fix Suggestion:
Update to version v7.4.12
symfony/yaml (PHP):
Affected version(s) >=dev-issue-8145 <v5.4.52
Fix Suggestion:
Update to version v5.4.52
symfony/yaml (PHP):
Affected version(s) >=v8.0.0 <v8.0.12
Fix Suggestion:
Update to version v8.0.12
symfony/symfony (PHP):
Affected version(s) >=v6.0.0 <v6.4.40
Fix Suggestion:
Update to version v6.4.40
Do you need more information?
Contact Us
CVSS v4
Base Score:
2.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
Exploit Maturity
UNREPORTED
CVSS v3
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Weakness Type (CWE)
Inefficient Regular Expression Complexity
Uncontrolled Recursion
Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')