{"id":"CVE-2026-31988","state":"PUBLISHED","title":"yauzl 3.2.0 - Denial of Service via Off-by-One Error in NTFS Timestamp Parser","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.","publishedAt":"2026-03-11T22:58:48.863Z","updatedAt":"2026-03-12T13:40:55.420Z","severity":{"score":6.9,"label":"Medium","version":"4.0","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","source":"VulnCheck"},"assigner":"VulnCheck","products":["thejoshwolfe yauzl"],"affected":[{"vendor":"thejoshwolfe","product":"yauzl","packageURL":"pkg:npm/yauzl","defaultStatus":"unaffected","versions":[{"version":"3.2.0","status":"affected","lessThan":"3.2.1","versionType":"semver"},{"version":"3.2.1","status":"unaffected"}]}],"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"],"weaknesses":["CWE-193"],"ingestedAt":"2026-10-29T20:11:40.391Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/31xxx/CVE-2026-31988.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-31988","state":"PUBLISHED","datePublished":"2026-03-11T22:58:48.863Z","dateUpdated":"2026-03-12T13:40:55.420Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-03-10T19:48:11.109Z"},"containers":{"cna":{"title":"yauzl 3.2.0 - Denial of Service via Off-by-One Error in NTFS Timestamp Parser","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"thejoshwolfe","product":"yauzl","packageURL":"pkg:npm/yauzl","defaultStatus":"unaffected","versions":[{"version":"3.2.0","status":"affected","lessThan":"3.2.1","versionType":"semver"},{"version":"3.2.1","status":"unaffected"}]}],"references":[{"url":"https://github.com/thejoshwolfe/yauzl/commit/c4695215b05c6adffda613b9051a2a85429b33fe","name":"Patch Commit","tags":["patch"]},{"url":"https://www.codeant.ai/security-research/yauzl-denial-of-service-zip-file-crash","name":"CodeAnt AI Security Research Advisory","tags":["third-party-advisory"]},{"url":"https://www.npmjs.com/package/yauzl","name":"npm - yauzl","tags":["product"]},{"url":"https://www.vulncheck.com/advisories/yauzl-denial-of-service-via-off-by-one-error-in-ntfs-timestamp-parser","name":"VulnCheck Advisory: yauzl 3.2.0 - Denial of Service via Off-by-One Error in NTFS Timestamp Parser","tags":["third-party-advisory"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":6.9,"baseSeverity":"MEDIUM","exploitMaturity":"NOT_DEFINED","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"LOW","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS"},{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","version":"3.1"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-193","lang":"en","description":"Off-by-one Error","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-03-11T22:58:48.863Z"},"datePublic":"2026-02-28T00:00:00.000Z","credits":[{"lang":"en","value":"CodeAnt AI Code Reviewer","type":"finder"}],"x_generator":{"engine":"vulncheck"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://www.codeant.ai/security-research/yauzl-denial-of-service-zip-file-crash","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-12T13:40:48.738159Z","id":"CVE-2026-31988","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-12T13:40:55.420Z"}}]}}}