Vulnerability
CVE-2026-59869
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.
279 advisories report this vulnerability, across 9 ecosystems.
Advisories in Wolfi
- CGA-429p-j3xf-cvhj
- CGA-42f3-9wpx-v2qx
- CGA-43v9-2cmq-pjc3
- CGA-5g23-2q93-p7cx
- CGA-5g25-c784-6q6h
- CGA-5qxc-8qv7-gmvc
- CGA-6856-wjfc-cwqv
- CGA-7prq-49xx-8xm3
- CGA-8g26-m7qw-r2f6
- CGA-8jpm-hrfp-6jqp
- CGA-c3j7-2vh7-x3f5
- CGA-c7wr-7gfq-3h94
- CGA-cjc2-p4rf-pfwg
- CGA-cq6x-fmgg-g98f
- CGA-cqrf-m7f9-ww84
- CGA-h3rx-w736-j3cf
- CGA-h3vc-h4w7-g83w
- CGA-h9gv-xhvp-mpcf
- CGA-hc22-5jx6-3896
- CGA-hxvr-q797-j6hj
- CGA-m956-76qq-mprf
- CGA-px9f-fpwv-3x88
- CGA-q9fc-f4r5-vhp9
- CGA-qwhh-9vxm-f7gc
- CGA-qwr6-57x5-9hr8
- CGA-rfqc-qw37-r27m
- CGA-rpfw-2h89-39hq
- CGA-rwpr-mq78-qmm9
- CGA-rxjp-8h84-jm6w
- CGA-vxvj-86q5-qhq5
- CGA-w745-wv97-h55m
References
- https://github.com/nodeca/js-yaml/commit/24f13e79ee1343a7e30bd6f6c9d9cdbf0ac9b2b7
- https://github.com/nodeca/js-yaml/commit/59423c6f8cdc78742ac00e25a4dd39ef16b702e4
- https://github.com/nodeca/js-yaml/releases/tag/3.15.0
- https://github.com/nodeca/js-yaml/releases/tag/4.3.0
- https://github.com/nodeca/js-yaml/security/advisories/GHSA-52cp-r559-cp3m