{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-84375","id":"CVE-2026-84375","title":"js-yaml: maxTotalMergeKeys does not limit CPU use for empty merge sources","description":"js-yaml is a JavaScript YAML parser and dumper. From 3.0.0 until 3.15.2, 4.3.2, and 5.4.1, maxTotalMergeKeys in lib/js-yaml/loader.js and lib/loader.js does not count empty mapping sources while processing the merge key <<. An attacker can alias a large sequence of empty mappings into many merge targets, causing O(N * K) processing while totalMergeKeys remains unchanged and the configured resource","descriptionLong":"js-yaml is a JavaScript YAML parser and dumper. From 3.0.0 until 3.15.2, 4.3.2, and 5.4.1, maxTotalMergeKeys in lib/js-yaml/loader.js and lib/loader.js does not count empty mapping sources while processing the merge key <<. An attacker can alias a large sequence of empty mappings into many merge targets, causing O(N * K) processing while totalMergeKeys remains unchanged and the configured resource limit is never reached. A relatively small YAML document can therefore cause prolonged CPU consumption in applications that parse untrusted YAML, and merge processing is enabled by default on these release lines. In v3 & v4, merge is enabled by default so the severity score is higher. This issue is fixed in versions 3.15.2, 4.3.2, and 5.4.1.","published":"2026-09-01T21:43:13.617Z","updated":"2026-10-28T02:30:32.619677209Z","reserved":"2026-09-01T16:27:58.129Z","status":"Deferred","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.2","status":"affected"},{"version":">= 4.0.0, < 4.3.2","status":"affected"},{"version":">= 5.0.0, < 5.4.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"js-yaml","purl":"pkg:npm/js-yaml","ranges":[">=4.0.0 <4.3.2",">=3.0.0 <3.15.2"],"fixed":["4.3.2","3.15.2"],"advisory":"GHSA-2883-xcg3-v3hh"}],"cwes":["CWE-400","CWE-407"],"aliases":["GHSA-2883-xcg3-v3hh"],"references":[{"url":"https://github.com/nodeca/js-yaml/security/advisories/GHSA-2883-xcg3-v3hh","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/nodeca/js-yaml/pull/797","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/nodeca/js-yaml/commit/3485bc06ff8a0251505f44a00414d90df2466639","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/nodeca/js-yaml/commit/6a8e05f9a485188ed730ac81e81ae221352ef480","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/nodeca/js-yaml/commit/d90b6612a5a84385bdcb556c44578eac76dc0f6b","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/nodeca/js-yaml/releases/tag/3.15.2","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/nodeca/js-yaml/releases/tag/4.3.2","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/nodeca/js-yaml/releases/tag/5.4.1","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/84xxx/CVE-2026-84375.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-84375","tags":["advisory"]},{"url":"https://github.com/nodeca/js-yaml","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00541,"epssPercentile":0.46269,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-84375","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-84375","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-84375","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-2883-xcg3-v3hh","ok":true,"note":"GHSA-2883-xcg3-v3hh"},{"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-84375","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}