CVE catalog

CVE-2026-84375

js-yaml is a JavaScript YAML parser and dumper. From 3.0.0 until 3.15.2, 4.3.2, and 5.4.1, maxTotalMergeKeys in lib/js-yaml/loader.js and lib/loader.js does not count empty mapping sources while proce

[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
Updated
Source
[NVD] · [CVE record]
EPSS
0.54% · Oct 25, 2026

js-yaml is a JavaScript YAML parser and dumper. From 3.0.0 until 3.15.2, 4.3.2, and 5.4.1, maxTotalMergeKeys in lib/js-yaml/loader.js and lib/loader.js does not count empty mapping sources while processing the merge key <<. An attacker can alias a large sequence of empty mappings into many merge targets, causing O(N * K) processing while totalMergeKeys remains unchanged and the configured resource limit is never reached. A relatively small YAML document can therefore cause prolonged CPU consumption in applications that parse untrusted YAML, and merge processing is enabled by default on these release lines. In v3 & v4, merge is enabled by default so the severity score is higher. This issue is fixed in versions 3.15.2, 4.3.2, and 5.4.1.

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
Npmjs-yamlNot reported3.15.2fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-js-yamlsourcesid4.3.2+~4.0.9-1not yet assignedNot reported[1146637]
Debiannode-js-yamlsourceforky4.3.2+~4.0.9-1not yet assignedNot reported[1146637]
Debiannode-js-yamlsourcetrixie(unfixed)not yet assignedNot reported[1146637]
Debiannode-js-yamlsourcebookworm(unfixed)not yet assignedNot reported[1146637]
Npmjs-yamlnpmNot reported3.15.2Not reportedGHSA-2883-XCG3-V3HHNot reported

[Debian bug #1146637]

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