CVE-2021-3596 Null dereference in ImageMagick
A NULL pointer dereference in ImageMagick's SVG parser allows attackers to cause a crash and denial of service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2021-3596?
CVE-2021-3596 is a medium-severity vulnerability in Debian Debian Linux, published on 24 Feb 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-476
Which versions are affected by CVE-2021-3596?
It affects 4 products.
Products include Debian Debian Linux, Fedoraproject Fedora, Imagemagick Imagemagick, Redhat Enterprise Linux.
How do I fix CVE-2021-3596?
Upgrade to a fixed version.
Is CVE-2021-3596 being exploited?
There is no known exploitation of CVE-2021-3596 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2021-3596, GHSA-8jv5-qv7g-fm4r, JLSEC-2026-889.