NULL pointer dereference in Imagemagick
CVE-2021-3596
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.019, 80.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Imagemagick
- Debian Linux — versions 9.0
- Fedoraproject Fedora — versions 34
- Red Hat Enterprise Linux — versions 5.0, 6.0, 7.0
- Imagemagick — versions ImageMagick 7.0.10-31
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (s-cube-xmu/Bug_List). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- github.com/ImageMagick/ImageMagick/issues/2624 (Exploit, Third Party Advisory, Issue Tracking)
- bugzilla.redhat.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- [debian-lts-announce] 20220514 [SECURITY] [DLA-3007-1] imagemagick security update (mailing-list, Mailing List, Third Party Advisory)
- [debian-lts-announce] 20230311 [SECURITY] [DLA 3357-1] imagemagick security update (mailing-list)