VDB-90247 · CVE-2016-6250 · BID 92036

libarchive up to 3.2.0 ISO9660 Archive iso9660.c isoent_gen_joliet_identifier integer overflow

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.

A vulnerability has been found in libarchive up to 3.2.0 (File Compression Software) and classified as critical. Affected by this vulnerability is the function isoent_gen_joliet_identifier of the file iso9660.c of the component ISO9660 Archive Handler. The manipulation with an unknown input leads to a integer overflow vulnerability. The CWE definition for the vulnerability is CWE-190. The software performs a calculation that can produce an integer overflow or wraparound, when the logic assumes that the resulting value will always be larger than the original value. This can introduce other weaknesses when the calculation is used for resource management or execution control. As an impact it is known to affect confidentiality, integrity, and availability.

The weakness was disclosed 07/22/2016 by Christian Wressnegger, Alwin Maier and Fabian Yamaguchi as libarchive 3.2.0: Buffer overflow when writing iso9660 containers as confirmed advisory (Website). It is possible to read the advisory at github.com. This vulnerability is known as CVE-2016-6250 since 07/20/2016. The exploitation appears to be easy. 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. Responsible for the vulnerability is the following code:

int ffmax, parent_len;
r = idr_start(a, idr, isoent->children.cnt, ffmax, 6, 2, &rb_ops);
The advisory points out:
On `archive_close` the previously created records are written to disk and---as mentioned earlier---this happens based on the records' offsets.

The vulnerability scanner Nessus provides a plugin with the ID 95367 (SUSE SLED12 / SLES12 Security Update : libarchive (SUSE-SU-2016:2911-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks and running in the context l. The commercial vulnerability scanner Qualys is able to test this issue with plugin 175845 (Debian Security Update for libarchive (DSA 3677-1)).

Upgrading to version 3.2.1 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published even before and not after the disclosure of the vulnerability. The vulnerability will be addressed with the following lines of code:

size_t ffmax, parent_len;
r = idr_start(a, idr, isoent->children.cnt, (int)ffmax, 6, 2, &rb_ops);

The vulnerability is also documented in the vulnerability database at Tenable (95367). The entries 91826, 91827, 95952 and 97005 are pretty similar.





  • open-source

CPE 2.3info

CPE 2.2info


VulDB Meta Base Score: 8.6
VulDB Meta Temp Score: 8.4

VulDB Base Score: 8.6
VulDB Temp Score: 8.2
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 8.6
NVD Vector: 🔍



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

NVD Base Score: 🔍


Class: Integer overflow
CWE: CWE-190 / CWE-189
ATT&CK: Unknown

Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍


Nessus ID: 95367
Nessus Name: SUSE SLED12 / SLES12 Security Update : libarchive (SUSE-SU-2016:2911-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍

OpenVAS ID: 15621
OpenVAS Name: Amazon Linux Local Check: alas-2016-743
OpenVAS File: 🔍
OpenVAS Family: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

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


Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍

Upgrade: libarchive 3.2.1
Patch: github.com


05/28/2016 🔍
05/28/2016 +0 days 🔍
07/20/2016 +53 days 🔍
07/20/2016 +0 days 🔍
07/22/2016 +2 days 🔍
07/22/2016 +0 days 🔍
07/23/2016 +1 days 🔍
09/21/2016 +60 days 🔍
11/28/2016 +68 days 🔍
09/09/2022 +2111 days 🔍


Advisory: libarchive 3.2.0: Buffer overflow when writing iso9660 containers
Researcher: Christian Wressnegger/Alwin Maier/Fabian Yamaguchi
Status: Confirmed
Confirmation: 🔍

CVE: CVE-2016-6250 (🔍)

SecurityTracker: 1036431
SecurityFocus: 92036 - libarchive 'archive_write_set_format_iso9660.c' Integer Overflow Vulnerability

See also: 🔍


Created: 07/23/2016 12:18 PM
Updated: 09/09/2022 10:50 AM
Changes: 07/23/2016 12:18 PM (81), 03/07/2019 04:09 PM (11), 09/09/2022 10:50 AM (3)
Complete: 🔍


No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!