PT-2026-84523 · Npm · Js-Yaml

CVE-2026-84375

·

Published

2026-09-01

·

Updated

2026-09-09

CVSS v3.1

7.5

High

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Name of the Vulnerable Software and Affected Versions js-yaml versions 3.0.0 through 3.15.1 js-yaml versions prior to 4.3.2
Description An issue exists where maxTotalMergeKeys in lib/js-yaml/loader.js and lib/loader.js fails to count empty mapping sources when processing the merge key <<. This allows an attacker to alias a large sequence of empty mappings into numerous merge targets, resulting in O(N * K) processing time. Because the resource limit remains unchanged, a small YAML document can lead to prolonged CPU consumption in applications that parse untrusted YAML, as merge processing is enabled by default.
Recommendations Update js-yaml to version 3.15.2. Update js-yaml to version 4.3.2.

Exploit

Fix

DoS

Resource Exhaustion

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-84375
GHSA-2883-XCG3-V3HH

Affected Products

Js-Yaml