CVE catalog

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 cond

[CVE catalog]

Severity
Medium · CVSS 6.9
Published
Source
[NVD] · [CVE record]
EPSS
0.50% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debiannode-yauzlsid3.4.0-1not affected
Debiannode-yauzlforky3.4.0-1not affected
Debiannode-yauzltrixie2.10.0-4not affected
Debiannode-yauzlbookworm2.10.0-4not affected

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-yauzlsourcesidNot affectedunimportantNot reportedNot reported
Debiannode-yauzlsourceforkyNot affectedunimportantNot reportedNot reported
Debiannode-yauzlsourcetrixieNot affectedunimportantNot reportedNot reported
Debiannode-yauzlsourcebookwormNot affectedunimportantNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [node-yauzl]Not affected
    Details (2)
    • 2.10.0-4 · all · bookworm

      Not affected

      nvd · node-yauzl · debian · bookworm

    • 2.10.0-4 · all · bookworm

      Not affected

      nvd · node-yauzl · debian · bookworm

Observed:

References