Every CVE Search/ Get API key

CVE-2016-10062

The ReadGROUP4Image function in coders/tiff.c in ImageMagick does not check the return value of...

5.5 MediumFix available

The ReadGROUP4Image function in coders/tiff.c in ImageMagick does not check the return value of the fwrite function, which allows remote attackers to cause a denial of service (application crash) via a crafted file.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

1.91%Up 0.7 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 5.5

The ReadGROUP4Image function in coders/tiff.c in ImageMagick does not check the return value of the fwrite function, which allows remote attackers to cause a denial of service (application crash) via a crafted file.

Record
CVE-2016-10062
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.0
4.3 MediumAV:N/AC:M/Au:N/C:N/I:N/A:P
Weakness
CWE-388
Updated
2026-11-02
CVE List No score

The ReadGROUP4Image function in coders/tiff.c in ImageMagick does not check the return value of the fwrite function, which allows remote attackers to cause a denial of service (application crash) via a crafted file.

Record
CVE-2016-10062
Updated
2026-11-02
EUVDEUVD-2016-1256 No score

The ReadGROUP4Image function in coders/tiff.c in ImageMagick does not check the return value of the fwrite function, which allows remote attackers to cause a denial of service (application crash) via a crafted file.

Record
EUVD-2016-1256
Updated
2026-11-03
GitHub AdvisoriesGHSA-rvg9-g4rg-6wfj 5.5

The ReadGROUP4Image function in coders/tiff.c in ImageMagick does not check the return value of...

The ReadGROUP4Image function in coders/tiff.c in ImageMagick does not check the return value of the fwrite function, which allows remote attackers to cause a denial of service (application crash) via a crafted file.

Record
GHSA-rvg9-g4rg-6wfj
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSV 5.5

The ReadGROUP4Image function in coders/tiff.c in ImageMagick does not check the return value of the fwrite function, which allows remote attackers to cause a denial of service (application crash) via a crafted file.

Record
CVE-2016-10062
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2016-10062 5.5

The ReadGROUP4Image function in coders/tiff.c in ImageMagick does not check the return value of the fwrite function, which allows remote attackers to cause a denial of service (application crash) via a crafted file.

Record
DEBIAN-CVE-2016-10062
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2016-10062 5.5

The ReadGROUP4Image function in coders/tiff.c in ImageMagick does not check the return value of the fwrite function, which allows remote attackers to cause a denial of service (application crash) via a crafted file.

Record
UBUNTU-CVE-2016-10062
CVSS 3.1
5.5 MediumCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 3.0
5.5 MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVSUSE-SU-2017:0529-1 No score

Security update for ImageMagick

