
CVE catalog
CVE-2026-33532
`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
- Severity
- Medium · CVSS 6.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.49% · Oct 25, 2026
`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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | node-yaml | sid | 2.9.0+~cs0.4.0-2 | fixed |
| Debian | node-yaml | forky | 2.9.0+~cs0.4.0-2 | fixed |
| Debian | node-yaml | trixie | 2.3.4+~cs0.4.0-1 | vulnerable |
| Debian | node-yaml | bookworm | 2.1.3-2 | vulnerable |
| Cpe | node-yaml | Not reported | Not reported | vulnerable |
| Cpe | yaml | Not reported | 1.10.3 | fixed |
| Cpe | yaml | Not reported | 2.8.3 | fixed |
| Npm | yaml | Not reported | 1.10.3 | fixed |
| Npm | yaml | Not reported | 1.10.3 | fixed |
| Ubuntu | node-yaml | 22.04 | 1.10.0-4 | vulnerable |
| Ubuntu | node-yaml | 22.04 | 1.10.2-1 | vulnerable |
| Ubuntu | node-yaml | 24.04 | 2.3.1-2 | vulnerable |
| Ubuntu | node-yaml | 24.04 | 2.3.4-1 | vulnerable |
| Ubuntu | node-yaml | 24.04 | 2.3.4-1build1 | vulnerable |
| Ubuntu | node-yaml | 25.10 | 2.3.4+~cs0.4.0-1 | vulnerable |
| Ubuntu | node-yaml | 26.04 | 2.3.4+~cs0.4.0-1 | vulnerable |
| Ubuntu | node-yaml | 26.04 | 2.8.2+~cs0.4.0-1build1 | vulnerable |
| Ubuntu | node-yaml | 26.04 | 2.8.3+~cs0.4.0-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | node-yaml | source | sid | 2.8.3+~cs0.4.0-1 | not yet assigned | Not reported | [1132040] |
| Debian | node-yaml | source | forky | 2.8.3+~cs0.4.0-1 | not yet assigned | Not reported | [1132040] |
| Debian | node-yaml | source | trixie | (unfixed) | not yet assigned | Not reported | [1132040] |
| Debian | node-yaml | source | bookworm | (unfixed) | not yet assigned | Not reported | [1132040] |
| Cpe | yaml | cpe | Not reported | 1.10.3 | Not reported | Not reported | Not reported |
| Cpe | yaml | cpe | Not reported | 2.8.3 | Not reported | Not reported | Not reported |
| Npm | yaml | npm | Not reported | 1.10.3 | Not reported | GHSA-48C2-RRV3-QJMP | Not reported |
| Npm | yaml | npm | Not reported | 1.10.3 | Not reported | Not reported | Not reported |
Notes
[trixie] node-yaml: Minor issue [bookworm] node-yaml: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [node-yaml]Affected
Details (2)
2.1.3-2· all · bookwormAffected
nvd · node-yaml · debian · bookworm; nvd · node-yaml · debian · 12
2.1.3-2· all · bookwormAffected
nvd · node-yaml · debian · bookworm; nvd · node-yaml · debian · 12
[Debian 13 (Trixie)]
- [node-yaml]Affected
Details (2)
2.3.4+~cs0.4.0-1· all · trixieAffected
nvd · node-yaml · debian · 13
2.3.4+~cs0.4.0-1· all · trixieAffected
nvd · node-yaml · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_11053-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-33532]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-33532]
- [https://osv.dev/vulnerability/GHSA-48c2-rrv3-qjmp]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-33532]
- [https://security-tracker.debian.org/tracker/CVE-2026-33532]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-33532.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-1407.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]