CVE Explorer
CVE-2026-59870
js-yaml is a JavaScript YAML parser and dumper. From 5.0.0 before 5.2.1, YAML11_SCHEMA support for the !!omap tag in src/tag/sequence/omap.ts uses omapTag.addItem() to perform a linear duplicate-key scan on every insertion, causing O(n^2) CPU consumption when yaml.load() parses a crafted ordered-map document. This issue is fixed in version 5.2.1.
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.1"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:30fd8d0362532b22ccd7de59b3ab0f6cc6e604c26825c3672b4cf87d13dfd90b · sha256:6197d7c07cda3504… · /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:30fd8d0362532b22ccd7de59b3ab0f6cc6e604c26825c3672b4cf87d13dfd90b · sha256:6197d7c07cda3504… · /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:30fd8d0362532b22ccd7de59b3ab0f6cc6e604c26825c3672b4cf87d13dfd90b · sha256:6197d7c07cda3504… · /containers/cna/problemTypes/0/descriptions/0
Source references
4 source assertions{"name":"https://github.com/nodeca/js-yaml/commit/39f3211a2f01b3c6982710cf21434ab7060acefe","tags":["x_refsource_MISC"],"url":"https://github.com/nodeca/js-yaml/commit/39f3211a2f01b3c6982710cf21434ab7060acefe"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:30fd8d0362532b22ccd7de59b3ab0f6cc6e604c26825c3672b4cf87d13dfd90b · sha256:6197d7c07cda3504… · /containers/cna/references/1
{"name":"https://github.com/nodeca/js-yaml/releases/tag/5.2.1","tags":["x_refsource_MISC"],"url":"https://github.com/nodeca/js-yaml/releases/tag/5.2.1"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:30fd8d0362532b22ccd7de59b3ab0f6cc6e604c26825c3672b4cf87d13dfd90b · sha256:6197d7c07cda3504… · /containers/cna/references/2
{"tags":["exploit"],"url":"https://github.com/nodeca/js-yaml/security/advisories/GHSA-724g-mxrg-4qvm"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:30fd8d0362532b22ccd7de59b3ab0f6cc6e604c26825c3672b4cf87d13dfd90b · sha256:6197d7c07cda3504… · /containers/adp/0/references/0
{"name":"https://github.com/nodeca/js-yaml/security/advisories/GHSA-724g-mxrg-4qvm","tags":["x_refsource_CONFIRM"],"url":"https://github.com/nodeca/js-yaml/security/advisories/GHSA-724g-mxrg-4qvm"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:30fd8d0362532b22ccd7de59b3ab0f6cc6e604c26825c3672b4cf87d13dfd90b · sha256:6197d7c07cda3504… · /containers/cna/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.