CVE-2016-4300: Integer Overflow

Published Jun 21, 2016
·
Updated

An exploitable heap overflow vulnerability exists in the 7zip readSubStreamsInfo functionality of libarchive. A specially crafted 7zip file can cause a integer overflow resulting in memory corruption that can lead to code execution. An attacker can send a malformed file to trigger this vulnerability.

External references:

http://www.talosintel.com/reports/TALOS-2016-0152/

Upstream fix:

https://github.com/libarchive/libarchive/commit/e79ef306afe332faf22e9b442a2c6b59cb175573

Other sources

Integer overflow in the readSubStreamsInfo function in archivereadsupportformat7zip.c in libarchive before 3.2.1 allows remote attackers to execute arbitrary code via a 7zip file with a large number of substreams, which triggers a heap-based buffer overflow.

MITRE

Affected Software

9 affected componentsFixes available
redhat/libarchive<3.2.1
3.2.1
Libarchive libarchive<=3.2.0
redhat Enterprise Linux Desktop=7.0
redhat Enterprise Linux Hpc Node=7.0
redhat Enterprise Linux Hpc Node Eus=7.2
redhat Enterprise Linux Server=7.0
redhat Enterprise Linux Server Aus=7.2
redhat Enterprise Linux Server Eus=7.2
redhat Enterprise Linux Workstation=7.0

Event History

Jun 21, 2016
Data Sourced
via Red Hat·07:50 AM
DescriptionSeverityAffected Software
Sep 21, 2016
CVE Published
via MITRE·02:00 PM
Data Sourced
via MITRE·02:00 PM
Description

Frequently Asked Questions

1

What is the severity of CVE-2016-4300?

CVE-2016-4300 is categorized as a critical vulnerability due to its potential for remote code execution.

2

How do I fix CVE-2016-4300?

To mitigate CVE-2016-4300, update the libarchive package to version 3.2.1 or later.

3

What causes the vulnerability CVE-2016-4300?

CVE-2016-4300 is caused by a heap overflow in the read_SubStreamsInfo functionality of libarchive when processing specially crafted 7zip files.

4

What are the affected software versions for CVE-2016-4300?

CVE-2016-4300 affects libarchive versions up to 3.2.0 and specific versions of Red Hat Enterprise Linux 7.0 and 7.2.

5

Can CVE-2016-4300 be exploited remotely?

Yes, an attacker can exploit CVE-2016-4300 remotely by sending a specially crafted 7zip file.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203