VDB
CVE-2026-59868
CVE-2026-59868
PUBLISHED
CVSS 5.3 MEDIUM
Reported by GitHub_M · Published July 8, 2026
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.
Risk Scores
CVSS 3.1
5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| nodeca | js-yaml | >= 5.0.0, < 5.2.0 |
| nodeca | js-yaml | >= 5.0.0, < 5.2.0, >= 5.0.0, < 5.2.0, >= 5.0.0, < 5.2.0 |
| npm | js-yaml | 5.0.0 |
Timeline
- Jul 8, 2026 CVE Published
- Jul 9, 2026 EPSS Score
- Jul 9, 2026 Coalition ESS Score
- Jul 13, 2026 CVE Updated
- Aug 7, 2026 EPSS Score
- Aug 13, 2026 Security Advisory
- Aug 24, 2026 EPSS Score
- Aug 26, 2026 EPSS Score
References
- https://github.com/nodeca/js-yaml/security/advisories/GHSA-g796-fgmg-93mv x_refsource_CONFIRM
- https://github.com/nodeca/js-yaml/commit/3105455b81dee69e0fd36e09ac0b2ccfdb54adc1 x_refsource_MISC
- https://github.com/nodeca/js-yaml/releases/tag/5.2.0 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-59868 advisory
- https://github.com/advisories/GHSA-g796-fgmg-93mv advisory