CVE-2016-1541: Input Validation
A vulnerability was found in libarchive. A crafted zip file can provide an incorrect compressed size, which may allow an attacker to place arbitrary code on the heap and execute it in the context of the current user. The user must be coerced into unzipping the crafted zip file.
External references:
http://www.kb.cert.org/vuls/id/862384
Upstream fix:
https://github.com/libarchive/libarchive/commit/d0331e8e5b05b475f20b1f3101fe1ad772d7e7e7
Other sources
Heap-based buffer overflow in the zipreadmacmetadata function in archivereadsupportformatzip.c in libarchive before 3.2.0 allows remote attackers to execute arbitrary code via crafted entry-size values in a ZIP archive.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
redhat/libarchiveto a version that resolves this vulnerability.Fixed in 3.2.0 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 3.2.0
Event History
Frequently Asked Questions
What is the severity of CVE-2016-1541?
CVE-2016-1541 is considered a critical vulnerability due to its ability to allow remote code execution.
How do I fix CVE-2016-1541?
To fix CVE-2016-1541, you should upgrade libarchive to version 3.2.0 or later.
What type of vulnerability is CVE-2016-1541?
CVE-2016-1541 is a heap-based buffer overflow vulnerability.
Who is affected by CVE-2016-1541?
CVE-2016-1541 affects users of libarchive versions prior to 3.2.0.
What could happen if CVE-2016-1541 is exploited?
If exploited, CVE-2016-1541 can allow an attacker to execute arbitrary code on the affected system.