CVE Explorer
CVE-2026-59868
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"js-yaml","vendor":"nodeca","versions":[{"status":"affected","version":">= 5.0.0, < 5.2.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:178fe0d03a7e80c6d5c3e52257b59a289bdf8e3a5e21b880dbe2d7a99bff02ae · sha256:626f395d18750c41… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:178fe0d03a7e80c6d5c3e52257b59a289bdf8e3a5e21b880dbe2d7a99bff02ae · sha256:626f395d18750c41… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-407","description":"CWE-407: Inefficient Algorithmic Complexity","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:178fe0d03a7e80c6d5c3e52257b59a289bdf8e3a5e21b880dbe2d7a99bff02ae · sha256:626f395d18750c41… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"https://github.com/nodeca/js-yaml/commit/3105455b81dee69e0fd36e09ac0b2ccfdb54adc1","tags":["x_refsource_MISC"],"url":"https://github.com/nodeca/js-yaml/commit/3105455b81dee69e0fd36e09ac0b2ccfdb54adc1"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:178fe0d03a7e80c6d5c3e52257b59a289bdf8e3a5e21b880dbe2d7a99bff02ae · sha256:626f395d18750c41… · /containers/cna/references/1
{"name":"https://github.com/nodeca/js-yaml/releases/tag/5.2.0","tags":["x_refsource_MISC"],"url":"https://github.com/nodeca/js-yaml/releases/tag/5.2.0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:178fe0d03a7e80c6d5c3e52257b59a289bdf8e3a5e21b880dbe2d7a99bff02ae · sha256:626f395d18750c41… · /containers/cna/references/2
{"name":"https://github.com/nodeca/js-yaml/security/advisories/GHSA-g796-fgmg-93mv","tags":["x_refsource_CONFIRM"],"url":"https://github.com/nodeca/js-yaml/security/advisories/GHSA-g796-fgmg-93mv"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:178fe0d03a7e80c6d5c3e52257b59a289bdf8e3a5e21b880dbe2d7a99bff02ae · sha256:626f395d18750c41… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/nodeca/js-yaml/security/advisories/GHSA-g796-fgmg-93mv"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:178fe0d03a7e80c6d5c3e52257b59a289bdf8e3a5e21b880dbe2d7a99bff02ae · sha256:626f395d18750c41… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.