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

[CVE catalog]

Severity
High · CVSS 7.5CVSS: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.

DistributionPackageReleaseVersionStatus
Debiannode-js-yamlsid4.3.2+~4.0.9-1fixed
Debiannode-js-yamlforky4.3.2+~4.0.9-1fixed
Debiannode-js-yamltrixie4.1.0+dfsg+~4.0.5-7vulnerable
Debiannode-js-yamlbookworm4.1.0+dfsg+~4.0.5-7vulnerable
Cpenode-js-yamlNot reportedNot reportedvulnerable
Npmjs-yamlNot reported4.3.0fixed
Npmjs-yamlNot reported4.3.0fixed
Npmjs-yamlNot reported3.15.0fixed
Npmjs-yamlNot reported4.3.0fixed
Cpejs-yamlNot reported4.3.0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-js-yamlsourcesid4.2.0+~4.0.9-2not yet assignedNot reported[1141820]
Debiannode-js-yamlsourceforky4.2.0+~4.0.9-2not yet assignedNot reported[1141820]
Debiannode-js-yamlsourcetrixie(unfixed)not yet assignedNot reported[1141820]
Debiannode-js-yamlsourcebookworm(unfixed)not yet assignedNot reported[1141820]
Npmjs-yamlnpmNot reported4.3.0Not reportedGHSA-52CP-R559-CP3MNot reported
Npmjs-yamlnpmNot reported4.3.0Not reportedNot reportedNot reported
Npmjs-yamlnpmNot reported3.15.0Not reportedNot reportedNot reported
Npmjs-yamlnpmNot reported4.3.0Not reportedNot reportedNot reported
Cpejs-yamlcpeNot reported4.3.0Not reportedNVD-CVE-2026-59869Not reported

[Debian bug #1141820]

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 · bookworm

      Affected

      nvd · node-js-yaml · debian · bookworm; nvd · node-js-yaml · debian · 12

    • 4.1.0+dfsg+~4.0.5-7 · all · bookworm

      Affected

      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 · trixie

      Affected

      nvd · node-js-yaml · debian · 13

    • 4.1.0+dfsg+~4.0.5-7 · all · trixie

      Affected

      nvd · node-js-yaml · debian · 13

Observed:

References