CVE-2021-3596

MEDIUM

ImageMagick <7.0.10-31 - NULL Pointer Dereference

Title source: llm
STIX 2.1

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.

References (4)

Core 4
Core References
Mailing List, Third Party Advisory mailing-list
https://lists.debian.org/debian-lts-announce/2022/05/msg00018.html
Issue Tracking, Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=1970569
Exploit, Issue Tracking, Third Party Advisory
https://github.com/ImageMagick/ImageMagick/issues/2624

Scores

CVSS v3 6.5
EPSS 0.0017
EPSS Percentile 38.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Details

CWE
CWE-476
Status published
Products (6)
debian/debian_linux 9.0
fedoraproject/fedora 34
imagemagick/imagemagick < 7.0.10-31
redhat/enterprise_linux 5.0
redhat/enterprise_linux 6.0
redhat/enterprise_linux 7.0
Published Feb 24, 2022
Tracked Since Feb 18, 2026