VYPR
Medium severity5.5NVD Advisory· Published Mar 2, 2017· Updated May 13, 2026

CVE-2016-10062

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

33

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

5

News mentions

0

No linked articles in our index yet.