CVE-2016-8707
published 2016-12-23CVE-2016-8707: 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…
PriorityP341high7.8CVSS 3.1
AVLACLPRNUIRSUCHIHAH
EPSS
3.65%
88.4th percentile
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.
Affected
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | imagemagick | < imagemagick 8:6.9.7.0+dfsg-2 (bookworm) | imagemagick 8:6.9.7.0+dfsg-2 (bookworm) |
| imagemagick | imagemagick | — | — |
| imagemagick | imagemagick | >= 0 < 8:6.9.7.0+dfsg-2 | 8:6.9.7.0+dfsg-2 |
| imagemagick | imagemagick | >= 0 < 8:6.9.7.0+dfsg-2 | 8:6.9.7.0+dfsg-2 |
| imagemagick | imagemagick | >= 0 < 8:6.9.7.0+dfsg-2 | 8:6.9.7.0+dfsg-2 |
| imagemagick | imagemagick | >= 0 < 8:6.9.7.0+dfsg-2 | 8:6.9.7.0+dfsg-2 |
CVSS provenance
nvdv3.17.8HIGHCVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv3.07.5HIGHCVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-wfj2-6fr9-gvjh: An exploitable out of bounds write exists in the handling of compressed TIFF images in ImageMagicks's convert utility
ghsa_unreviewed·2022-05-13
CVE-2016-8707 [HIGH] CWE-787 GHSA-wfj2-6fr9-gvjh: An exploitable out of bounds write exists in the handling of compressed TIFF images in ImageMagicks's convert utility
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.
OSV
CVE-2016-8707: An exploitable out of bounds write exists in the handling of compressed TIFF images in ImageMagicks's convert utility
osv·2016-12-23·CVSS 7.8
CVE-2016-8707 [HIGH] CVE-2016-8707: An exploitable out of bounds write exists in the handling of compressed TIFF images in ImageMagicks's convert utility
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.
Ubuntu
ImageMagick vulnerabilities
vendor_ubuntu·2017-03-08
CVE-2016-10062 ImageMagick vulnerabilities
Title: ImageMagick vulnerabilities
Summary: Several security issues were fixed in ImageMagick.
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.
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
ImageMagick: OOB write in convert utility when deflating TIFF files
vendor_redhat·2016-12-03·CVSS 7.8
CVE-2016-8707 [HIGH] ImageMagick: OOB write in convert utility when deflating TIFF files
ImageMagick: OOB write in convert utility when deflating TIFF files
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.
Package: ImageMagick (Red Hat Enterprise Linux 5) - Not affected
Package: ImageMagick (Red Hat Enterprise Linux 6) - Will not fix
Package: ImageMagick (Red Hat Enterprise Linux 7) - Will not fix
Package: ImageMagick (Red Hat OpenShift Enterprise 2) - Will not fix
Debian
CVE-2016-8707: imagemagick - An exploitable out of bounds write exists in the handling of compressed TIFF ima...
vendor_debian·2016·CVSS 7.8
CVE-2016-8707 [HIGH] CVE-2016-8707: imagemagick - An exploitable out of bounds write exists in the handling of compressed TIFF ima...
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.
Scope: local
bookworm: resolved (fixed in 8:6.9.7.0+dfsg-2)
bullseye: resolved (fixed in 8:6.9.7.0+dfsg-2)
forky: resolved (fixed in 8:6.9.7.0+dfsg-2)
sid: resolved (fixed in 8:6.9.7.0+dfsg-2)
trixie: resolved (fixed in 8:6.9.7.0+dfsg-2)
No detection rules found.
No public exploits indexed.
Talos
Vulnerability Spotlight: ImageMagick Convert Tiff Out of Bounds Write
blogs_talos·2016-12-06·CVSS 7.8
CVE-2016-8707 [HIGH] Vulnerability Spotlight: ImageMagick Convert Tiff Out of Bounds Write
Vulnerability discovered by Tyler Bohan
## Overview Talos is disclosingTALOS-2016-0216/ CVE-2016-8707, an out of bounds write vulnerability in ImageMagick. ImageMagick is a photo editing software program that allows users to edit and manipulate various types of image files. This particular vulnerability lies in the convert utility that is bundled as part of ImageMagick. The utility is used to parse and convert images and other formats interchangeably. The vulnerability occurs when attempting to deflate an Adobe Deflate compressed Tiff image. The buffer that is created to hold decompressed data associated with the Tiff image is not large enough to hold the decompressed stream. This results in a controlled out of bounds write that under proper circumstances could be exploited into full remo
Talos
Vulnerability Spotlight: ImageMagick Convert Tiff Out of Bounds Write
blogs_talos·2016-12-06·CVSS 7.8
CVE-2016-8707 [HIGH] Vulnerability Spotlight: ImageMagick Convert Tiff Out of Bounds Write
## Vulnerability Spotlight: ImageMagick Convert Tiff Out of Bounds Write
Vulnerability discovered by Tyler Bohan
## Overview Talos is disclosing TALOS-2016-0216 / CVE-2016-8707, an out of bounds write vulnerability in ImageMagick. ImageMagick is a photo editing software program that allows users to edit and manipulate various types of image files. This particular vulnerability lies in the convert utility that is bundled as part of ImageMagick. The utility is used to parse and convert images and other formats interchangeably. The vulnerability occurs when attempting to deflate an Adobe Deflate compressed Tiff image. The buffer that is created to hold decompressed data associated with the Tiff image is not large enough to hold the decompressed stream. This results in a controlled out of bo
Bugzilla
CVE-2016-8707 ImageMagick: OOB write in convert utility when deflating TIFF files [fedora-all]
bugzilla·2016-12-23·CVSS 7.8
CVE-2016-8707 [HIGH] CVE-2016-8707 ImageMagick: OOB write in convert utility when deflating TIFF files [fedora-all]
CVE-2016-8707 ImageMagick: OOB write in convert utility when deflating TIFF files [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple suppo
Bugzilla
CVE-2016-8707 ImageMagick: OOB write in convert utility when deflating TIFF files
bugzilla·2016-12-23·CVSS 7.8
CVE-2016-8707 [HIGH] CVE-2016-8707 ImageMagick: OOB write in convert utility when deflating TIFF files
CVE-2016-8707 ImageMagick: OOB write in convert utility when deflating TIFF files
An Out-of-bounds write flaw was found in the convert utility of ImageMagick, which is triggered by deflating of compressed TIFF images.
More details available at:
http://www.talosintelligence.com/reports/TALOS-2016-0216/
Discussion:
Upstream patch:
https://github.com/ImageMagick/ImageMagick/commit/e5fd9ab1b70b2edd06de8efb606e04482cb9a2f0
---
Created ImageMagick tracking bugs for this issue:
Affects: fedora-all [bug 1408404]
2016-12-23
Published