CVE-2026-33532: yaml Uncontrolled Recursion Stack Overflow Denial of Service
- Vendor
- Eemeli
CVE-2026-33532 is an uncontrolled-recursion vulnerability in the JavaScript yaml parser and serialiser. In yaml versions before 1.10.3 on the 1.x branch and before 2.8.3 on the 2.x branch, the YAML node composition and resolution phase recursively processes nested structures without enforcing a depth bound. Deeply nested YAML flow sequences can exhaust the Node.js call stack and raise a RangeError. The affected public APIs are YAML.parse(), YAML.parseDocument(), and YAML.parseAllDocuments(). The iterative CST Parser phase is not affected.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An attacker able to supply deeply nested YAML can cause call-stack exhaustion with a relatively small payload. The resulting RangeError is not a YAMLParseError; applications that only handle YAML-specific parsing exceptions may fail requests or terminate the Node.js process. Successful exploitation can therefore cause denial of service. The exact nesting threshold depends on the Node.js version, configured stack size, and pre-existing call depth.
Mitigation
If you can’t patch tonight, do this now.
Do not parse untrusted YAML until a fixed version is deployed. Where untrusted YAML must be processed, impose application-level input-size and nesting-depth limits before calling the affected parsing APIs. Handle unexpected exceptions, including RangeError, in addition to YAML-specific parsing errors to reduce process-termination risk.
Remediation
Patch, then assume compromise.
Upgrade yaml to version 1.10.3 or later for the 1.x branch, or version 2.8.3 or later for the 2.x branch.
Exploits
No validated public exploits yet. Hidden: 1 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-33532 exploited in the wild?
- As of Sep 25, 2026, Mallory has no reports of CVE-2026-33532 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-33532?
- Yes. As of Sep 25, 2026, Mallory has reports of a public exploit for CVE-2026-33532.
- Is there a patch for CVE-2026-33532?
- Upgrade yaml to version 1.10.3 or later for the 1.x branch, or version 2.8.3 or later for the 2.x branch.
- What products are affected by CVE-2026-33532?
- Eemeli Yaml.
- How severe is CVE-2026-33532?
- CVE-2026-33532 has a CVSS v3.1 score of 4.3 (Medium) and an EPSS score of 0.50% (43rd percentile) as of Sep 25, 2026.
Recent activity
5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.