Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify YAML-accepting endpoint
-
DeliverySend crafted YAML/JSON payload with YAML content type
-
ExploitTrigger exponential/quadratic parsing
-
ExecutionPin PHP worker until max_execution_time
-
ImpactRepeat to exhaust worker pool (DoS)
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V2 - Validation and Business Logic Algorithmic complexity limits
|
| Exploitation Conditions | Exploitation requires an application that parses untrusted YAML with the Yaml component's default flags. The concrete high-impact path is Symfony 7.4+ using the #[MapRequestPayload] attribute with the Yaml component installed on an endpoint that does NOT restrict acceptFormat - there, a single unauthenticated request with a YAML content type reaches the vulnerable parser, and because JSON is valid YAML a plain JSON array sent with a YAML content type suffices for the flow-collection case. On Symfony 6.4, #[MapRequestPayload] only accepts YAML when the application has explicitly registered a 'yaml' request format, which limits exposure there. Any other code path that feeds attacker-controlled YAML to the Inline/Parser components is likewise affected. Limiting factors: impact is availability only (a busy worker bounded by max_execution_time, not RCE); the 7.4+ default exposure is removed by the companion fix where #[MapRequestPayload] no longer decodes YAML/CSV unless acceptFormat lists them; and endpoints that restrict acceptFormat or do not parse untrusted YAML are not reachable. |
| Impact | This is a genuine, actionable availability risk but not a drop-everything emergency. The signals are internally consistent: the CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N) describes a network-reachable, low-complexity, unauthenticated trigger, and the only impact metric set is VA:H (availability) with VC:N/VI:N/VA:H - no confidentiality or integrity loss. That matches CWE-407 (algorithmic complexity / uncontrolled resource consumption): the worst outcome is a pinned PHP worker, not code execution or data disclosure. The vendor-side decision label is 'this_week' (not act_now/emergency), a patch is available, and no CISA KEV listing or EPSS score was supplied, so there is no evidence of active exploitation or a model-estimated exploitation probability to weigh. No formal public exploit code is identified in the input. The honest caveat for defenders is that the real-world attack surface is configuration-dependent and the advisory itself publishes concrete trigger documents (e.g. 93 bytes causing 15 seconds of CPU, a JSON array sent with a YAML content type), which lowers the reproduction bar considerably even without a packaged PoC. Net: treat as a high-severity availability patch to apply promptly, especially for Symfony 7.4+ apps using #[MapRequestPayload], rather than a confirmed-exploited critical. |
| Exploit ScenarioDerived | An attacker sends a single unauthenticated HTTP request carrying a small crafted YAML document (or even an ordinary JSON array, which is valid YAML) with a YAML content type to a Symfony 7.4+ endpoint that uses #[MapRequestPayload] without restricting acceptFormat. The Yaml Parser's exponential/quadratic parsing keeps the PHP worker fully busy until max_execution_time, and repeating the request across workers exhausts the process pool and denies service. No authentication or user interaction is required (PR:N/UI:N); no public exploit is identified, but the advisory documents the exact trigger shapes. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 06, 2026
Denial of service in the Symfony Yaml component's Inline and Parser classes lets a small crafted YAML document keep a PHP worker busy for seconds to minutes, because parse time grows exponentially with nesting depth and quadratically with input size. Symfony branches prior to 5.4.56, 6.4.50, 7.4.23 and 8.1.11 are affected; the sharpest exposure is Symfony 7.4+ where an unauthenticated request to a #[MapRequestPayload] endpoint that does not restrict acceptFormat reaches the vulnerable parser, and since JSON is valid YAML a plain JSON array sent with a YAML content type triggers the flow-collection case. No public exploit code was identified at time of analysis, but any application parsing untrusted YAML with default flags is reachable, and vendor-released patches exist for every affected branch.
RemediationAI
Vendor-released patch: upgrade symfony/yaml (and symfony/symfony where the monorepo is used) to 5.4.56, 6.4.50, 7.4.23 or 8.1.11 according to your branch; the fixes are commit 487f63bf2cacebc8ed8273c5c10d92955acd2402 for 5.4, commit 08db22d52e5d3e6ec2f5c50db30a4d818100ffb9 for 6.4 (forward-ported to 7.4, 8.1 and 8.2), plus commit 49e03035eda3000e978a4612db74900013255ccd for the #[MapRequestPayload] change on 7.4 (forward-ported to 8.1 and 8.2), and the advisory is at https://github.com/symfony/symfony/security/advisories/GHSA-hwfg-qwvh-2wfx. If you cannot upgrade immediately, on Symfony 7.4+ explicitly restrict acceptFormat on #[MapRequestPayload] endpoints so YAML and CSV payloads are rejected rather than decoded, which closes the unauthenticated request path but leaves any other code that parses attacker-supplied YAML exposed; the same upgrade removes that default decoding entirely. On 6.4, avoid registering a 'yaml' request format for endpoints that accept untrusted input. Be aware of the intentional behaviour changes shipped with the fix: "-\n\n- x" now yields [null, "x"] instead of [["x"]], and *0 no longer reports a circular reference, so re-run YAML round-trip tests after upgrading. Note that max_execution_time bounds how long a single request holds a worker but does not prevent repeated requests from occupying the pool, so the upgrade remains the complete fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is an algorithmic complexity issue (CWE-407, with the advisory also tagging CWE-1333 for inefficient regular expressions) in the PHP YAML parser shipped as symfony/yaml and bundled in the symfony/symfony monorepo. The parser repeatedly redoes work it has already performed: an embedded mapping inside a flow sequence such as [a: [a: [a: x, x]]] is re-parsed for every scalar appended to it, including its nested collections, so cost grows exponentially with nesting depth (a 93-byte document took 15 seconds); the PCRE patterns matching mapping keys and tags scan a run of spaces once per character of the run (a single 128 KB line took 6 to 12 seconds and the PCRE backtracking limit does not stop it); each scalar of a flow collection is matched against a copy of the rest of the collection, with a second copy introduced in 6.4.49, 7.4.22 and 8.1.10; nested blocks are copied into a new parser at every nesting level, blank and comment lines included, burning memory as well as time; an anchor named 0 is never removed from the in-progress anchor list, which then grows and is copied by every nested block that declares an anchor; and an empty sequence item followed by a blank or comment line turns the next item into a nested sequence, causing each item to re-parse the remainder of the document. Trailing-comment stripping and block-scalar chomping add further per-character or per-line rescanning, particularly without PCRE JIT. The fixes consume each run of spaces once with possessive/atomic patterns, anchor flow-collection scalar matches at an offset instead of on a substring copy, use rtrim() for chomping, compute the end of an embedded mapping before parsing it, and read long runs of blank lines in place rather than copying them.
Know when Symfony gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
A small unauthenticated network request to a YAML-parsing endpoint causes CPU/memory exhaustion (A:H) with no confidentiality or integrity impact and no scope change; AC:L as crafting the trigger is trivial.
Primary rating from Vendor (Checkmarx).
CVSS VectorVendor: Checkmarx
DescriptionCVE.org
The Symfony Yaml components Inline and Parser, parse some YAML documents inefficiently, so that a small crafted document can take disproportionately long to process, keeping a PHP process busy for seconds or minutes, potentially causing a denial of service in Symfony versions prior to 5.4.56, 6.x prior to 6.4.50, 7.x prior to 7.4.23, and 8.x prior to 8.1.11.
The parser repeats work it has already done in several places. An embedded mapping in a flow sequence is parsed again for every scalar appended to it, and so are the collections nested in it, so the parse time grows exponentially with the nesting depth. The patterns matching mapping keys and tags scan a run of spaces once per character of the run, and each scalar of a flow collection is matched against a copy of the rest of the collection, so the parse time grows quadratically with the size of the input. Nested blocks are also copied at each nesting level, which consumes memory as well as time. A few other constructs, such as an empty sequence item followed by a blank line or an anchor named 0, trigger similar repeated work.
Any code parsing untrusted YAML is affected, with the default flags. In Symfony 7.4 and later, that includes #[MapRequestPayload] when the Yaml component is installed and the endpoint does not restrict acceptFormat. A single unauthenticated request with a YAML content type keeps a PHP worker busy until max_execution_time. JSON documents are valid YAML, so a JSON payload sent with a YAML content type is enough for the flow collection case. In Symfony 6.4, #[MapRequestPayload] accepts YAML only when the application registers a yaml request format.
Technical POC Analysis
CWE-407 (Inefficient Algorithmic Complexity); the advisory also tags CWE-1333 for the regex-driven cases.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity denial-of-service vulnerability in the Symfony Yaml component (CVE-2026-123792) allows a small malicious YAML payload to consume excessive server processing time, potentially rendering PHP worker threads unavailable. Applications using affected Symfony versions-particularly 7.4+ with unauthenticated #[MapRequestPayload] endpoints-are at risk of service disruption, which could impact customer-facing availability and operational continuity.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
FragmentListener in the HttpKernel component in Symfony 2.3.19 through 2.3.28, 2.4.9 through 2.4.10, 2.5.4 through 2.5.1
In Symfony before 2.7.51, 2.8.x before 2.8.50, 3.x before 3.4.26, 4.x before 4.1.12, and 4.2.x before 4.2.7, when servic
Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key parameter. Rated critical sever
Insufficient verification of payment-claim state in the Sylius e-commerce platform (versions before 2.1.16 and 2.2.9) le
Incorrect authorization in the Sylius Shop API lets anyone holding an order token submit arbitrary payment actions - mos
Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Rated high severity (C
Symfony versions up to 5.4.51 contains a vulnerability that allows attackers to operations being performed on an uninten
Reflected Cross-site scripting (XSS) vulnerability in the web profiler in SensioLabs Symfony 3.3.6 allows remote attacke
Symfony before 2.8.6 and 3.x before 3.0.6 allows remote attackers to bypass authentication by logging in with an empty p
Symphony process is a module for the Symphony PHP framework which executes commands in sub-processes. Rated critical sev
An issue was discovered in Symfony 3.4.0 through 3.4.34, 4.2.0 through 4.2.11, and 4.3.0 through 4.3.7. Rated critical s
An issue was discovered in Symfony before 4.2.12 and 4.3.x before 4.3.8. Rated critical severity (CVSS 9.8), this vulner
EUVD-2026-118309
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB