CVE-2016-4300
libarchive: Heap buffer overflow vulnerability in the 7zip read_SubStreamsInfo
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
2Exploited in Wild
-Decision
Descriptions
Integer overflow in the read_SubStreamsInfo function in archive_read_support_format_7zip.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.
Desbordamiento de entero en la función read_SubStreamsInfo en archive_read_support_format_7zip.c en libarchive en versiones anteriores a 3.2.1 permite a atacantes remotos ejecutar código arbitrario a través de un archivo 7zip con un gran número de subcorrientes, lo que desencadena un desbordamiento de búfer basado en memoria dinámica.
A vulnerability was found in libarchive's handling of 7zip data. A specially crafted 7zip file can cause a integer overflow resulting in memory corruption that can lead to code execution.
An update that fixes 20 vulnerabilities is now available. Libarchive was updated to fix 20 security issues. These security issues were fixed. Overlapping memcpy in CAB parser. Heap out of bounds read in LHA/LZH parser. Stack out of bounds read in ar parser. Global out of bounds read in mtree parser. Null pointer access in 7z parser. Unclear crashes in ZIP parser. Heap buffer read overflow in tar. Unclear invalid memory read in mtree parser. NULL pointer access in RAR parser. Heap out of bounds read in mtree parser. Memory leak in tar parser. Endless loop in ISO parser. Undefined behavior / signed integer overflow in mtree parser. Compress handler left shifting larger than int size. Undefined behavior / signed integer overflow in TAR parser. Out of bounds read in RAR. Heap buffer overflow vulnerability in the 7zip read_SubStreamsInfo. Stack buffer overflow in the mtree parse_device. Heap buffer overflow in the Rar decompression functionality. Memory allocate error with symbolic links in cpio archives. This update was imported from the SUSE:SLE-12:Update update project.
CVSS Scores
SSVC
- Decision:-
Timeline
- 2016-04-27 CVE Reserved
- 2016-07-14 CVE Published
- 2024-08-06 CVE Updated
- 2024-08-06 First Exploit
- 2025-05-25 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-122: Heap-based Buffer Overflow
- CWE-190: Integer Overflow or Wraparound
CAPEC
References (13)
URL | Tag | Source |
---|---|---|
http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html | X_refsource_confirm |
|
http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html | X_refsource_confirm |
|
http://www.securityfocus.com/bid/91326 | Third Party Advisory | |
https://security-center.intel.com/advisory.aspx?intelid=INTEL-SA-00062&languageid=en-fr | X_refsource_confirm |
URL | Date | SRC |
---|---|---|
http://blog.talosintel.com/2016/06/the-poisoned-archives.html | 2024-08-06 | |
http://www.talosintel.com/reports/TALOS-2016-0152 | 2024-08-06 |
URL | Date | SRC |
---|---|---|
https://github.com/libarchive/libarchive/commit/e79ef306afe332faf22e9b442a2c6b59cb175573 | 2017-11-04 | |
https://github.com/libarchive/libarchive/issues/718 | 2017-11-04 |
URL | Date | SRC |
---|---|---|
http://rhn.redhat.com/errata/RHSA-2016-1844.html | 2017-11-04 | |
http://www.debian.org/security/2016/dsa-3657 | 2017-11-04 | |
https://bugzilla.redhat.com/show_bug.cgi?id=1348439 | 2016-09-12 | |
https://security.gentoo.org/glsa/201701-03 | 2017-11-04 | |
https://access.redhat.com/security/cve/CVE-2016-4300 | 2016-09-12 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Libarchive Search vendor "Libarchive" | Libarchive Search vendor "Libarchive" for product "Libarchive" | <= 3.2.0 Search vendor "Libarchive" for product "Libarchive" and version " <= 3.2.0" | - |
Affected
| ||||||
Redhat Search vendor "Redhat" | Enterprise Linux Desktop Search vendor "Redhat" for product "Enterprise Linux Desktop" | 7.0 Search vendor "Redhat" for product "Enterprise Linux Desktop" and version "7.0" | - |
Affected
| ||||||
Redhat Search vendor "Redhat" | Enterprise Linux Hpc Node Search vendor "Redhat" for product "Enterprise Linux Hpc Node" | 7.0 Search vendor "Redhat" for product "Enterprise Linux Hpc Node" and version "7.0" | - |
Affected
| ||||||
Redhat Search vendor "Redhat" | Enterprise Linux Hpc Node Eus Search vendor "Redhat" for product "Enterprise Linux Hpc Node Eus" | 7.2 Search vendor "Redhat" for product "Enterprise Linux Hpc Node Eus" and version "7.2" | - |
Affected
| ||||||
Redhat Search vendor "Redhat" | Enterprise Linux Server Search vendor "Redhat" for product "Enterprise Linux Server" | 7.0 Search vendor "Redhat" for product "Enterprise Linux Server" and version "7.0" | - |
Affected
| ||||||
Redhat Search vendor "Redhat" | Enterprise Linux Server Aus Search vendor "Redhat" for product "Enterprise Linux Server Aus" | 7.2 Search vendor "Redhat" for product "Enterprise Linux Server Aus" and version "7.2" | - |
Affected
| ||||||
Redhat Search vendor "Redhat" | Enterprise Linux Server Eus Search vendor "Redhat" for product "Enterprise Linux Server Eus" | 7.2 Search vendor "Redhat" for product "Enterprise Linux Server Eus" and version "7.2" | - |
Affected
| ||||||
Redhat Search vendor "Redhat" | Enterprise Linux Workstation Search vendor "Redhat" for product "Enterprise Linux Workstation" | 7.0 Search vendor "Redhat" for product "Enterprise Linux Workstation" and version "7.0" | - |
Affected
|