CVE-2017-1000445
Description
ImageMagick 7.0.7-1 and earlier are vulnerable to a null pointer dereference in SketchImage, leading to denial of service on crafted images.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
ImageMagick 7.0.7-1 and earlier are vulnerable to a null pointer dereference in SketchImage, leading to denial of service on crafted images.
Vulnerability
ImageMagick versions 7.0.7-1 and earlier are vulnerable to a null pointer dereference in the MagickCore component, specifically in the SketchImage function within MagickCore/fx.c. The flaw occurs when AcquireRandomInfoThreadSet returns NULL due to a failed memory allocation, and the code later dereferences the random_info pointer without a NULL check. This issue also exists in the latest development branch at the time of disclosure. The vulnerability is triggered when a user or automated system processes a specially crafted image file [1][2].
Exploitation
An attacker can exploit this vulnerability by crafting a malformed image file that causes a memory allocation failure during processing. No authentication is required; the attacker only needs to trick a user or an automated system into opening the image with ImageMagick. The vulnerable code path involves the AcquireRandomInfoThreadSet call returning NULL, followed by unconditional dereferences such as GetRandomSecretKey(random_info[0]), leading to a null pointer dereference and subsequent crash [2].
Impact
Successful exploitation results in a null pointer dereference, causing a denial of service (DoS). The application processing the image may crash. Additionally, the Ubuntu security advisory notes that the same class of malformed image files could potentially lead to arbitrary code execution with the privileges of the user invoking the program, though the specific CVE-2017-1000445 is primarily associated with the DoS via null pointer dereference [1][2].
Mitigation
The issue is addressed in ImageMagick version 7.0.7-2 and later. Ubuntu released a fix in USN-3681-1, updating packages to version 8:6.9.7.4+dfsg-16ubuntu6.7 (for Ubuntu 18.04 LTS) and similar version bumps for other releases. Users should update their ImageMagick installation via their package manager or by building from source [1].
AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
15- Range: <=7.0.7-1
- osv-coords14 versionspkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP2pkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP3pkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4pkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2pkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3pkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Server%20for%20Raspberry%20Pi%2012%20SP2pkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2011%20SP4pkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2pkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3pkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2011%20SP4pkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP2pkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP3pkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Workstation%20Extension%2012%20SP2pkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Workstation%20Extension%2012%20SP3
< 6.8.8.1-71.23.1+ 13 more
- (no CPE)range: < 6.8.8.1-71.23.1
- (no CPE)range: < 6.8.8.1-71.23.1
- (no CPE)range: < 6.4.3.6-7.78.22.1
- (no CPE)range: < 6.8.8.1-71.23.1
- (no CPE)range: < 6.8.8.1-71.23.1
- (no CPE)range: < 6.8.8.1-71.23.1
- (no CPE)range: < 6.4.3.6-7.78.22.1
- (no CPE)range: < 6.8.8.1-71.23.1
- (no CPE)range: < 6.8.8.1-71.23.1
- (no CPE)range: < 6.4.3.6-7.78.22.1
- (no CPE)range: < 6.8.8.1-71.23.1
- (no CPE)range: < 6.8.8.1-71.23.1
- (no CPE)range: < 6.8.8.1-71.23.1
- (no CPE)range: < 6.8.8.1-71.23.1
Patches
0No patches discovered yet.
Vulnerability mechanics
No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.
References
6- usn.ubuntu.com/3681-1/mitrevendor-advisoryx_refsource_UBUNTU
- www.securityfocus.com/bid/102368mitrevdb-entryx_refsource_BID
- github.com/ImageMagick/ImageMagick/issues/775mitrex_refsource_CONFIRM
- lists.debian.org/debian-lts-announce/2018/01/msg00002.htmlmitremailing-listx_refsource_MLIST
- lists.debian.org/debian-lts-announce/2019/05/msg00015.htmlmitremailing-listx_refsource_MLIST
- lists.debian.org/debian-lts-announce/2020/09/msg00007.htmlmitremailing-listx_refsource_MLIST
News mentions
0No linked articles in our index yet.