Your submission was sent successfully! Close

CVE-2021-3596

Published: 24 February 2022

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.

Priority

Low

CVSS 3 base score: 6.5

Status

Package Release Status
imagemagick
Launchpad, Ubuntu, Debian
bionic Needed

focal Needed

impish Not vulnerable
(8:6.9.11.60+dfsg-1ubuntu1)
jammy Not vulnerable
(8:6.9.11.60+dfsg-1.3build1)
trusty Needs triage

upstream Not vulnerable
(debian: Specific to IM7)
xenial Needs triage

Patches:
upstream: https://github.com/ImageMagick/ImageMagick6/commit/27f314e2e6eb44b661e65008ce1ce46b85a5628b (im6)
upstream: https://github.com/ImageMagick/ImageMagick/commit/43dfb1894761c4929d5d5c98dc80ba4e59a0d114

Notes

AuthorNote
amurray
According to debian this only affects imagemagick7 but looking at the code and the patch I suspect the older versions shipped in Ubuntu are also vulnerable.

References