{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-59869","id":"CVE-2026-59869","title":"js-yaml: YAML merge-key chains can force quadratic CPU consumption","description":"js-yaml is a JavaScript YAML parser and dumper. From 3.0.0 before 3.15.0 and from 4.0.0 before 4.3.0, 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 versions 3.15.0 and 4.3.0.","descriptionLong":"js-yaml is a JavaScript YAML parser and dumper. From 3.0.0 before 3.15.0 and from 4.0.0 before 4.3.0, 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 versions 3.15.0 and 4.3.0.","published":"2026-07-08T15:15:54.675Z","updated":"2026-10-28T02:31:09.144041435Z","reserved":"2026-07-07T15:41:53.607Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["nodeca js-yaml"],"affectedProducts":[{"vendor":"nodeca","product":"js-yaml","defaultStatus":null,"versions":[{"version":">= 3.0.0, < 3.15.0","status":"affected"},{"version":">= 4.0.0, < 4.3.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"js-yaml","purl":"pkg:npm/js-yaml","ranges":[">=3.0.0 <3.15.0",">=4.0.0 <4.3.0"],"fixed":["3.15.0","4.3.0"],"advisory":"GHSA-52cp-r559-cp3m"}],"cwes":["CWE-407","CWE-400"],"aliases":["GHSA-52cp-r559-cp3m"],"references":[{"url":"https://github.com/nodeca/js-yaml/security/advisories/GHSA-52cp-r559-cp3m","tags":["x_refsource_CONFIRM","exploit","Exploit","Vendor Advisory","advisory","web"]},{"url":"https://github.com/nodeca/js-yaml/commit/24f13e79ee1343a7e30bd6f6c9d9cdbf0ac9b2b7","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/nodeca/js-yaml/commit/59423c6f8cdc78742ac00e25a4dd39ef16b702e4","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/nodeca/js-yaml/releases/tag/3.15.0","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/nodeca/js-yaml/releases/tag/4.3.0","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59869.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59869","tags":["advisory"]},{"url":"https://github.com/nodeca/js-yaml","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.00585,"epssPercentile":0.48764,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-59869","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59869","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-59869","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-52cp-r559-cp3m","ok":true,"note":"GHSA-52cp-r559-cp3m"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-59869","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}