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

Medium 6.9 Published Updated

A remote attacker can crash Node.js applications processing zip files by sending a crafted archive with a malformed NTFS timestamp field.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-31988?

CVE-2026-31988 is a medium-severity denial of service vulnerability in thejoshwolfe yauzl, published on 11 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-193

Which versions are affected by CVE-2026-31988?

2 open source packages ship an affected version, including yauzl.

PackageAffectedFixed in
yauzl npmFrom 3.2.03.2.1
yauzl npmFrom 3.2.03.2.1

How do I fix CVE-2026-31988?

Upgrade yauzl to 3.2.1 or later.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-31988 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-31988 exists.

Sources

Also known as ECHO-8347-6a0d-51d6, GHSA-gmq8-994r-jv83, MINI-22cx-g8jr-7fg7, MINI-2m86-62mx-874f, MINI-5ff9-68hf-p3v7, MINI-696q-7r8m-2793 and 11 more.

Is CVE-2026-31988 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free