PT-2021-7758

CVE-2021-3596

·

Published

2021-06-10

·

Updated

2026-10-31

Description by

CVSS 2.0
7.1
High
MetricsAV:N/AC:M/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions ImageMagick versions prior to 7.0.10-31
Description The issue is related to a NULL pointer dereference flaw in the ReadSVGImage() function of the coders/svg.c component. This flaw is caused by not checking the return value from libxml2's xmlCreatePushParserCtxt() and using the value directly, leading to a crash and segmentation fault. The flaw can be exploited by a remote attacker to cause a denial of service.
Recommendations For versions prior to 7.0.10-31, update to version 7.0.10-31 or later to resolve the issue. As a temporary workaround, consider disabling the ReadSVGImage() function in coders/svg.c to prevent exploitation until a patch is applied. Restrict access to the coders/svg.c component to minimize the risk of exploitation. Avoid using the xmlCreatePushParserCtxt() function from libxml2 in the affected ReadSVGImage() function until the issue is resolved.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
ALT-PU-2023-5309
CLEANSTART-2025-IA78861
DLA-3007-1
DLA-3357-1
DLA-3357-2
OESA-2022-1579
OESA-2022-2091
Found an issue in the description? Have something to add? Feel free to write us 👾