Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Imagemagick | Imagemagick | < 7.0.10-31 |
| Redhat | Enterprise Linux | 5.0 |
| Fedoraproject | Fedora | 34 |
| Debian | Debian Linux | 9.0 |
Related Weaknesses (CWE)
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1970569Issue TrackingThird Party Advisory
- https://github.com/ImageMagick/ImageMagick/issues/2624ExploitIssue TrackingThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/05/msg00018.htmlMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html
- https://bugzilla.redhat.com/show_bug.cgi?id=1970569Issue TrackingThird Party Advisory
- https://github.com/ImageMagick/ImageMagick/issues/2624ExploitIssue TrackingThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2022/05/msg00018.htmlMailing ListThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/03/msg00008.html
FAQ
What is CVE-2021-3596?
CVE-2021-3596 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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 xmlCreatePu...
How severe is CVE-2021-3596?
CVE-2021-3596 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-3596?
Check the references section above for vendor advisories and patch information. Affected products include: Imagemagick Imagemagick, Redhat Enterprise Linux, Fedoraproject Fedora, Debian Debian Linux.