MEDIUM · 6.5

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 xmlCreatePu...

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

6.5

MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH

Affected Products

VendorProductVersions
ImagemagickImagemagick< 7.0.10-31
RedhatEnterprise Linux5.0
FedoraprojectFedora34
DebianDebian Linux9.0

Related Weaknesses (CWE)

References

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.