CVE-2026-33532: yaml is vulnerable to Stack Overflow via deeply nested YAML collections
Vulnerability summary
CVE-2026-33532 is a medium (CVSS 4.3) Uncontrolled Recursion vulnerability in eemeli yaml. EPSS estimates a 0.49% chance of exploitation in the next 30 days, higher than 42% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 4.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 4 · Related 5Timeline
- 26-03-2026PublishedVulnerability first disclosed.
- 30-03-2026Last modifiedVulnerability information updated.
Description
`yaml` is a YAML parser and serialiser for JavaScript. Parsing a YAML document with a version of `yaml` on the 1.x branch prior to 1.10.3 or on the 2.x branch prior to 2.8.3 may throw a RangeError due to a stack overflow. The node resolution/composition phase uses recursive function calls without a depth bound. An attacker who can supply YAML for parsing can trigger a `RangeError: Maximum call stack size exceeded` with a small payload (~2–10 KB). The `RangeError` is not a `YAMLParseError`, so applications that only catch YAML-specific errors will encounter an unexpected exception type. Depending on the host application's exception handling, this can fail requests or terminate the Node.js process. Flow sequences allow deep nesting with minimal bytes (2 bytes per level: one `[` and one `]`). On the default Node.js stack, approximately 1,000–5,000 levels of nesting (2–10 KB input) exhaust the call stack. The exact threshold is environment-dependent (Node.js version, stack size, call stack depth at invocation). Note: the library's `Parser` (CST phase) uses a stack-based iterative approach and is not affected. Only the compose/resolve phase uses actual call-stack recursion. All three public parsing APIs are affected: `YAML.parse()`, `YAML.parseDocument()`, and `YAML.parseAllDocuments()`. Versions 1.10.3 and 2.8.3 contain a patch.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
- OSV · DebianEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
- OSV · WolfiEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
- OSV · NpmEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
- OSV · ChainguardEcosystem advisory · calculated4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
- NVDNIST4.3MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
EPSS trend
Probability
0.49%
Chance of exploitation in the next 30 days
Percentile
42%
Versus all other CVEs
30-day change
Decrease -0.04 pp
From 0.53% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundYaml
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard128 products
- airflow-2All versions (No fix recorded)
- airflow-core-2All versions (No fix recorded)
- arangodb-3.11< 3.11.14.5-r17
- arangodb-3.12< 3.12.9.4-r30
- argo-workflows-ui-3.6< 3.6.19-r5
Wolfi20 products
- argo-workflows-ui-4.0< 4.0.3-r2
- katib-earlystopping< 0.19.0-r31
- katib-suggestion-goptuna-compatAll versions (No fix recorded)
- katib-suggestion-hyperband< 0.19.0-r31
- katib-suggestion-hyperopt< 0.19.0-r40 | < 0.19.0-r31
Debian1 product
- node-yamlAll versions (No fix recorded) | < 2.8.3+~cs0.4.0-1
Eemeli1 product
- yaml≥ 1.0.0, < 1.10.3 | ≥ 2.0.0, < 2.8.3
Npm1 product
- yaml≥ 2.0.0, < 2.8.3 | ≥ 1.0.0, < 1.10.3
Ubuntu1 product
- node-yamlAll versions (No fix recorded)
6 vendors · 152 products
References
10 links- github.com/eemeli/yaml/security/advisories/GHSA-48c2-rrv3-qjmpX Refsource CONFIRMREPORTAdvisoryWEBExploitVendor Advisory
- github.com/eemeli/yaml/commit/1e84ebbea7ec35011a4c61bbb820a529ee4f359bX Refsource MISCREPORTFIXWEBPatch
- github.com/eemeli/yamlPACKAGE