← Voltar para CVEs
CVE-2026-31988
MEDIUM5.3
Descricao
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.
Detalhes CVE
Pontuacao CVSS v3.15.3
SeveridadeMEDIUM
Vetor CVSSCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Vetor de ataqueNETWORK
ComplexidadeLOW
Privilegios necessariosNONE
Interacao do usuarioNONE
Publicado3/11/2026
Ultima modificacao3/12/2026
Fontenvd
Avistamentos honeypot0
Fraquezas (CWE)
CWE-193
Referencias
https://github.com/thejoshwolfe/yauzl/commit/c4695215b05c6adffda613b9051a2a85429b33fe(disclosure@vulncheck.com)
https://www.codeant.ai/security-research/yauzl-denial-of-service-zip-file-crash(disclosure@vulncheck.com)
https://www.npmjs.com/package/yauzl(disclosure@vulncheck.com)
https://www.vulncheck.com/advisories/yauzl-denial-of-service-via-off-by-one-error-in-ntfs-timestamp-parser(disclosure@vulncheck.com)
https://www.codeant.ai/security-research/yauzl-denial-of-service-zip-file-crash(134c704f-9b21-4f2e-91b3-4a467353bcc0)
Correlacoes IOC
Sem correlacoes registradas
This product uses data from the NVD API but is not endorsed or certified by the NVD.