CVE-2026-31988Off-by-one Error in Yauzl

CWE-193Off-by-one Error12 documents7 sources
Severity
6.9MEDIUMNVD
EPSS
0.1%
top 65.17%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMar 11
Latest updateApr 17

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 a

CVSS 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

Affected Packages16 packages

🔴Vulnerability Details

3
GHSA
yauzl contains an off-by-one error2026-03-12
OSV
yauzl contains an off-by-one error2026-03-12
OSV
CVE-2026-31988: yauzl (aka Yet Another Unzip Library) version 32026-03-11

📋Vendor Advisories

2
Red Hat
yauzl: yauzl: Denial of Service vulnerability in zip file processing2026-03-11
Debian
CVE-2026-31988: node-yauzl - yauzl (aka Yet Another Unzip Library) version 3.2.0 for Node.js contains an off-...2026

🕵️Threat Intelligence

1
Wiz
CVE-2026-31988 Impact, Exploitability, and Mitigation Steps | Wiz

💬Community

5
Bugzilla
CVE-2026-31988 rust: yauzl: Denial of Service vulnerability in zip file processing [fedora-all]2026-04-17
Bugzilla
CVE-2026-31988 qt5-qtwebengine: yauzl: Denial of Service vulnerability in zip file processing [fedora-all]2026-04-17
Bugzilla
CVE-2026-31988 qt6-qtwebengine: yauzl: Denial of Service vulnerability in zip file processing [epel-all]2026-04-17
Bugzilla
CVE-2026-31988 yarnpkg: yauzl: Denial of Service vulnerability in zip file processing [epel-all]2026-04-17
Bugzilla
CVE-2026-31988 yarnpkg: yauzl: Denial of Service vulnerability in zip file processing [fedora-all]2026-04-17