CVE-2016-8707 json
An exploitable out of bounds write exists in the handling of compressed TIFF images in ImageMagicks's convert utility.
published 2016-12-23 9 y ago modified 2026-06-17 4 mo ago also EUVD-2016-9546
- cvss
- 7.5
- version 3.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.8%
- EPSS 3.8% chance of exploitation in 30 days, percentile 90%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- imagemagick Debian 14, Debian 13, Debian 12 8:6.9.7.0+dfsg-2
debian advisories DEBIAN-CVE-2016-8707
- imagemagick Ubuntu 14.04 LTS 8:6.7.7.10-6ubuntu3.5
- imagemagick Ubuntu 16.04 LTS 8:6.8.9.9-7ubuntu5.5
ubuntu advisories UBUNTU-CVE-2016-8707
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- ImageMagick SLES for SAP 12 SP2, SLES for SAP 12 SP1, SLES for Raspberry Pi 12 SP2 +8 more 6.8.8.1-54.1
- ImageMagick SLES for SAP 11 SP4, SLES 11 SP4, SLE Software Development Kit 11 SP4 6.4.3.6-7.60.1
suse advisories SUSE-SU-2016:3258-1SUSE-SU-2016:3256-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-8707 updated cvss 4.9
ImageMagick: OOB write in convert utility when deflating TIFF files
-
Red Hat Enterprise Linux 6 ImageMagick, ImageMagick-c++, ImageMagick-perl Red Hat Enterprise Linux 7 ImageMagick, ImageMagick-c++, ImageMagick-perl Red Hat OpenShift Enterprise 2 ImageMagickaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux 5 ImageMagicknot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.78% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- talosintelligence.com http://www.talosintelligence.com/reports/TALOS-2016-0216/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.0 | 7.5 | CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected products
- n/a ImageMagick 7.0.3-1
Classification
- Weakness
-
- CWE-787 Out-of-bounds Write
References
-
talosintelligence.com
/reports/TALOS-2016-0216/
exploit, technical-description, third-party-advisory
-
debian.org
/security/2017/dsa-3799
vendor-advisory, third-party-advisory
-
securityfocus.com
/bid/94727
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2016-8707
- NVD CVE-2016-8707
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.