CVEfocus › CVE database › CVE-2026-31988

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

CVSS 5.3 MediumEPSS 0.7% (higher than 51% of CVEs)Published 2026-03-11Updated 2026-03-12Assigner: VulnCheck

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.

CWE-193

What to do

Fixed builds are available from npm: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

1Fixed
51Fix pending
3Under investigation
3Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10node-yauzlFix pendingUBUNTU-CVE-2026-31988
Ubuntu 26.04node-yauzlUnder investigationUBUNTU-CVE-2026-31988
Ubuntu 25.10node-yauzlWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2026-31988
Ubuntu 24.04node-yauzlUnder investigationUBUNTU-CVE-2026-31988
Ubuntu 22.04node-yauzlUnder investigationUBUNTU-CVE-2026-31988
Ubuntu 20.04node-yauzlFix pendingUBUNTU-CVE-2026-31988
Ubuntu 18.04node-yauzlFix pendingUBUNTU-CVE-2026-31988
Ubuntu 16.04node-yauzlFix pendingUBUNTU-CVE-2026-31988
Red Hat Enterprise Linux 10cargoFix pending
Fix deferred
Red Hat Enterprise Linux 10clippyFix pending
Fix deferred
Red Hat Enterprise Linux 10rustFix pending
Fix deferred
Red Hat Enterprise Linux 10rust-analyzerFix pending
Fix deferred
Red Hat Enterprise Linux 10rust-debugger-commonFix pending
Fix deferred
Red Hat Enterprise Linux 10rust-docFix pending
Fix deferred
Red Hat Enterprise Linux 10rust-gdbFix pending
Fix deferred
Red Hat Enterprise Linux 10rust-lldbFix pending
Fix deferred
Red Hat Enterprise Linux 10rust-srcFix pending
Fix deferred
Red Hat Enterprise Linux 10rust-std-staticFix pending
Fix deferred
Red Hat Enterprise Linux 10rust-std-static-aarch64-unknown-none-softfloatFix pending
Fix deferred
Red Hat Enterprise Linux 10rust-std-static-wasm32-unknown-unknownFix pending
Fix deferred
Red Hat Enterprise Linux 10rust-std-static-wasm32-wasip1Fix pending
Fix deferred
Red Hat Enterprise Linux 10rust-std-static-x86_64-unknown-noneFix pending
Fix deferred
Red Hat Enterprise Linux 10rust-toolsetFix pending
Fix deferred
Red Hat Enterprise Linux 10rust-toolset-srpm-macrosFix pending
Fix deferred
Red Hat Enterprise Linux 10rustfmtFix pending
Fix deferred
Red Hat Enterprise Linux 9cargoFix pending
Fix deferred
Red Hat Enterprise Linux 9clippyFix pending
Fix deferred
Red Hat Enterprise Linux 9grafanaWill not fix
Out of support scope
Red Hat Enterprise Linux 9grafana-selinuxWill not fix
Out of support scope
Red Hat Enterprise Linux 9rustFix pending
Fix deferred
Red Hat Enterprise Linux 9rust-analysisFix pending
Fix deferred
Red Hat Enterprise Linux 9rust-analyzerFix pending
Fix deferred
Red Hat Enterprise Linux 9rust-debugger-commonFix pending
Fix deferred
Red Hat Enterprise Linux 9rust-docFix pending
Fix deferred
Red Hat Enterprise Linux 9rust-gdbFix pending
Fix deferred
Red Hat Enterprise Linux 9rust-lldbFix pending
Fix deferred
Red Hat Enterprise Linux 9rust-srcFix pending
Fix deferred
Red Hat Enterprise Linux 9rust-std-staticFix pending
Fix deferred
Red Hat Enterprise Linux 9rust-std-static-wasm32-unknown-unknownFix pending
Fix deferred
Red Hat Enterprise Linux 9rust-std-static-wasm32-wasiFix pending
Fix deferred
Red Hat Enterprise Linux 9rust-std-static-wasm32-wasip1Fix pending
Fix deferred
Red Hat Enterprise Linux 9rust-toolsetFix pending
Fix deferred
Red Hat Enterprise Linux 9rustfmtFix pending
Fix deferred
Red Hat Enterprise Linux 8grafanaFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-azure-monitorFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-cloudwatchFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-elasticsearchFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-graphiteFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-influxdbFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-lokiFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-mssqlFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-mysqlFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-opentsdbFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-postgresFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-prometheusFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-selinuxFix pending
Fix deferred
Red Hat Enterprise Linux 8grafana-stackdriverFix pending
Fix deferred
npm libraryyauzlFixed3.2.1GHSA-gmq8-994r-jv83

What the vendor says

As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.