{"cve":"CVE-2026-31988","nvd":{"published":"2026-03-11T23:16:00.530","modified":"2026-06-17T10:34:53.130","status":"Deferred","description":"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.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","score":6.9},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3},"cwes":["CWE-193"],"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","https://www.codeant.ai/security-research/yauzl-denial-of-service-zip-file-crash"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:25:53.701907451+00:00"},"epss":{"cve":"CVE-2026-31988","score":0.00515,"percentile":0.43892,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-gmq8-994r-jv83","url":"https://osv.dev/vulnerability/GHSA-gmq8-994r-jv83","summary":"yauzl contains an off-by-one error","modified":"2026-09-10T03:50:39.202483418Z","packages":[{"ecosystem":"npm","name":"yauzl","purl":"pkg:npm/yauzl","ranges":[">=3.2.0 <3.2.1"],"fixed":["3.2.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}