Vulnerability
CVE-2026-31988
yauzl (aka Yet Another Unzip Library) version 3.2.0 for Node.js contains an off-by-one error in the NTFS extended timestamp extra field parser within the getLastModDate() function. The while loop condition checks cursor < data.length + 4 instead of cursor + 4 <= data.length, allowing readUInt16LE() to read past the buffer boundary. A remote attacker can cause a denial of service (process crash via ERR_OUT_OF_RANGE exception) by sending a crafted zip file with a malformed NTFS extra field. This affects any Node.js application that processes zip file uploads and calls entry.getLastModDate() on parsed entries. Fixed in version 3.2.1.
123 advisories report this vulnerability, across 5 ecosystems.
Advisories
- CGA-238q-rc33-9mhj
- CGA-27j7-m65p-g4f9
- CGA-29xj-mfw6-c4ch
- CGA-2p3g-pjq9-g3q6
- CGA-2pcw-x75w-pjxq
- CGA-2qhh-jgwx-v3g5
- CGA-334p-vfvj-gqr4
- CGA-362m-x95x-q276
- CGA-36ww-r3cc-9xc8
- CGA-37c9-p758-59q2
- CGA-37j4-4v25-3hvm
- CGA-39wm-w6wc-p9wm
- CGA-3f2h-mw88-jqw7
- CGA-3xf9-hmqg-9qwf
- CGA-4329-jwrp-hqpw
- CGA-46jv-c3w3-6gg7
- CGA-49f7-f6mr-c38f
- CGA-4cwr-mqxh-5wfc
- CGA-4g9r-whmc-x3c6
- CGA-4hrm-7vv9-rwfx
- CGA-4m4x-r9g3-fj3q
- CGA-4mfr-2379-4pp9
- CGA-4xmj-mqmp-f7c9
- CGA-4xq7-vgxj-q6j4
- CGA-53jw-w3m8-7h4f
- CGA-54hc-5vxm-w9hp
- CGA-56m6-f724-9jvj
- CGA-5h4c-5qj6-vjg2
- CGA-5pxv-x9m7-6w9w
- CGA-5qrm-mr22-pgwr
- CGA-62qr-wx9q-vc57
- CGA-65wr-whrw-xr42
- CGA-672x-r78f-wwmq
- CGA-6h7m-xvh5-x9gp
- CGA-6vv8-99r3-qvj5
- CGA-6wm8-fpmm-2f4q
- CGA-75wm-8r2m-cp59
- CGA-79jw-9652-r786
- CGA-7xcw-47j9-4m66
- CGA-84mh-mxvh-64v4
- CGA-8546-vc9g-r5mr
- CGA-87pm-v53j-v2p9
- CGA-886m-4rvc-9333
- CGA-89gj-8vgf-3f6f
- CGA-8ghr-qw57-38x4
- CGA-8vfj-jpv6-j2pv
- CGA-9c8q-vc8r-g4hq
- CGA-9x3x-rhww-x45m
- CGA-c6p8-mpxp-9wmc
- CGA-c6rg-3wc9-rmj8
- CGA-ccw2-p49f-jp2p
- CGA-cp24-xhh4-7656
- CGA-f2hw-x4pf-xjhp
- CGA-f6xp-vgxm-236q
- CGA-fhpm-pp7h-rpf9
- CGA-fpj8-g9rq-66qq
- CGA-fpr6-2vcm-jm27
- CGA-fx4r-jp47-4ffj
- CGA-g8v5-rr9h-7q2j
- CGA-gc25-wv34-h52p
- CGA-gchg-5m7j-7gjj
- CGA-gffv-gvwv-79hr
- CGA-ghr6-g5f5-x269
- CGA-ghwv-q8fh-2v9h
- CGA-gjj4-mr8x-p5jp
- CGA-h495-7hgw-8hvw
- CGA-h84v-hgw3-3f4c
- CGA-hp3h-96cm-jm82
- CGA-hqj5-xqrp-m93w
- CGA-j47g-6frw-g5w9
- CGA-j688-vw22-75gx
- CGA-j86m-h8wj-967x
- CGA-jc9x-vqj6-q93g
- CGA-jmpp-j4x8-6phq
- CGA-jrcw-fx39-v28h
- CGA-jvvc-4wxf-vp58
- CGA-jw6h-xqjg-5prm
- CGA-jxwh-w243-j494
- CGA-m52v-g5fq-73qj
- CGA-mcmp-6v78-xf32
- CGA-mf7g-66p8-6429
- CGA-mfrw-grg3-mjhw
- CGA-mq6h-7mh5-f6fm
- CGA-mr3f-5qgw-xr6g
- CGA-mw2c-j88j-8qhf
- CGA-p455-p8jw-25ch
- CGA-pj55-jr3x-mfqh
- CGA-pwg4-3326-3r48
- CGA-q4fw-phr2-3hhj
- CGA-q739-qrpf-rcfx
- CGA-q7jv-2xwr-x943
- CGA-qcr8-54hw-r3f3
- CGA-qg58-f58f-w9jf
- CGA-qgv6-wqg4-qqf8
- CGA-qm49-2hcc-vg59
- CGA-qm49-mhmh-279c
- CGA-qqcc-857h-hc8m
- CGA-qxjr-39qx-gx95
- CGA-r4r2-c729-j85p
- CGA-rcg9-qqf9-7j86
Showing the first 100. The API lists them all: /api/v1/vulnerabilities/CVE-2026-31988.
References
- https://github.com/thejoshwolfe/yauzl/commit/c4695215b05c6adffda613b9051a2a85429b33fe
- https://www.codeant.ai/security-research/yauzl-denial-of-service-zip-file-crash
- https://www.npmjs.com/package/yauzl
- https://www.vulncheck.com/advisories/yauzl-denial-of-service-via-off-by-one-error-in-ntfs-timestamp-parser