Vulnerabilities · 2021 · Imagemagick
CVE-2021-3596
Imagemagick vulnerability
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.
Affected products
Imagemagick, Enterprise Linux, Fedora, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Imagemagick runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- bugzilla.redhat.com/show_bug.cgi?id=1970569 · Third Party Advisory
- github.com/ImageMagick/ImageMagick/issues/2624 · Exploit
- lists.debian.org/debian-lts-announce/2022/05/msg00018.html · Third Party Advisory
- lists.debian.org/debian-lts-announce/2023/03/msg00008.html
- nvd.nist.gov/vuln/detail/CVE-2021-3596
- cve.org/CVERecord?id=CVE-2021-3596
More vulnerabilities in Imagemagick products
CVE-2026-23876CVE-2026-23874CVE-2026-22770CVE-2025-69204CVE-2025-68950CVE-2025-68618CVE-2025-68469CVE-2025-66628All 670
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.