CVE-2026-59868: js-yaml - Denial of Service
- Cve: CVE-2026-59868
- Name: js-yaml - Denial of Service
- Description: js-yaml is a JavaScript YAML parser and dumper. From 5.0.0 before 5.2.0, when merge keys are enabled, 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 version 5.2.0.
- Impact: Attackers can cause high CPU usage leading to denial of service.
- Remediation: Update to version 5.2.0 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.00644
- Epss percentile: 0.51617
- Assignee: [email protected]
- Published at: 2026-07-08T16:16:33Z
- Age in days: 139
- Modified at: 2026-10-25T20:10:00Z
- Patch available: yes
- Public exploits total: 1
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-59868
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-407 | Inefficient Algorithmic Complexity |
| CWE-770 | Allocation of Resources Without Limits or Throttling |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/nodeca/js-yaml/security/advisories/GHSA-g796-fgmg-93mv | nvd | 2026-07-08 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| nodeca:js-yaml | >= 5.0.0, < 5.2.0 | no | nvd | /v1/products/nodeca/js-yaml |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| nodeca/js-yaml | commit, fix, package, releases, security_advisory | yes | /v1/repositories/nodeca/js-yaml |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2026-07-08
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts