Severity by source
CVSS:4.0/AV:N/AC:L/AT:P/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
Network-reachable and low-complexity once untrusted YAML reaches the parser, no auth or interaction (PR:N/UI:N); impact is availability-only DoS, so C:N/I:N/A:H - CVSS 3.1 cannot express the app-dependent attack requirement.
Primary rating from Vendor (https://github.com/symfony/symfony).
CVSS VectorVendor: https://github.com/symfony/symfony
CVSS:4.0/AV:N/AC:L/AT:P/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
Lifecycle Timeline
5DescriptionCVE.org
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 for branch 5.4.
Credits
Symfony would like to thank Pietro Tirenna (Shielder) for reporting the issue and Nicolas Grekas for fixing it.
AnalysisAI
Denial of service in the Symfony Yaml component (symfony/yaml and the symfony/symfony monolith) lets remote attackers crash PHP worker processes by submitting a YAML document with deeply nested mappings or sequences. Because neither the block-level parser (Parser::parseBlock()) nor the inline parser (Inline::parseSequence()/parseMapping()) enforced a recursion depth limit, a compact crafted payload exhausts the PHP call stack, killing the process. EPSS is low (0.09%, 26th percentile) and there is no public exploit identified at time of analysis, but the bug is trivially triggerable wherever untrusted YAML is parsed.
Technical ContextAI
The affected technology is Symfony's YAML parser, the reference PHP YAML implementation used broadly across Symfony applications for configuration and, in some apps, for handling user- or API-supplied data via Yaml::parse()/Yaml::parseFile(). The root cause is CWE-674 (Uncontrolled Recursion): parsing descends recursively for each nested collection level with no ceiling, so nesting depth in the input maps directly to native PHP stack frame consumption. Once the stack limit is hit the interpreter aborts the process rather than throwing a catchable error. The fix introduces a shared ParserState object that tracks depth across both block and inline parsing paths and enforces a default limit of 128 levels, configurable through a new $maxNestingLevel argument on Parser::__construct(), Yaml::parse() and Yaml::parseFile(). CPE data confirms the Composer packages symfony/yaml and the symfony/symfony monolith as affected.
RemediationAI
Vendor-released patch: upgrade to symfony/yaml or symfony/symfony 5.4.52, 6.4.40, 7.4.12, or 8.0.12 depending on your branch (run composer update symfony/yaml or composer update symfony/symfony to the matching fixed release). The corresponding upstream fix is commit 914f427ed9630ddb3904dafba763e53d9f133fe3, and remediation guidance is in advisory GHSA-c2p3-7m5p-cv8x (https://github.com/symfony/symfony/security/advisories/GHSA-c2p3-7m5p-cv8x) and https://symfony.com/cve-2026-45133. If you cannot upgrade immediately, the effective compensating control is to avoid passing untrusted input to Yaml::parse()/Yaml::parseFile(); where user-supplied YAML must be accepted, cap input size and reject documents with excessive nesting before parsing (a pre-parse depth or bracket/indent check), accepting the trade-off that overly strict limits may reject legitimate deeply structured documents. After upgrading you can also set the new $maxNestingLevel argument below the default 128 to further constrain depth for hostile inputs, at the cost of rejecting unusually nested but valid data.
sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro
The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all
Same weakness CWE-674 – Uncontrolled Recursion
View allSame technique Denial Of Service
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-44351
GHSA-c2p3-7m5p-cv8x