← Vulnerability feed

Vulnerability record · CVE-2016-1541 · published 7 May 2016

CVE-2016-1541: Libarchive improper input validation vulnerability

Libarchive · Libarchive

Heap-based buffer overflow in the zip_read_mac_metadata function in archive_read_support_format_zip.c in libarchive before 3.2.0 allows remote attackers to execute arbitrary code via crafted entry-size values in a ZIP archive.

8.8 CVSS 3.0 High EPSS 10% · top 4.5% CWE-20 · Improper input validation
8.8CVSS 3.0 base score, v2 6.8
10%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
26References
17 Jun 2026Last modified by NVD

Description

Heap-based buffer overflow in the zip_read_mac_metadata function in archive_read_support_format_zip.c in libarchive before 3.2.0 allows remote attackers to execute arbitrary code via crafted entry-size values in a ZIP archive.

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://lists.opensuse.org/opensuse-updates/2016-06/msg00003.html
http://lists.opensuse.org/opensuse-updates/2016-06/msg00090.html
http://rhn.redhat.com/errata/RHSA-2016-1844.html
http://www.debian.org/security/2016/dsa-3574
http://www.kb.cert.org/vuls/id/862384 Third Party AdvisoryUS Government Resource
http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html
http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html
http://www.securityfocus.com/bid/89355
http://www.slackware.com/security/viewer.php?l=slackware-security&y=2016&m=slackware-security.352685
http://www.ubuntu.com/usn/USN-2981-1
https://github.com/libarchive/libarchive/commit/d0331e8e5b05b475f20b1f3101fe1ad772d7e7e7
https://github.com/libarchive/libarchive/issues/656
https://security.gentoo.org/glsa/201701-03
http://lists.opensuse.org/opensuse-updates/2016-06/msg00003.html
http://lists.opensuse.org/opensuse-updates/2016-06/msg00090.html
http://rhn.redhat.com/errata/RHSA-2016-1844.html
http://www.debian.org/security/2016/dsa-3574
http://www.kb.cert.org/vuls/id/862384 Third Party AdvisoryUS Government Resource
http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html
http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html
http://www.securityfocus.com/bid/89355
http://www.slackware.com/security/viewer.php?l=slackware-security&y=2016&m=slackware-security.352685
http://www.ubuntu.com/usn/USN-2981-1
https://github.com/libarchive/libarchive/commit/d0331e8e5b05b475f20b1f3101fe1ad772d7e7e7
https://github.com/libarchive/libarchive/issues/656
https://security.gentoo.org/glsa/201701-03

Track CVE-2016-1541 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2022-36227Libarchive null pointer dereference vulnerabilityIn libarchive before 3.6.2, the software does not check for an error after calling calloc function that can return with a NULL pointer if the functio…EPSS 2.4%9.1CVE-2024-37407Libarchive out-of-bounds read vulnerabilityLibarchive before 3.7.4 allows name out-of-bounds access when a ZIP archive has an empty-name file and mac-ext is enabled. This occurs in slurp_centr…EPSS 0.97%8.8CVE-2020-9308Libarchive out-of-bounds write vulnerabilityarchive_read_support_format_rar5.c in libarchive before 3.4.2 attempts to unpack a RAR5 file with an invalid or corrupted header (such as a header si…EPSS 2.3%8.8CVE-2018-1000877Libarchive double free vulnerabilitylibarchive version commit 416694915449219d505531b1096384f3237dd6cc onwards (release v3.1.0 onwards) contains a CWE-415: Double Free vulnerability in …EPSS 4.6%8.8CVE-2018-1000878Libarchive use after free vulnerabilitylibarchive version commit 416694915449219d505531b1096384f3237dd6cc onwards (release v3.1.0 onwards) contains a CWE-416: Use After Free vulnerability …EPSS 4.4%8.6CVE-2016-6250Oracle linux integer overflow vulnerabilityInteger overflow in the ISO9660 writer in libarchive before 3.2.1 allows remote attackers to cause a denial of service (application crash) or execute…EPSS 6.3%7.8CVE-2025-5914Libarchive integer overflow vulnerabilityA vulnerability has been identified in the libarchive library, specifically within the archive_read_format_rar_seek_data() function. This flaw involv…EPSS 0.44%7.8CVE-2025-25724Libarchive unchecked return value vulnerabilitylist_item_verbose in tar/util.c in libarchive through 3.7.7 does not check an strftime return value, which can lead to a denial of service or unspeci…EPSS 0.37%

Source: NIST National Vulnerability Database (record CVE-2016-1541), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.