CVE details
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.
Affected ports (2)
| Port | Package | Version | Status | Maintainer |
|---|---|---|---|---|
| graphics/ImageMagick6 | ImageMagick6 | 6.9.13.50_1,1 | unaddressed | desktop@FreeBSD.org |
| graphics/ImageMagick6 | ImageMagick6-nox11 | 6.9.13.50_1,1 | unaddressed | desktop@FreeBSD.org |
Template for a VuXML entry
Range taken from the CVE record, check it before committing. make newentry in security/vuxml creates the vid.
<vuln vid="FIXME (make newentry)">
<topic>FIXME -- FIXME</topic>
<affects>
<package>
<name>ImageMagick6</name>
<range><lt>7.0.10-31</lt></range>
</package>
<package>
<name>ImageMagick6-nox11</name>
<range><lt>7.0.10-31</lt></range>
</package>
</affects>
<description>
<body xmlns="http://www.w3.org/1999/xhtml">
<p>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.</p>
</body>
</description>
<references>
<cvename>CVE-2021-3596</cvename>
<url>https://nvd.nist.gov/vuln/detail/CVE-2021-3596</url>
</references>
<dates>
<discovery>2022-02-24</discovery>
<entry>2026-10-25</entry>
</dates>
</vuln>