CVE-2021-3596

MEDIUMCVSS 6.5/10EPSS 1.89%

Last modified

CVE-2021-3596 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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.. EPSS estimates a 1.89% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
6.5/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

EPSS Probability
1.89%

77.0th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

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

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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.
How severe is CVE-2021-3596?
CVE-2021-3596 has a CVSS score of 6.5/10 (MEDIUM severity). The EPSS model estimates a 1.89% probability of exploitation in the next 30 days.
How do I fix CVE-2021-3596?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2021-3596?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST