Skip to main content

Symfony Yaml EUVDEUVD-2026-118309

| CVE-2026-123792 HIGH
Inefficient Algorithmic Complexity (CWE-407)
2026-11-06 Checkmarx
8.7
CVSS 4.0 · Vendor: Checkmarx
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify YAML-accepting endpoint
  2. Delivery
    Send crafted YAML/JSON payload with YAML content type
  3. Exploit
    Trigger exponential/quadratic parsing
  4. Execution
    Pin PHP worker until max_execution_time
  5. Impact
    Repeat 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

symfony 6.0.0 <6.4.50
symfony 0 <5.4.56
symfony 8.0.0 <8.1.11
symfony 7.0.0 <7.4.23

Affected Packages

euvd symfony fix: 5.4.56, 6.4.50, 7.4.23, 8.1.11

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

Vendor (Checkmarx) PRIMARY 8.7 HIGH
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
vuln.today AI 7.5 HIGH

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (Checkmarx).

CVSS VectorVendor: Checkmarx

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
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 57% exploitable
Prevalence
High
Symfony is a widely-deployed enterprise PHP framework; Yaml component broadly used
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

CVE-2015-4050 MEDIUM POC
4.3 Jun 02

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

CVE-2019-10910 CRITICAL POC
9.8 May 16

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

CVE-2018-13818 CRITICAL POC
9.8 Jul 10

Twig before 2.4.4 allows Server-Side Template Injection (SSTI) via the search search_key parameter. Rated critical sever

CVE-2026-100872 HIGH POC
8.7 Sep 27

Insufficient verification of payment-claim state in the Sylius e-commerce platform (versions before 2.1.16 and 2.2.9) le

CVE-2026-100869 HIGH POC
8.2 Sep 27

Incorrect authorization in the Sylius Shop API lets anyone holding an order token submit arbitrary payment actions - mos

CVE-2025-64500 HIGH POC
7.3 Nov 12

Symfony is a PHP framework for web and console applications and a set of reusable PHP components. Rated high severity (C

CVE-2026-24739 MEDIUM POC
6.3 Jan 28

Symfony versions up to 5.4.51 contains a vulnerability that allows attackers to operations being performed on an uninten

CVE-2018-12040 MEDIUM POC
6.1 Jun 13

Reflected Cross-site scripting (XSS) vulnerability in the web profiler in SensioLabs Symfony 3.3.6 allows remote attacke

CVE-2016-2403 CRITICAL
9.8 Feb 07

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

CVE-2024-51736 CRITICAL
9.8 Nov 06

Symphony process is a module for the Symphony PHP framework which executes commands in sub-processes. Rated critical sev

CVE-2019-18889 CRITICAL
9.8 Nov 21

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

CVE-2019-11325 CRITICAL
9.8 Nov 21

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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy