A NULL pointer dereference flaw was found in ImageMagick in versions prior to 7.0.10-31 in ReadSVGImage() in coders/svg.c. This issue is due to not checking the return value from libxml2's xmlCreatePushParserCtxt() and uses the value directly, which leads to a crash and segmentation fault.
https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html
https://lists.debian.org/debian-lts-announce/2022/05/msg00018.html