CVE-2016-8707
An exploitable out of bounds write exists in the handling of compressed TIFF images in...
An exploitable out of bounds write exists in the handling of compressed TIFF images in ImageMagicks's convert utility. A crafted TIFF document can lead to an out of bounds write which in particular circumstances could be leveraged into remote code execution. The vulnerability can be triggered through any user controlled TIFF that is handled by this functionality.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
7.5
An exploitable out of bounds write exists in the handling of compressed TIFF images in ImageMagicks's convert utility. A crafted TIFF document can lead to an out of bounds write which in particular circumstances could be leveraged into remote code execution. The vulnerability can be triggered through any user controlled TIFF that is handled by this functionality.
- Record
CVE-2016-8707- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
EUVDEUVD-2016-9546
7.5
An exploitable out of bounds write exists in the handling of compressed TIFF images in ImageMagicks's convert utility. A crafted TIFF document can lead to an out of bounds write which in particular circumstances could be leveraged into remote code execution. The vulnerability can be triggered through any user controlled TIFF that is handled by this functionality.
- Record
EUVD-2016-9546- CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-wfj2-6fr9-gvjh
7.0
An exploitable out of bounds write exists in the handling of compressed TIFF images in...
An exploitable out of bounds write exists in the handling of compressed TIFF images in ImageMagicks's convert utility. A crafted TIFF document can lead to an out of bounds write which in particular circumstances could be leveraged into remote code execution. The vulnerability can be triggered through any user controlled TIFF that is handled by this functionality.
- Record
GHSA-wfj2-6fr9-gvjh- CVSS 3.0
- 7.0 High
CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-787
- Updated
- 2026-11-02
NVD
7.8
An exploitable out of bounds write exists in the handling of compressed TIFF images in ImageMagicks's convert utility. A crafted TIFF document can lead to an out of bounds write which in particular circumstances could be leveraged into remote code execution. The vulnerability can be triggered through any user controlled TIFF that is handled by this functionality.
- Record
CVE-2016-8707- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-787
- Updated
- 2026-11-02
OSV
7.8
An exploitable out of bounds write exists in the handling of compressed TIFF images in ImageMagicks's convert utility. A crafted TIFF document can lead to an out of bounds write which in particular circumstances could be leveraged into remote code execution. The vulnerability can be triggered through any user controlled TIFF that is handled by this functionality.
- Record
CVE-2016-8707- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2016-8707
7.8
An exploitable out of bounds write exists in the handling of compressed TIFF images in ImageMagicks's convert utility. A crafted TIFF document can lead to an out of bounds write which in particular circumstances could be leveraged into remote code execution. The vulnerability can be triggered through any user controlled TIFF that is handled by this functionality.
- Record
DEBIAN-CVE-2016-8707- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 5 moreShow less
OSVUBUNTU-CVE-2016-8707
7.8
An exploitable out of bounds write exists in the handling of compressed TIFF images in ImageMagicks's convert utility. A crafted TIFF document can lead to an out of bounds write which in particular circumstances could be leveraged into remote code execution. The vulnerability can be triggered through any user controlled TIFF that is handled by this functionality.
- Record
UBUNTU-CVE-2016-8707- CVSS 3.1
- 7.8 High
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 3.0
- 7.5 High
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 3.0
- 7.0 High
CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2018-0229 No score
Updated imagemagick packages fix security vulnerabilities
The imagemagick package has been updated to version 6.9.9.41 which fixes several unspecified security vulnerabilities. This update fixes several vulnerabilities in imagemagick, including: Various memory handling problems and cases of missing or incomplete input sanitising may result in denial of service, memory disclosure or the execution of arbitrary code if malformed GIF, TTF, SVG, TIFF, PCX, JPG or SFW files are processed.
Several packages have been rebuilt for the updated ImageMagick.
- Record
MGASA-2018-0229- Updated
- 2026-11-02
OSVSUSE-SU-2016:3256-1 No score
Security update for ImageMagick
This update for ImageMagick fixes the following issues:
- CVE-2016-9556: Possible Heap-overflow found by fuzzing [bsc#1011130]
- CVE-2016-9559: Possible Null pointer access found by fuzzing [bsc#1011136]
- CVE-2016-8707: Possible code execution in the tiff deflate convert code [bsc#1014159]
- CVE-2016-9773: Possible Heap overflow in IsPixelGray [bsc#1013376]
- CVE-2016-8866: Possible memory allocation failure in AcquireMagickMemory [bsc#1009318]
- Record
SUSE-SU-2016:3256-1- Updated
- 2026-11-02
OSVSUSE-SU-2016:3258-1 No score
Security update for ImageMagick
This update for ImageMagick fixes the following issues:
- CVE-2016-9556 Possible Heap-overflow found by fuzzing [bsc#1011130]
- CVE-2016-9559 Possible Null pointer access found by fuzzing [bsc#1011136]
- CVE-2016-8707 Possible code execution in Tiff conver utility [bsc#1014159]
- CVE-2016-8866 Memory allocation failure in AcquireMagickMemory could lead to Heap overflow [bsc#1009318]
- CVE-2016-9559 Possible Null pointer access found by fuzzing [bsc#1011136]
- Record
SUSE-SU-2016:3258-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
| Package | Affected | Fixed |
|---|---|---|
imagemagickDebian:12 |
before 8:6.9.7.0+dfsg-2 | 8:6.9.7.0+dfsg-2 |
imagemagickDebian:13 |
before 8:6.9.7.0+dfsg-2 | 8:6.9.7.0+dfsg-2 |
imagemagickDebian:14 |
before 8:6.9.7.0+dfsg-2 | 8:6.9.7.0+dfsg-2 |
imagemagickDebian:7 From an advisory covering 19 CVEs |
before 8:6.7.7.10-5+deb7u10, plus listed versions 8:6.7.7.10-58:6.7.7.10-5+deb7u28:6.7.7.10-5+deb7u38:6.7.7.10-5+deb7u48:6.7.7.10-5+deb7u5 Show 4 moreShow less8: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+deb7u10 |
imagemagickDebian:8 From an advisory covering 10 CVEs |
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 |
converseenMageia:6 From an advisory covering 104 CVEs |
before 0.9.6.2-1.3.mga6 | 0.9.6.2-1.3.mga6 |
cuneiform-linuxMageia:6 From an advisory covering 104 CVEs |
before 1.1.0-9.2.mga6 | 1.1.0-9.2.mga6 |
dvdauthorMageia:6 From an advisory covering 104 CVEs |
before 0.7.2-2.2.mga6 | 0.7.2-2.2.mga6 |
emacsMageia:6 From an advisory covering 104 CVEs |
before 24.5-8.3.mga6 | 24.5-8.3.mga6 |
imagemagickMageia:6 From an advisory covering 104 CVEs |
before 6.9.9.41-1.mga6 | 6.9.9.41-1.mga6 |
Show 33 moreShow less
| Package | Affected | Fixed |
|---|---|---|
inkscapeMageia:6 From an advisory covering 104 CVEs |
before 0.92.1-2.2.mga6 | 0.92.1-2.2.mga6 |
k3dMageia:6 From an advisory covering 104 CVEs |
before 0.8.0.5-5.2.mga6 | 0.8.0.5-5.2.mga6 |
kxstitchMageia:6 From an advisory covering 104 CVEs |
before 2.0.0-2.2.mga6 | 2.0.0-2.2.mga6 |
libopenshotMageia:6 From an advisory covering 104 CVEs |
before 0.1.8-1.2.mga6 | 0.1.8-1.2.mga6 |
ocaml-glmliteMageia:6 From an advisory covering 104 CVEs |
before 0.03.51-17.2.mga6 | 0.03.51-17.2.mga6 |
perl-Image-SubImageFindMageia:6 From an advisory covering 104 CVEs |
before 0.30.0-6.2.mga6 | 0.30.0-6.2.mga6 |
pfstoolsMageia:6 From an advisory covering 104 CVEs |
before 2.0.6-3.2.mga6 | 2.0.6-3.2.mga6 |
php-imagickMageia:6 From an advisory covering 104 CVEs |
before 3.4.1-6.2.mga6 | 3.4.1-6.2.mga6 |
php-magickwandMageia:6 From an advisory covering 104 CVEs |
before 1.0.9.2-10.2.mga6 | 1.0.9.2-10.2.mga6 |
psiconvMageia:6 From an advisory covering 104 CVEs |
before 0.9.8-26.2.mga6 | 0.9.8-26.2.mga6 |
pythonmagickMageia:6 From an advisory covering 104 CVEs |
before 0.9.12-7.2.mga6 | 0.9.12-7.2.mga6 |
ruby-rmagickMageia:6 From an advisory covering 104 CVEs |
before 2.15.4-12.2.mga6 | 2.15.4-12.2.mga6 |
synfigMageia:6 From an advisory covering 104 CVEs |
before 1.2.1-2.2.mga6 | 1.2.1-2.2.mga6 |
vdr-plugin-skinelchiMageia:6 From an advisory covering 104 CVEs |
before 0.2.8-8.2.mga6 | 0.2.8-8.2.mga6 |
vdr-plugin-skinenigmangMageia:6 From an advisory covering 104 CVEs |
before 0.1.2-10.2.mga6 | 0.1.2-10.2.mga6 |
ImageMagickSUSE:Linux Enterprise Software Development Kit 11 SP4 From an advisory covering 6 CVEs |
before 6.4.3.6-7.60.1 | 6.4.3.6-7.60.1 |
ImageMagickSUSE:Linux Enterprise Server 11 SP4 From an advisory covering 6 CVEs |
before 6.4.3.6-7.60.1 | 6.4.3.6-7.60.1 |
ImageMagickSUSE:Linux Enterprise Server for SAP Applications 11 SP4 From an advisory covering 6 CVEs |
before 6.4.3.6-7.60.1 | 6.4.3.6-7.60.1 |
ImageMagickSUSE:Linux Enterprise Desktop 12 SP1 From an advisory covering 6 CVEs |
before 6.8.8.1-54.1 | 6.8.8.1-54.1 |
ImageMagickSUSE:Linux Enterprise Desktop 12 SP2 From an advisory covering 6 CVEs |
before 6.8.8.1-54.1 | 6.8.8.1-54.1 |
ImageMagickSUSE:Linux Enterprise Server for Raspberry Pi 12 SP2 From an advisory covering 6 CVEs |
before 6.8.8.1-54.1 | 6.8.8.1-54.1 |
ImageMagickSUSE:Linux Enterprise Software Development Kit 12 SP1 From an advisory covering 6 CVEs |
before 6.8.8.1-54.1 | 6.8.8.1-54.1 |
ImageMagickSUSE:Linux Enterprise Software Development Kit 12 SP2 From an advisory covering 6 CVEs |
before 6.8.8.1-54.1 | 6.8.8.1-54.1 |
ImageMagickSUSE:Linux Enterprise Server 12 SP1 From an advisory covering 6 CVEs |
before 6.8.8.1-54.1 | 6.8.8.1-54.1 |
ImageMagickSUSE:Linux Enterprise Server for SAP Applications 12 SP1 From an advisory covering 6 CVEs |
before 6.8.8.1-54.1 | 6.8.8.1-54.1 |
ImageMagickSUSE:Linux Enterprise Server 12 SP2 From an advisory covering 6 CVEs |
before 6.8.8.1-54.1 | 6.8.8.1-54.1 |
ImageMagickSUSE:Linux Enterprise Server for SAP Applications 12 SP2 From an advisory covering 6 CVEs |
before 6.8.8.1-54.1 | 6.8.8.1-54.1 |
ImageMagickSUSE:Linux Enterprise Workstation Extension 12 SP1 From an advisory covering 6 CVEs |
before 6.8.8.1-54.1 | 6.8.8.1-54.1 |
ImageMagickSUSE:Linux Enterprise Workstation Extension 12 SP2 From an advisory covering 6 CVEs |
before 6.8.8.1-54.1 | 6.8.8.1-54.1 |
imagemagickUbuntu: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 less8: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 |
imagemagickUbuntu: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 less8: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 |
imagemagickUbuntu:14.04:LTS From an advisory covering 10 CVEs |
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 less8: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 |
imagemagickUbuntu:16.04:LTS From an advisory covering 10 CVEs |
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 less8: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
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2016-8707 is a high vulnerability (CVSS 7.5) in Imagemagick, published December 21, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 3.78%, the 90th percentile. Fixed in imagemagick 8:6.9.7.0+dfsg-2.
References
securityfocus.com/bid/94727
debian.org/security/2017/dsa-3799
talosintelligence.com/reports/TALOS-2016-0216
nvd.nist.gov/vuln/detail/CVE-2016-8707
github.com/advisories/GHSA-wfj2-6fr9-gvjh
security-tracker.debian.org/tracker/CVE-2016-8707
Show 29 moreShow less
advisories.mageia.org/MGASA-2018-0229.html
bugs.mageia.org/show_bug.cgi?id=19078
git.imagemagick.org/repos/ImageMagick/blob/ImageMagick-6/ChangeLog
suse.com/support/update/announcement/2016/suse-su-20163256-1
bugzilla.suse.com/1009318
bugzilla.suse.com/1011130
bugzilla.suse.com/1011136
bugzilla.suse.com/1013376
bugzilla.suse.com/1014159
suse.com/security/cve/CVE-2016-7530
suse.com/security/cve/CVE-2016-8707
suse.com/security/cve/CVE-2016-8866
suse.com/security/cve/CVE-2016-9556
suse.com/security/cve/CVE-2016-9559
suse.com/security/cve/CVE-2016-9773
suse.com/support/update/announcement/2016/suse-su-20163258-1
suse.com/security/cve/CVE-2014-9848
ubuntu.com/security/CVE-2016-8707
ubuntu.com/security/notices/USN-3222-1
cve.org/CVERecord?id=CVE-2016-8707
ubuntu.com/security/CVE-2016-10062
ubuntu.com/security/CVE-2016-10144
ubuntu.com/security/CVE-2016-10145
ubuntu.com/security/CVE-2016-10146
ubuntu.com/security/CVE-2017-5506
ubuntu.com/security/CVE-2017-5507
ubuntu.com/security/CVE-2017-5508
ubuntu.com/security/CVE-2017-5510
ubuntu.com/security/CVE-2017-5511