Skip to main content
← All vulnerabilities
CVE-2026-31988GHSA-GMQ8-994R-JV83

yauzl 3.2.0 - Denial of Service via Off-by-One Error in NTFS Timestamp Parser

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.2.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • thejoshwolfe yauzl

    From 3.2.0 · fixed in 3.2.1

  • yauzlnpm

    From 3.2.0 · fixed in 3.2.1

References 4

GitHub · thejoshwolfe/yauzl

codeant.ai

npmjs.com

vulncheck.com