CVE-2021-3596

Summary

CVECVE-2021-3596
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-02-24 19:15:00 UTC
Updated2023-03-11 23:15:00 UTC
DescriptionA 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.

Risk And Classification

Problem Types: CWE-476

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 9.0 All All All
Operating System Fedoraproject Fedora 34 All All All
Application Imagemagick Imagemagick All All All All
Operating System Redhat Enterprise Linux 5.0 All All All
Operating System Redhat Enterprise Linux 6.0 All All All
Operating System Redhat Enterprise Linux 7.0 All All All

References

ReferenceSourceLinkTags
[SECURITY] [DLA-3007-1] imagemagick security update MLIST lists.debian.org
1970569 – (CVE-2021-3596) CVE-2021-3596 ImageMagick: NULL pointer dereference in ReadSVGImage() in coders/svg.c MISC bugzilla.redhat.com
Null Pointer dereference caused by incomplete check of the return value from libxml2 in ReadSVGImage svg.c:3621 · Issue #2624 · ImageMagick/ImageMagick · GitHub MISC github.com
[SECURITY] [DLA 3357-1] imagemagick security update MLIST lists.debian.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 179264 Debian Security Update for imagemagick (CVE-2021-3596)
  • 180928 Debian Security Update for imagemagick (DLA-3007-1)
  • 181625 Debian Security Update for imagemagick (DLA 3357-1)
  • 356144 Amazon Linux Security Advisory for ImageMagick : ALAS2-2023-2253
  • 502533 Alpine Linux Security Update for imagemagick
  • 672055 EulerOS Security Update for imagemagick (EulerOS-SA-2022-2223)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report