In GIFLIB before 2019-02-16, a malformed GIF file triggers a divide-by-zero exception in the decoder function DGifSlurp in dgif_lib.c if the height field of the ImageSize data structure is equal to zero.
https://usn.ubuntu.com/4107-1/
https://lists.debian.org/debian-lts-announce/2022/12/msg00008.html