
CVE catalog
CVE-2026-59869
js-yaml is a JavaScript YAML parser and dumper. From 3.0.0 before 3.15.0 and from 4.0.0 before 4.3.0, js-yaml can spend quadratic CPU time parsing a document whose size grows only linearly when a chai
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.58% · Oct 25, 2026
js-yaml is a JavaScript YAML parser and dumper. From 3.0.0 before 3.15.0 and from 4.0.0 before 4.3.0, js-yaml can spend quadratic CPU time parsing a document whose size grows only linearly when a chain of mappings uses merge keys where each mapping merges the previous one. This issue is fixed in versions 3.15.0 and 4.3.0.
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-js-yaml | sid | 4.3.2+~4.0.9-1 | fixed |
| Debian | node-js-yaml | forky | 4.3.2+~4.0.9-1 | fixed |
| Debian | node-js-yaml | trixie | 4.1.0+dfsg+~4.0.5-7 | vulnerable |
| Debian | node-js-yaml | bookworm | 4.1.0+dfsg+~4.0.5-7 | vulnerable |
| Cpe | node-js-yaml | Not reported | Not reported | vulnerable |
| Npm | js-yaml | Not reported | 4.3.0 | fixed |
| Npm | js-yaml | Not reported | 4.3.0 | fixed |
| Npm | js-yaml | Not reported | 3.15.0 | fixed |
| Npm | js-yaml | Not reported | 4.3.0 | fixed |
| Cpe | js-yaml | Not reported | 4.3.0 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | node-js-yaml | source | sid | 4.2.0+~4.0.9-2 | not yet assigned | Not reported | [1141820] |
| Debian | node-js-yaml | source | forky | 4.2.0+~4.0.9-2 | not yet assigned | Not reported | [1141820] |
| Debian | node-js-yaml | source | trixie | (unfixed) | not yet assigned | Not reported | [1141820] |
| Debian | node-js-yaml | source | bookworm | (unfixed) | not yet assigned | Not reported | [1141820] |
| Npm | js-yaml | npm | Not reported | 4.3.0 | Not reported | GHSA-52CP-R559-CP3M | Not reported |
| Npm | js-yaml | npm | Not reported | 4.3.0 | Not reported | Not reported | Not reported |
| Npm | js-yaml | npm | Not reported | 3.15.0 | Not reported | Not reported | Not reported |
| Npm | js-yaml | npm | Not reported | 4.3.0 | Not reported | Not reported | Not reported |
| Cpe | js-yaml | cpe | Not reported | 4.3.0 | Not reported | NVD-CVE-2026-59869 | Not reported |
Notes
[trixie] node-js-yaml: Minor issue [bookworm] node-js-yaml: Minor issue
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [node-js-yaml]Affected
Details (2)
4.1.0+dfsg+~4.0.5-7· all · bookwormAffected
nvd · node-js-yaml · debian · bookworm; nvd · node-js-yaml · debian · 12
4.1.0+dfsg+~4.0.5-7· all · bookwormAffected
nvd · node-js-yaml · debian · bookworm; nvd · node-js-yaml · debian · 12
[Debian 13 (Trixie)]
- [node-js-yaml]Affected
Details (2)
4.1.0+dfsg+~4.0.5-7· all · trixieAffected
nvd · node-js-yaml · debian · 13
4.1.0+dfsg+~4.0.5-7· all · trixieAffected
nvd · node-js-yaml · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_12070-1.json]
- [https://github.com/nodeca/js-yaml/commit/24f13e79ee1343a7e30bd6f6c9d9cdbf0ac9b2b7]
- [https://github.com/nodeca/js-yaml/commit/59423c6f8cdc78742ac00e25a4dd39ef16b702e4]
- [https://github.com/nodeca/js-yaml/releases/tag/3.15.0]
- [https://github.com/nodeca/js-yaml/releases/tag/4.3.0]
- [https://github.com/nodeca/js-yaml/security/advisories/GHSA-52cp-r559-cp3m]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-59869]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-59869]
- [https://osv.dev/vulnerability/GHSA-52cp-r559-cp3m]
- [https://security-tracker.debian.org/tracker/CVE-2026-59869]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-59869.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2618.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [GitHub Advisory Database] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]