CVE-2016-10062
Description
The ReadGROUP4Image function in ImageMagick's tiff.c fails to check fwrite's return value, allowing a crafted TIFF file to cause a denial of service via application crash.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
The ReadGROUP4Image function in ImageMagick's tiff.c fails to check fwrite's return value, allowing a crafted TIFF file to cause a denial of service via application crash.
Vulnerability
The ReadGROUP4Image function in coders/tiff.c of ImageMagick does not check the return value of the fwrite function when writing output data. This flaw is present in versions prior to the fix [1][2][3]. An attacker can exploit this by providing a specially crafted TIFF file that causes fwrite to fail (e.g., due to a full disk or other I/O error), leading to an uncontrolled behavior.
Exploitation
An attacker needs only the ability to supply a crafted TIFF file to ImageMagick (e.g., via a web upload or command-line invocation). No authentication or special privileges are required. When ImageMagick processes the malicious file via ReadGROUP4Image, the unhandled fwrite failure can result in a segmentation fault or assert failure, crashing the process [1][2].
Impact
Successful exploitation leads to a denial of service (application crash). The attacker achieves no code execution or data exfiltration; the impact is limited to availability. The crash is triggered during image processing, affecting ImageMagick itself and any service relying on it [3].
Mitigation
The issue was fixed in ImageMagick by adding proper return-value checks for fwrite [2]. Users should update to a version containing the fix (e.g., after the commit referenced in the GitHub issue). Red Hat has rated the issue as Low severity and does not plan to address it in future updates [3]. If a patch cannot be applied, restrict processing of untrusted TIFF files as a workaround.
AI Insight generated on May 23, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
33cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:a:imagemagick:imagemagick:*:*:*:*:*:*:*:*range: <7.0.1-10
- (no CPE)
- osv-coords31 versionspkg:apk/chainguard/imagemagickpkg:apk/chainguard/imagemagick-6pkg:apk/chainguard/imagemagick-6-devpkg:apk/chainguard/imagemagick-6-docpkg:apk/chainguard/imagemagick-6-staticpkg:apk/chainguard/imagemagick-7pkg:apk/chainguard/imagemagick-7-devpkg:apk/chainguard/imagemagick-7-docpkg:apk/chainguard/imagemagick-7-staticpkg:apk/chainguard/imagemagick-devpkg:apk/chainguard/imagemagick-docpkg:apk/chainguard/imagemagick-staticpkg:apk/wolfi/imagemagickpkg:apk/wolfi/imagemagick-7pkg:apk/wolfi/imagemagick-7-devpkg:apk/wolfi/imagemagick-7-docpkg:apk/wolfi/imagemagick-7-staticpkg:apk/wolfi/imagemagick-devpkg:apk/wolfi/imagemagick-docpkg:apk/wolfi/imagemagick-staticpkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP1pkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP2pkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP1pkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2pkg: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%20SP1pkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2pkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP1pkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP2pkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Workstation%20Extension%2012%20SP1pkg:rpm/suse/ImageMagick&distro=SUSE%20Linux%20Enterprise%20Workstation%20Extension%2012%20SP2
< 0+ 30 more
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 6.8.8.1-59.1
- (no CPE)range: < 6.8.8.1-59.1
- (no CPE)range: < 6.8.8.1-59.1
- (no CPE)range: < 6.8.8.1-59.1
- (no CPE)range: < 6.8.8.1-59.1
- (no CPE)range: < 6.8.8.1-59.1
- (no CPE)range: < 6.8.8.1-59.1
- (no CPE)range: < 6.8.8.1-59.1
- (no CPE)range: < 6.8.8.1-59.1
- (no CPE)range: < 6.8.8.1-59.1
- (no CPE)range: < 6.8.8.1-59.1
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- www.debian.org/security/2017/dsa-3799nvdMailing ListThird Party Advisory
- www.openwall.com/lists/oss-security/2016/12/26/9nvdMailing ListThird Party Advisory
- www.securityfocus.com/bid/95209nvdThird Party AdvisoryVDB Entry
- bugzilla.redhat.com/show_bug.cginvdIssue TrackingThird Party AdvisoryVDB Entry
- github.com/ImageMagick/ImageMagick/issues/196nvdThird Party Advisory
News mentions
0No linked articles in our index yet.