A flaw was found in libXpm. This issue occurs when parsing a file with a comment not closed; the end-of-file condition will not be detected, leading to an infinite loop and 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/a3a7c6dcc3b629d7650148
https://bugzilla.redhat.com/show_bug.cgi?id=2160092