Description
The _zip_read_eocd64 function in zip_open.c in libzip before 1.3.0 mishandles EOCD records, which allows remote attackers to cause a denial of service (memory allocation failure in _zip_cdir_grow in zip_dirent.c) via a crafted ZIP archive.
Metrics
CVSS 3.1 6.5/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- https://blogs.gentoo.org/ago/2017/09/01/libzip-memory-allocation-failure-in-_zip_cdir_grow-zip_dirent-c/Patch, Third Party Advisory, VDB Entry
- https://github.com/nih-at/libzip/commit/9b46957ec98d85a572e9ef98301247f39338a3b5Issue Tracking, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/12/msg00022.htmlMailing List, Third Party Advisory
- https://blogs.gentoo.org/ago/2017/09/01/libzip-memory-allocation-failure-in-_zip_cdir_grow-zip_dirent-c/Patch, Third Party Advisory, VDB Entry
- https://github.com/nih-at/libzip/commit/9b46957ec98d85a572e9ef98301247f39338a3b5Issue Tracking, Patch, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2021/12/msg00022.htmlMailing List, Third Party Advisory
Timeline
- Published
- Sep 1, 2017
- Last modified
- Jun 17, 2026
- NVD status
- Modified