A flaw was found in ImageMagick in versions before 7.0.11 and before 6.9.12, where a division by zero in WaveImage() of MagickCore/visual-effects.c may trigger undefined behavior via a crafted image file submitted to an application using ImageMagick. 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