CVE-2017-11170
Description
Memory exhaustion vulnerability in ImageMagick 7.0.5-6 via crafted TGA/VST files.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Memory exhaustion vulnerability in ImageMagick 7.0.5-6 via crafted TGA/VST files.
Vulnerability
The ReadTGAImage function in coders/tga.c of ImageMagick 7.0.5-6 has a memory leak vulnerability caused by insufficient validation of TGA or VST file headers. The fields tga_info.bits_per_pixel and tga_info.image_type are read directly from the file without bounds checking [1]. When image_type is set to a value that triggers PseudoClass storage, a large or overflowed image->colors value is used in AcquireImageColormap(), leading to excessive memory allocation [1].
Exploitation
An attacker can craft a malicious VST file with manipulated bits_per_pixel (e.g., values up to 32 on 32-bit systems cause overflow to 0, or large values on 64-bit systems cause allocation of up to 64 GB) and image_type (setting it to one of TGAColormap, TGAMonochrome, TGARLEColormap, or TGARLEMonochrome) to force PseudoClass storage [1]. The file is processed by ImageMagick, e.g., with magick identify $FILE, triggering the vulnerable code path before later security checks [1]. No authentication or user interaction beyond file processing is required.
Impact
Successful exploitation results in memory exhaustion, causing a denial of service. The application may consume all available memory, leading to crashes or system instability [1]. No code execution or privilege escalation is achieved.
Mitigation
A fix was committed to the ImageMagick repository after the issue was reported [1]. Users should upgrade to ImageMagick 7.0.5-7 or later. If upgrade is not possible, avoid processing untrusted TGA or VST files.
AI Insight generated on May 22, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
13cpe:2.3:a:imagemagick:imagemagick:7.0.5-6:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:a:imagemagick:imagemagick:7.0.5-6:*:*:*:*:*:*:*
- (no CPE)range: = 7.0.5-6
- osv-coords11 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%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%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%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.42.1+ 10 more
- (no CPE)range: < 6.8.8.1-71.42.1
- (no CPE)range: < 6.8.8.1-71.42.1
- (no CPE)range: < 6.8.8.1-71.42.1
- (no CPE)range: < 6.8.8.1-71.42.1
- (no CPE)range: < 6.8.8.1-71.42.1
- (no CPE)range: < 6.8.8.1-71.42.1
- (no CPE)range: < 6.8.8.1-71.42.1
- (no CPE)range: < 6.8.8.1-71.42.1
- (no CPE)range: < 6.8.8.1-71.42.1
- (no CPE)range: < 6.8.8.1-71.42.1
- (no CPE)range: < 6.8.8.1-71.42.1
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
2- github.com/ImageMagick/ImageMagick/issues/472nvdIssue TrackingPatchThird Party Advisory
- www.securityfocus.com/bid/99565nvd
News mentions
0No linked articles in our index yet.