{"id":"CVE-2026-31988","published":"2026-03-11T22:58:48Z","modified":"2026-03-12T13:40:55Z","title":"yauzl 3.2.0 - Denial of Service via Off-by-One Error in NTFS Timestamp Parser","vendor":"thejoshwolfe","product":"yauzl","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00748,"percentile":0.5106,"provenance":"source"},"cwes":[{"id":"CWE-193","name":"Off-by-one Error"}],"references":[{"url":"https://github.com/thejoshwolfe/yauzl/commit/c4695215b05c6adffda613b9051a2a85429b33fe","tags":["patch"]},{"url":"https://www.codeant.ai/security-research/yauzl-denial-of-service-zip-file-crash","tags":["third-party-advisory"]},{"url":"https://www.npmjs.com/package/yauzl","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/yauzl-denial-of-service-via-off-by-one-error-in-ntfs-timestamp-parser","tags":["third-party-advisory"]}],"priority":{"score":13.9,"factors":[{"name":"EPSS percentile","points":10.21},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"thejoshwolfe","affectedVersions":[{"vendor":"thejoshwolfe","product":"yauzl","versions":[">= 3.2.0, < 3.2.1"]}],"fixedVersions":[{"vendor":"thejoshwolfe","product":"yauzl","versions":["3.2.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-03-12T13:40:48.738159Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"yauzl","vulnerableRanges":[">=3.2.0, <3.2.1"],"patched":["3.2.1"],"from":["GHSA-gmq8-994r-jv83"],"provenance":"source"}],"summary":{"text":"The yauzl library (version 3.2.0 for Node.js) contains an off-by-one error in the NTFS extended timestamp parser within its getLastModDate() function, where the loop bound allows reads past the end of the buffer. An attacker who can supply a crafted zip file over the network, requiring no authentication or user interaction, can crash any Node.js application that processes zip uploads and calls getLastModDate() on the parsed entries.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:51:36Z"},"euvd":{"id":"EUVD-2026-11482","exploited":false,"provenance":"source"}}