First published: Thu Jun 10 2021(Updated: )
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.
Credit: secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
ImageMagick ImageMagick | <7.0.10-31 | |
Redhat Enterprise Linux | =5.0 | |
Redhat Enterprise Linux | =6.0 | |
Redhat Enterprise Linux | =7.0 | |
Fedoraproject Fedora | =34 | |
Debian Debian Linux | =9.0 | |
redhat/ImageMagick 7.0.10 | <31 | 31 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2021-3596 is a vulnerability in ImageMagick that allows for a NULL pointer dereference, leading to a crash and segmentation fault.
Versions prior to 7.0.10-31 of ImageMagick are affected by CVE-2021-3596.
CVE-2021-3596 has a severity rating of 6.5, which is considered medium severity.
To fix CVE-2021-3596, you should update ImageMagick to version 7.0.10-31 or later.
You can find more information about CVE-2021-3596 in the following references: [Bugzilla Red Hat](https://bugzilla.redhat.com/show_bug.cgi?id=1970569), [GitHub ImageMagick Issues](https://github.com/ImageMagick/ImageMagick/issues/2624), and [Debian LTS Announce](https://lists.debian.org/debian-lts-announce/2022/05/msg00018.html).