A flaw was found in libXpm. When processing a file with width of 0 and a very large height, some parser functions will be called repeatedly and can lead to an infinite loop, resulting in a Denial of Service in the application linked to the library.
https://lists.x.org/archives/xorg-announce/2023-January/003312.html
https://lists.debian.org/debian-lts-announce/2023/06/msg00021.html
https://gitlab.freedesktop.org/xorg/lib/libxpm/-/merge_requests/9
https://gitlab.freedesktop.org/xorg/lib/libxpm/-/commit/f80fa6ae47ad4a5beacb28