This update for ImageMagick fixes the following issues:

  • CVE-2016-10046: Prevent buffer overflow in draw.c caused by an incorrect length calculation (bsc#1017308)
  • CVE-2016-10048: Arbitrary module could have been load because relative path were not escaped (bsc#1017310)
  • CVE-2016-10049: Corrupt RLE files could have overflowed a buffer due to a incorrect length calculation (bsc#1017311)
  • CVE-2016-10050: Corrupt RLE files could have overflowed a heap buffer due to a missing offset check (bsc#1017312)
  • CVE-2016-10051: Fixed use after free when reading PWP files (bsc#1017313)
  • CVE-2016-10052: Added bound check to exif parsing of JPEG files (bsc#1017314)
  • CVE-2016-10059: Unchecked calculation when reading TIFF files could have lead to a buffer overflow (bsc#1017318)
  • CVE-2016-10060: Improved error handling when writing files to not mask errors (bsc#1017319)
  • CVE-2016-10061: Improved error handling when writing files to not mask errors (bsc#1017319).
  • CVE-2016-10062: Improved error handling when writing files to not mask errors (bsc#1017319).
  • CVE-2016-10063: Check validity of extend during TIFF file reading (bsc#1017320)
  • CVE-2016-10064: Improved checks for buffer overflow when reading TIFF files (bsc#1017321)
  • CVE-2016-10065: Unchecked calculations when reading VIFF files could have lead to out of bound reads (bsc#1017322)
  • CVE-2016-10068: Prevent NULL pointer access when using the MSL interpreter (bsc#1017324)
  • CVE-2016-10069: Add check for invalid mat file (bsc#1017325).
  • CVE-2016-10070: Prevent allocating the wrong amount of memory when reading mat files (bsc#1017326)
  • CVE-2016-10071: Prevent allocating the wrong amount of memory when reading mat files (bsc#1017326)
  • CVE-2016-10144: Added a check after allocating memory when parsing IPL files (bsc#1020433)
  • CVE-2016-10145: Fixed of-by-one in string copy operation when parsing WPG files (bsc#1020435)
  • CVE-2016-10146: Captions and labels were handled incorrectly, causing a memory leak that could have lead to DoS (bsc#1020443)
  • CVE-2017-5506: Missing offset check leading to a double-free (bsc#1020436)
  • CVE-2017-5507: Fixed a memory leak when reading MPC files allowing for DoS (bsc#1020439)
  • CVE-2017-5508: Increase the amount of memory allocated for TIFF pixels to prevent a heap buffer-overflow (bsc#1020441)
  • CVE-2017-5510: Prevent out-of-bounds write when reading PSD files (bsc#1020446).
  • CVE-2017-5511: A missing cast when reading PSD files could have caused memory corruption by a heap overflow (bsc#1020448)

This update removes the fix for CVE-2016-9773. ImageMagick-6 was not affected by CVE-2016-9773 and it caused a regression (at least in GraphicsMagick) (bsc#1017421).

Record
SUSE-SU-2017:0529-1
Updated
2026-11-02
OSVUSN-3222-1 No score

imagemagick vulnerabilities

It was discovered that ImageMagick incorrectly handled certain malformed image files. If a user or automated system using ImageMagick were tricked into opening a specially crafted image, an attacker could exploit this to cause a denial of service or possibly execute code with the privileges of the user invoking the program.

Record
USN-3222-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
imagemagick
Debian:12
before 8:6.9.7.4+dfsg-1
8:6.9.7.4+dfsg-1
imagemagick
Debian:13
before 8:6.9.7.4+dfsg-1
8:6.9.7.4+dfsg-1
imagemagick
Debian:14
before 8:6.9.7.4+dfsg-1
8:6.9.7.4+dfsg-1
imagemagick
Debian:7
before 8:6.7.7.10-5+deb7u12, plus listed versions
8:6.7.7.10-58:6.7.7.10-5+deb7u108:6.7.7.10-5+deb7u118:6.7.7.10-5+deb7u28:6.7.7.10-5+deb7u3
Show 6 moreShow less
8:6.7.7.10-5+deb7u48:6.7.7.10-5+deb7u58:6.7.7.10-5+deb7u68:6.7.7.10-5+deb7u78:6.7.7.10-5+deb7u88:6.7.7.10-5+deb7u9
8:6.7.7.10-5+deb7u12
imagemagick
Debian:8
before 8:6.8.9.9-5+deb8u7, plus listed versions
8:6.8.9.9-58:6.8.9.9-5+deb8u18:6.8.9.9-5+deb8u28:6.8.9.9-5+deb8u38:6.8.9.9-5+deb8u48:6.8.9.9-5+deb8u58:6.8.9.9-5+deb8u6
8:6.8.9.9-5+deb8u7
ImageMagick
SUSE:Linux Enterprise Desktop 12 SP1
before 6.8.8.1-59.1
6.8.8.1-59.1
ImageMagick
SUSE:Linux Enterprise Desktop 12 SP2
before 6.8.8.1-59.1
6.8.8.1-59.1
ImageMagick
SUSE:Linux Enterprise Server for Raspberry Pi 12 SP2
before 6.8.8.1-59.1
6.8.8.1-59.1
ImageMagick
SUSE:Linux Enterprise Software Development Kit 12 SP1
before 6.8.8.1-59.1
6.8.8.1-59.1
ImageMagick
SUSE:Linux Enterprise Software Development Kit 12 SP2
before 6.8.8.1-59.1
6.8.8.1-59.1
Show 8 moreShow less
Affected packages
PackageAffectedFixed
ImageMagick
SUSE:Linux Enterprise Server 12 SP1
before 6.8.8.1-59.1
6.8.8.1-59.1
ImageMagick
SUSE:Linux Enterprise Server for SAP Applications 12 SP1
before 6.8.8.1-59.1
6.8.8.1-59.1
ImageMagick
SUSE:Linux Enterprise Server 12 SP2
before 6.8.8.1-59.1
6.8.8.1-59.1
ImageMagick
SUSE:Linux Enterprise Server for SAP Applications 12 SP2
before 6.8.8.1-59.1
6.8.8.1-59.1
ImageMagick
SUSE:Linux Enterprise Workstation Extension 12 SP1
before 6.8.8.1-59.1
6.8.8.1-59.1
ImageMagick
SUSE:Linux Enterprise Workstation Extension 12 SP2
before 6.8.8.1-59.1
6.8.8.1-59.1
imagemagick
Ubuntu:14.04:LTS
before 8:6.7.7.10-6ubuntu3.5, plus listed versions
8:6.7.7.10-5ubuntu38:6.7.7.10-5ubuntu48:6.7.7.10-6ubuntu18:6.7.7.10-6ubuntu28:6.7.7.10-6ubuntu3
Show 4 moreShow less
8:6.7.7.10-6ubuntu3.18:6.7.7.10-6ubuntu3.28:6.7.7.10-6ubuntu3.38:6.7.7.10-6ubuntu3.4
8:6.7.7.10-6ubuntu3.5
imagemagick
Ubuntu:16.04:LTS
before 8:6.8.9.9-7ubuntu5.5, plus listed versions
8:6.8.9.9-5ubuntu28:6.8.9.9-68:6.8.9.9-6build18:6.8.9.9-78:6.8.9.9-7ubuntu1
Show 8 moreShow less
8:6.8.9.9-7ubuntu28:6.8.9.9-7ubuntu38:6.8.9.9-7ubuntu48:6.8.9.9-7ubuntu58:6.8.9.9-7ubuntu5.18:6.8.9.9-7ubuntu5.28:6.8.9.9-7ubuntu5.38:6.8.9.9-7ubuntu5.4
8:6.8.9.9-7ubuntu5.5

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2016-10062 is a medium vulnerability (CVSS 5.5) in Imagemagick, published December 31, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.91%, the 79th percentile. Fixed in imagemagick 8:6.9.7.4+dfsg-1.

References

Show 64 moreShow less
MoveEnter Open