A flaw was found in ImageMagick in MagickCore/resize.c. An attacker who submits a crafted file that is processed by ImageMagick could trigger undefined behavior in the form of math division by zero. The highest threat from this vulnerability is to system availability.
https://lists.debian.org/debian-lts-announce/2023/05/msg00020.html
https://lists.debian.org/debian-lts-announce/2021/06/msg00000.html