Vulnerability
CVE-2026-84375
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.
216 advisories report this vulnerability, across 9 ecosystems.
Advisories
- CGA-2659-hr44-jjf2
- CGA-26xr-q2h5-3r9j
- CGA-285x-pwcc-732c
- CGA-2fcq-wx89-hpgh
- CGA-2p28-4r4m-j9gq
- CGA-2qp7-rmgc-vq29
- CGA-2vfp-cxh4-5v4m
- CGA-2wpm-fv59-3g93
- CGA-2xm5-83gp-79pq
- CGA-32wv-w6j8-8mch
- CGA-35h4-568x-f83r
- CGA-3643-8hp9-p2fx
- CGA-3969-78wh-jh63
- CGA-3jv6-2gmv-c3r4
- CGA-3x22-xccj-xp24
- CGA-3xqh-3qvx-r885
- CGA-432r-m5q4-7w9q
- CGA-45f2-fmqc-3vj3
- CGA-48gc-5jjq-562j
- CGA-4c33-fhv5-wm8x
- CGA-4f7x-wphp-g9x2
- CGA-4mfc-xhgg-r346
- CGA-4wch-m6fr-9g73
- CGA-5288-f695-87qc
- CGA-56m3-97v5-29c7
- CGA-56q9-wjmx-3g47
- CGA-5cjc-rvmx-3p5r
- CGA-5f2r-rv23-pw89
- CGA-5gw8-346m-rpqf
- CGA-5p5c-hf28-v875
- CGA-5pw2-f4wj-2hjj
- CGA-5v7r-4fhx-6xrx
- CGA-63q7-ghqp-794h
- CGA-654j-q82x-vj93
- CGA-66hv-vc69-58cx
- CGA-6824-qc83-c37c
- CGA-68mm-9q4v-23j2
- CGA-6h3m-xhw8-pc46
- CGA-6mgr-ghg8-883f
- CGA-6p6f-q4qh-f63q
- CGA-6qfh-xcvq-6mjc
- CGA-6rcw-gwhx-8559
- CGA-6wgr-99f2-vrgj
- CGA-6xmv-9v74-fqg7
- CGA-6xqc-mc2g-83m3
- CGA-7268-82pv-6fc8
- CGA-73cx-774r-2c87
- CGA-73fx-m23v-qr5h
- CGA-7535-rwc9-48vg
- CGA-76xq-p856-fp4f
- CGA-775v-vgwc-rv66
- CGA-7784-x9h8-8cv7
- CGA-77gx-2v9q-rfmh
- CGA-7cpr-p722-8gr2
- CGA-7ffc-4mmr-3g6c
- CGA-7fvj-x66c-jp3g
- CGA-7gjm-2hgg-jgqw
- CGA-7rf5-fjff-cmf8
- CGA-7rmh-24xq-2j5g
- CGA-7vxv-24fx-97gw
- CGA-7w95-2gvh-33r6
- CGA-82gh-x274-r88v
- CGA-82h8-xmrq-rv5x
- CGA-8393-44m3-7p67
- CGA-87pw-35hv-vf5x
- CGA-8g8w-5rv5-qp8x
- CGA-8ppf-rj4h-99pj
- CGA-8v5w-wc8j-cg53
- CGA-95mv-4hh4-qpph
- CGA-969h-38pm-37wc
- CGA-976f-jfp9-qgxm
- CGA-98q8-4j3r-54c3
- CGA-9fvr-f4pg-hqw3
- CGA-9qrp-4gw2-g935
- CGA-9rr9-g282-4cw5
- CGA-9vx7-4hc4-mwr3
- CGA-c6qg-5m75-gvpf
- CGA-c8q2-642g-67m2
- CGA-cf68-wc28-c892
- CGA-cm5v-qh26-2p8f
- CGA-crwg-p38j-56r5
- CGA-f2m7-w4vj-mwrp
- CGA-f645-2r8v-mqwm
- CGA-f939-4pfc-hv6q
- CGA-ffcm-ggrw-hw29
- CGA-fff5-hvq2-qwc5
- CGA-fgm6-4hqr-jrm9
- CGA-fhh8-cfvx-hjcq
- CGA-fmcr-x45p-923r
- CGA-frhx-fj73-fjpg
- CGA-frwr-6w8x-97m4
- CGA-g3v2-mrjc-4xvp
- CGA-g5qc-83xx-w2ww
- CGA-g65m-fpj9-h77f
- CGA-gcwj-q8q7-5rr7
- CGA-gh6g-j2hx-qxfr
- CGA-gq66-9wfg-r2c2
- CGA-gx3q-656x-6qqw
- CGA-h47v-w4qr-5352
- CGA-h48x-7r7x-964j
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2026-84375.
References
- https://github.com/nodeca/js-yaml/commit/3485bc06ff8a0251505f44a00414d90df2466639
- https://github.com/nodeca/js-yaml/commit/6a8e05f9a485188ed730ac81e81ae221352ef480
- https://github.com/nodeca/js-yaml/commit/d90b6612a5a84385bdcb556c44578eac76dc0f6b
- https://github.com/nodeca/js-yaml/pull/797
- https://github.com/nodeca/js-yaml/releases/tag/3.15.2
- https://github.com/nodeca/js-yaml/releases/tag/4.3.2
- https://github.com/nodeca/js-yaml/releases/tag/5.4.1
- https://github.com/nodeca/js-yaml/security/advisories/GHSA-2883-xcg3-v3hh