LibTIFF up to 4.0.6 BMP Image tif_packbits.c PackBitsPreEncode memory corruption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
9.6$0-$5k0.00

A vulnerability classified as very critical was found in LibTIFF up to 4.0.6 (Image Processing Software). Affected by this vulnerability is the function PackBitsPreEncode of the file tif_packbits.c of the component BMP Image Handler. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:

Heap-based buffer overflow in the PackBitsPreEncode function in tif_packbits.c in bmp2tiff in libtiff 4.0.6 and earlier allows remote attackers to execute arbitrary code or cause a denial of service via a large width field in a BMP image.

The weakness was published 01/08/2016 by riusksk with Tencent as not defined posting (Bugtraq). It is possible to read the advisory at securityfocus.com. This vulnerability is known as CVE-2015-8668 since 12/24/2015. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Technical details of the vulnerability are known, but there is no available exploit. The pricing for an exploit might be around USD $0-$5k at the moment (estimation calculated on 07/02/2022).

The vulnerability scanner Nessus provides a plugin with the ID 101833 (Ubuntu 12.04 LTS : tiff vulnerabilities (USN-3212-3)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Ubuntu Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 236058 (Red Hat Update for libtiff (RHSA-2016:1547)).

Upgrading eliminates this vulnerability. A possible mitigation has been published 2 years after the disclosure of the vulnerability.

The vulnerability is also documented in the vulnerability database at Tenable (101833). Similar entries are available at 9747, 68478, 61154 and 80138.

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB CVSS-B Score: 🔍
VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 9.8
VulDB Meta Temp Score: 9.6

VulDB Base Score: 9.8
VulDB Temp Score: 9.4
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 9.8
NVD Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock
unlockunlockunlockunlockunlockunlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-Dayunlockunlockunlockunlock
Todayunlockunlockunlockunlock

Nessus ID: 101833
Nessus Name: Ubuntu 12.04 LTS : tiff vulnerabilities (USN-3212-3)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 14611
OpenVAS Name: Amazon Linux Local Check: alas-2016-733
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Timelineinfo

12/24/2015 🔍
12/28/2015 +4 days 🔍
12/28/2015 +0 days 🔍
01/08/2016 +11 days 🔍
01/08/2016 +0 days 🔍
01/10/2016 +2 days 🔍
01/26/2016 +16 days 🔍
07/19/2017 +540 days 🔍
07/20/2017 +1 days 🔍
07/02/2022 +1808 days 🔍

Sourcesinfo

Product: libtiff.org

Advisory: USN-3212-3
Researcher: riusksk
Organization: Tencent
Status: Not defined
Confirmation: 🔍

CVE: CVE-2015-8668 (🔍)
Vulnerability Center: 56156 - libtiff 4.0.6 Remote Code Execution or DoS via a Crafted BMP Image, High
SecurityFocus: 79696 - LibTIFF CVE-2015-8668 Heap Buffer Overflow Vulnerability

See also: 🔍

Entryinfo

Created: 01/10/2016 20:17
Updated: 07/02/2022 18:21
Changes: 01/10/2016 20:17 (65), 07/05/2018 08:50 (24), 07/02/2022 18:06 (3), 07/02/2022 18:13 (1), 07/02/2022 18:21 (1)
Complete: 🔍

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!