{"id":"CVE-2026-53550","published":"2026-06-22T14:59:14Z","modified":"2026-06-29T15:06:58Z","title":"js-yaml: Quadratic-complexity DoS in merge key handling via repeated aliases","vendor":"nodeca","product":"js-yaml","tier":"tail","description":{"text":"js-yaml is a JavaScript YAML parser and dumper. Prior to 4.2.0 and 3.15.0, a crafted YAML document can trigger algorithmic CPU exhaustion in js-yaml merge-key processing (<<) by repeating the same alias many times in a merge sequence. This causes quadratic parse-time behavior relative to input size and can block a Node.js worker/event loop for seconds with a relatively small payload (tens of KB), resulting in denial of service. The issue is in merge handling inside lib/loader.js. This vulnerability is fixed in 4.2.0 and 3.15.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00415,"percentile":0.36731,"provenance":"source"},"cwes":[{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"}],"references":[{"url":"https://github.com/nodeca/js-yaml/security/advisories/GHSA-h67p-54hq-rp68","tags":["x_refsource_CONFIRM"]}],"priority":{"score":11.1,"factors":[{"name":"EPSS percentile","points":7.35},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"nodeca","affectedVersions":[{"vendor":"nodeca","product":"js-yaml","versions":[">= 4.0.0, < 4.2.0","< 3.15.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-06-23T16:05:40.611324Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"js-yaml","vulnerableRanges":[">=4.0.0, <4.2.0","<3.15.0"],"patched":["4.2.0","3.15.0"],"from":["GHSA-h67p-54hq-rp68"],"provenance":"source"}],"summary":{"text":"The js-yaml YAML parser (nodeca/js-yaml) has a quadratic-complexity flaw in its merge-key (<<) handling in lib/loader.js, where repeating the same alias many times in a merge sequence triggers algorithmic CPU exhaustion. An unauthenticated remote attacker who can supply a crafted YAML document to an affected parser can, with a payload of only tens of kilobytes and no user interaction, block a Node.js worker or event loop for seconds, causing denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:00:33Z"},"euvd":{"id":"EUVD-2026-38256","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2013-4660","published":"2013-06-28","fixed":"2.0.5","kev":false},{"cve":"CVE-2025-64718","published":"2025-11-13","fixed":"4.1.1","kev":false,"link":{"from":"CVE-2025-64718","to":"CVE-2026-53550","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:js-yaml","fromFixed":"4.1.1","toFixed":"4.2.0","daysApart":221},{"kind":"version-step","provenance":"source","package":"npm:js-yaml","fromFixed":"3.14.2","toFixed":"3.15.0","daysApart":221}]}},{"cve":"CVE-2026-53550","published":"2026-06-22","fixed":"4.2.0","kev":false},{"cve":"CVE-2026-59869","published":"2026-07-08","fixed":"4.3.0","kev":false,"link":{"from":"CVE-2026-53550","to":"CVE-2026-59869","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:js-yaml","fromFixed":"4.2.0","toFixed":"4.3.0","daysApart":16}]}},{"cve":"CVE-2026-84375","published":"2026-09-01","fixed":"4.3.2","kev":false},{"cve":"CVE-2026-59868","published":"2026-07-08","fixed":"5.2.0","kev":false}],"package":"npm:js-yaml"}}