YAML Processing Vulnerability in js-yaml JavaScript Library
CVE-2026-84375

7.5HIGH

Key Information:

Vendor

Nodeca

Status
Vendor
CVE Published:
1 September 2026

What is CVE-2026-84375?

The js-yaml library, widely used for parsing and dumping YAML in JavaScript applications, is susceptible to a resource consumption vulnerability. This issue arises when processing merge keys in YAML documents containing empty mappings, which can lead to significant and prolonged CPU load during parsing operations. An attacker may exploit this vulnerability by crafting small YAML documents that cause excessive processing time due to an inefficient handling of merge targets. This issue affects versions from 3.0.0 to 3.15.2 and 4.3.2, with updates available to mitigate the problem.

Affected Version(s)

js-yaml >= 3.0.0, < 3.15.2 < 3.0.0, 3.15.2

js-yaml >= 4.0.0, < 4.3.2 < 4.0.0, 4.3.2

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.