{"id":"CVE-2026-31988","aliases":["CVE-2026-31988","GHSA-gmq8-994r-jv83"],"related":[],"kind":"vulnerability","state":"published","title":"yauzl 3.2.0 - Denial of Service via Off-by-One Error in NTFS Timestamp Parser","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"yauzl (también conocida como Yet Another Unzip Library) versión 3.2.0 para Node.js contiene un error de off-by-one en el analizador del campo extra de marca de tiempo extendida NTFS dentro de la función getLastModDate(). La condición del bucle 'while' comprueba cursor &lt; data.length + 4 en lugar de cursor + 4 &lt;= data.length, permitiendo que readUInt16LE() lea más allá del límite del búfer. Un atacante remoto puede causar una denegación de servicio (caída del proceso a través de una excepción ERR_OUT_OF_RANGE) al enviar un archivo zip manipulado con un campo extra NTFS malformado. Esto afecta a cualquier aplicación Node.js que procesa cargas de archivos zip y llama a entry.getLastModDate() en las entradas analizadas. Corregido en la versión 3.2.1.","source":"nvd"}],"published":"2026-03-11T22:58:48.863Z","modified":"2026-09-10T03:50:39.202Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":6.9,"rating":"MEDIUM"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"MEDIUM"}],"cwes":["CWE-193"],"affected":[{"ranges":[{"type":"semver","introduced":"3.2.0","fixed":"3.2.1","status":"affected"},{"version":"3.2.1","status":"unaffected"}],"vendor":"thejoshwolfe","product":"yauzl","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"3.2.0","status":"affected","fixed":"3.2.1"}],"ecosystem":"npm","package":"yauzl","purl":"pkg:npm/yauzl","source":"ghsa"}],"references":[{"url":"https://github.com/thejoshwolfe/yauzl/commit/c4695215b05c6adffda613b9051a2a85429b33fe","tags":["patch","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.codeant.ai/security-research/yauzl-denial-of-service-zip-file-crash","tags":["exploit","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.npmjs.com/package/yauzl","tags":["product","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.vulncheck.com/advisories/yauzl-denial-of-service-via-off-by-one-error-in-ntfs-timestamp-parser","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31988","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/thejoshwolfe/yauzl","tags":["package"],"sources":["ghsa"]}],"credits":["CodeAnt AI Code Reviewer"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-03-12T13:40:48.738Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31988","url":"https://www.cve.org/CVERecord?id=CVE-2026-31988","licence":"CVE Terms of Use","modified":"2026-03-12T13:40:55.420Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-gmq8-994r-jv83","url":"https://github.com/advisories/GHSA-gmq8-994r-jv83","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:39.202Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31988","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31988","licence":"Public domain","modified":"2026-06-17T10:34:53.130Z"}],"updatedAt":"2026-11-25T22:59:15.805Z","epss":{"score":0.00624,"percentile":0.51276,"date":"2026-12-01T12:00:22.000Z"}}