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.
https://lists.debian.org/debian-lts-announce/2021/12/msg00022.html
https://github.com/nih-at/libzip/commit/9b46957ec98d85a572e9ef98301247f39338a3b5