CVE-2026-31988
published medium CVSS 4.0 · 6.9yauzl 3.2.0 - Denial of Service via Off-by-One Error in NTFS Timestamp Parser
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| thejoshwolfe | — | yauzl3.2.0 to < 3.2.1 (affected · semver) · 3.2.1 (unaffected) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 5.3 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| thejoshwolfe | yauzl | 3.2.0 to < 3.2.1 (affected · semver)3.2.1 (unaffected)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-193 Off-by-one Error
References
4- Patch Commit https://github.com/thejoshwolfe/yauzl/commit/c4695215b05c6adffda613b9051a2a85429b33fe
- CodeAnt AI Security Research Advisory https://www.codeant.ai/security-research/yauzl-denial-of-service-zip-file-crash
- npm - yauzl https://www.npmjs.com/package/yauzl
- VulnCheck Advisory: yauzl 3.2.0 - Denial of Service via Off-by-One Error in NTFS Timestamp Parser https://www.vulncheck.com/advisories/yauzl-denial-of-service-via-off-by-one-error-in-ntfs-timestamp-parser
Provider assertions
2VulnCheck · cna
yauzl 3.2.0 - Denial of Service via Off-by-One Error in NTFS Timestamp Parser
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c083ecc49aeb67118cdee8930e67fcd1364e379d49bdf103133827c17513e565
- Ingested
- 23 Sep 2026, 09:09:43 UTC
- Source record
- Official CVE record