CVE-2026-84375: js-yaml - Denial of Service
- Cve: CVE-2026-84375
- Name: js-yaml - Denial of Service
- Description: 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.
- Impact: Attackers can cause prolonged CPU consumption leading to denial of service by crafting small YAML documents.
- Remediation: Update to versions 3.15.2 or 4.3.2 or later.
- Vulnerability type: denial_of_service
- Vulnerability impact: denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.00541
- Epss percentile: 0.46116
- Assignee: [email protected]
- Published at: 2026-09-01T22:17:19Z
- Age in days: 84
- Modified at: 2026-09-28T22:17:33Z
- Patch available: yes
- References total: 8
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-84375
- Nvd status: deferred
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-400 | Uncontrolled Resource Consumption |
References
Same in every row:
- Source: nvd
- Tags:
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| nodeca:js-yaml | >= 5.0.0, < 5.4.1; >= 4.0.0, < 4.3.2; >= 3.0.0, < 3.15.2 | no | cna_alias_text | /v1/products/nodeca/js-yaml |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| nodeca/js-yaml | commit, fix, package, pull, releases, security_advisory | yes | /v1/repositories/nodeca/js-yaml |
Index
- Repositories: 3739
- Repositories high signal: 1910
- Packages: 1
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts