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 (78.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 79th percentile — 78.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.019 · newest: 0.019 · change: 0.000
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 proof-of-concept exploits
References
- github.com/ImageMagick/ImageMagick/issues/2624 (Exploit, Third Party Advisory, Issue Tracking)
- bugzilla.redhat.com/show_bug.cgi (Third Party Advisory, Issue Tracking)
- lists.debian.org/debian-lts-announce/2022/05/msg00018.html (mailing-list, Mailing List, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2023/03/msg00008.html (mailing-list)
Frequently asked questions
- What is CVE-2021-3596?
- CVE-2021-3596 is a medium-severity vulnerability in Imagemagick, classified under NULL Pointer Dereference. CVSS score: 6.5/10. Published 2022-02-24.
- How severe is CVE-2021-3596?
- Medium severity. CVSS v3 base score is 6.5 out of 10.
- Is CVE-2021-3596 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.