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

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.62%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-03-11T22:58:48.863Z
- Modified: 2026-09-10T03:50:39.202Z
- Also known as: GHSA-gmq8-994r-jv83
- Weaknesses: CWE-193
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- thejoshwolfe yauzl: from 3.2.0 before 3.2.1 (not affected: 3.2.1)
- yauzl (npm): from 3.2.0 before 3.2.1

## Every score

- VulnCheck: CVSS:4.0 6.9 Medium `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`
- VulnCheck: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:4.0 Medium `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`

## References

- <https://www.codeant.ai/security-research/yauzl-denial-of-service-zip-file-crash> (exploit, third-party-advisory, web)
- <https://github.com/thejoshwolfe/yauzl/commit/c4695215b05c6adffda613b9051a2a85429b33fe> (patch, web)
- <https://www.npmjs.com/package/yauzl> (product, web)
- <https://www.vulncheck.com/advisories/yauzl-denial-of-service-via-off-by-one-error-in-ntfs-timestamp-parser> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-31988> (advisory)
- <https://github.com/thejoshwolfe/yauzl> (package)

## Sources

- CVE List: [CVE-2026-31988](https://www.cve.org/CVERecord?id=CVE-2026-31988), CVE Terms of Use, modified 2026-03-12
- GitHub Advisory Database: [GHSA-gmq8-994r-jv83](https://github.com/advisories/GHSA-gmq8-994r-jv83), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-31988](https://nvd.nist.gov/vuln/detail/CVE-2026-31988), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-31988 · Whole record: https://cve.day/CVE-2026-31988.json · Rebuilt by cve.day 2026-11-25T22:59:15.805Z
