CVE-2016-1541
Heap-based buffer overflow in the zip_read_mac_metadata function in...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
8.8
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.
- Record
CVE-2016-1541- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-20
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2016-1541- Updated
- 2026-11-02
EUVDEUVD-2016-2636 No score
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.
- Record
EUVD-2016-2636- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-w2vf-7r3f-2gg2
8.8
Heap-based buffer overflow in the zip_read_mac_metadata function in...
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.
- Record
GHSA-w2vf-7r3f-2gg2- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Weakness
- CWE-20
- Updated
- 2026-11-02
OSVALPINE-CVE-2016-1541
8.8
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.
- Record
ALPINE-CVE-2016-1541- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSV
8.8
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.
- Record
CVE-2016-1541- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 7 moreShow less
OSVDEBIAN-CVE-2016-1541
8.8
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.
- Record
DEBIAN-CVE-2016-1541- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2016:1844
8.4
Red Hat Security Advisory: libarchive security update
- Record
RHSA-2016:1844- CVSS 3.0
- 8.4 High
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L - Updated
- 2026-11-02
OSVUBUNTU-CVE-2016-1541
8.8
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.
- Record
UBUNTU-CVE-2016-1541- CVSS 3.0
- 8.8 High
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVMGASA-2016-0179 No score
Updated libarchive packages fix CVE-2016-1541
Updated libarchive packages fix security vulnerability:
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 (CVE-2016-1541).
The libarchive package has been updated to version 3.2.0, fixing this issue and other bugs.
- Record
MGASA-2016-0179- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10127-1 No score
bsdtar-3.2.2-2.1 on GA media
These are all security issues fixed in the bsdtar-3.2.2-2.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10127-1- Updated
- 2026-11-02
OSVSUSE-SU-2016:1588-1 No score
Security update for libarchive
This update for libarchive fixes the following issue:
- Fix a heap-based buffer overflow (CVE-2016-1541, bsc#979005)
- Record
SUSE-SU-2016:1588-1- Updated
- 2026-11-02
OSVUSN-2981-1 No score
libarchive vulnerabilities
It was discovered that libarchive incorrectly handled certain entry-size values in ZIP archives. A remote attacker could use this issue to cause libarchive to crash, resulting in a denial of service, or possibly execute arbitrary code. This issue only applied to Ubuntu 14.04 LTS, Ubuntu 15.10 and Ubuntu 16.04 LTS. (CVE-2016-1541)
It was discovered that libarchive incorrectly handled memory when processing certain tar files. A remote attacker could use this issue to cause libarchive to crash, resulting in a denial of service. (CVE number pending)
- Record
USN-2981-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
libarchiveAlpine:v3.4 |
before 3.2.0-r0 | 3.2.0-r0 |
libarchiveDebian:12 |
before 3.1.2-11.1 | 3.1.2-11.1 |
libarchiveDebian:13 |
before 3.1.2-11.1 | 3.1.2-11.1 |
libarchiveDebian:14 |
before 3.1.2-11.1 | 3.1.2-11.1 |
libarchiveDebian:8 |
before 3.1.2-11+deb8u1, plus listed versions 3.1.2-11 |
3.1.2-11+deb8u1 |
libarchiveMageia:5 |
before 3.2.0-1.mga5 | 3.2.0-1.mga5 |
libarchiveRed Hat:enterprise_linux:7::client |
before 0:3.1.2-10.el7_2 | 0:3.1.2-10.el7_2 |
libarchive-debuginfoRed Hat:enterprise_linux:7::client |
before 0:3.1.2-10.el7_2 | 0:3.1.2-10.el7_2 |
bsdcpioRed Hat:enterprise_linux:7::client |
before 0:3.1.2-10.el7_2 | 0:3.1.2-10.el7_2 |
bsdtarRed Hat:enterprise_linux:7::client |
before 0:3.1.2-10.el7_2 | 0:3.1.2-10.el7_2 |
Show 27 moreShow less
| Package | Affected | Fixed |
|---|---|---|
libarchive-develRed Hat:enterprise_linux:7::client |
before 0:3.1.2-10.el7_2 | 0:3.1.2-10.el7_2 |
libarchiveRed Hat:enterprise_linux:7::computenode |
before 0:3.1.2-10.el7_2 | 0:3.1.2-10.el7_2 |
libarchive-debuginfoRed Hat:enterprise_linux:7::computenode |
before 0:3.1.2-10.el7_2 | 0:3.1.2-10.el7_2 |
bsdcpioRed Hat:enterprise_linux:7::computenode |
before 0:3.1.2-10.el7_2 | 0:3.1.2-10.el7_2 |
bsdtarRed Hat:enterprise_linux:7::computenode |
before 0:3.1.2-10.el7_2 | 0:3.1.2-10.el7_2 |
libarchive-develRed Hat:enterprise_linux:7::computenode |
before 0:3.1.2-10.el7_2 | 0:3.1.2-10.el7_2 |
libarchiveRed Hat:enterprise_linux:7::server |
before 0:3.1.2-10.el7_2 | 0:3.1.2-10.el7_2 |
libarchive-debuginfoRed Hat:enterprise_linux:7::server |
before 0:3.1.2-10.el7_2 | 0:3.1.2-10.el7_2 |
bsdcpioRed Hat:enterprise_linux:7::server |
before 0:3.1.2-10.el7_2 | 0:3.1.2-10.el7_2 |
bsdtarRed Hat:enterprise_linux:7::server |
before 0:3.1.2-10.el7_2 | 0:3.1.2-10.el7_2 |
libarchive-develRed Hat:enterprise_linux:7::server |
before 0:3.1.2-10.el7_2 | 0:3.1.2-10.el7_2 |
libarchiveRed Hat:enterprise_linux:7::workstation |
before 0:3.1.2-10.el7_2 | 0:3.1.2-10.el7_2 |
libarchive-debuginfoRed Hat:enterprise_linux:7::workstation |
before 0:3.1.2-10.el7_2 | 0:3.1.2-10.el7_2 |
bsdcpioRed Hat:enterprise_linux:7::workstation |
before 0:3.1.2-10.el7_2 | 0:3.1.2-10.el7_2 |
bsdtarRed Hat:enterprise_linux:7::workstation |
before 0:3.1.2-10.el7_2 | 0:3.1.2-10.el7_2 |
libarchive-develRed Hat:enterprise_linux:7::workstation |
before 0:3.1.2-10.el7_2 | 0:3.1.2-10.el7_2 |
libarchiveSUSE:Linux Enterprise Desktop 12 |
before 3.1.2-12.1 | 3.1.2-12.1 |
libarchiveSUSE:Linux Enterprise Desktop 12 SP1 |
before 3.1.2-12.1 | 3.1.2-12.1 |
libarchiveSUSE:Linux Enterprise Software Development Kit 12 |
before 3.1.2-12.1 | 3.1.2-12.1 |
libarchiveSUSE:Linux Enterprise Software Development Kit 12 SP1 |
before 3.1.2-12.1 | 3.1.2-12.1 |
libarchiveSUSE:Linux Enterprise Server 12 |
before 3.1.2-12.1 | 3.1.2-12.1 |
libarchiveSUSE:Linux Enterprise Server for SAP Applications 12 |
before 3.1.2-12.1 | 3.1.2-12.1 |
libarchiveSUSE:Linux Enterprise Server 12 SP1 |
before 3.1.2-12.1 | 3.1.2-12.1 |
libarchiveSUSE:Linux Enterprise Server for SAP Applications 12 SP1 |
before 3.1.2-12.1 | 3.1.2-12.1 |
libarchiveUbuntu:14.04:LTS |
before 3.1.2-7ubuntu2.2, plus listed versions 3.1.2-5ubuntu13.1.2-7ubuntu13.1.2-7ubuntu23.1.2-7ubuntu2.1 |
3.1.2-7ubuntu2.2 |
libarchiveUbuntu:16.04:LTS |
before 3.1.2-11ubuntu0.16.04.1, plus listed versions 3.1.2-11build1 |
3.1.2-11ubuntu0.16.04.1 |
bsdtaropenSUSE:Tumbleweed |
before 3.2.2-2.1 | 3.2.2-2.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2016-1541 is a high vulnerability (CVSS 8.8) in Libarchive, published May 7, 2016. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 10.3%, the 95th percentile. Fixed in libarchive 3.2.0-r0.
References
debian.org/security/2016/dsa-3574
github.com/libarchive/libarchive/commit/d0331e8e5b05b475f20b1f3101fe1ad772d7e7e7
ubuntu.com/usn/USN-2981-1
rhn.redhat.com/errata/RHSA-2016-1844.html
lists.opensuse.org/opensuse-updates/2016-06/msg00003.html
oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html
Show 131 moreShow less
github.com/libarchive/libarchive/issues/656
lists.opensuse.org/opensuse-updates/2016-06/msg00090.html
securityfocus.com/bid/89355
slackware.com/security/viewer.php?l=slackware-security&y=2016&m=slackware-security.352685
oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html
security.gentoo.org/glsa/201701-03
kb.cert.org/vuls/id/862384
nvd.nist.gov/vuln/detail/CVE-2016-1541
github.com/advisories/GHSA-w2vf-7r3f-2gg2
security.alpinelinux.org/vuln/CVE-2016-1541
security-tracker.debian.org/tracker/CVE-2016-1541
advisories.mageia.org/MGASA-2016-0179.html
bugs.mageia.org/show_bug.cgi?id=18420
groups.google.com/forum
access.redhat.com/errata/RHSA-2016:1844
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=1334211
bugzilla.redhat.com/show_bug.cgi?id=1347084
bugzilla.redhat.com/show_bug.cgi?id=1347085
bugzilla.redhat.com/show_bug.cgi?id=1347086
bugzilla.redhat.com/show_bug.cgi?id=1348412
bugzilla.redhat.com/show_bug.cgi?id=1348413
bugzilla.redhat.com/show_bug.cgi?id=1348414
bugzilla.redhat.com/show_bug.cgi?id=1348416
bugzilla.redhat.com/show_bug.cgi?id=1348419
bugzilla.redhat.com/show_bug.cgi?id=1348421
bugzilla.redhat.com/show_bug.cgi?id=1348423
bugzilla.redhat.com/show_bug.cgi?id=1348424
bugzilla.redhat.com/show_bug.cgi?id=1348429
bugzilla.redhat.com/show_bug.cgi?id=1348439
bugzilla.redhat.com/show_bug.cgi?id=1348444
bugzilla.redhat.com/show_bug.cgi?id=1348772
bugzilla.redhat.com/show_bug.cgi?id=1348773
bugzilla.redhat.com/show_bug.cgi?id=1348779
bugzilla.redhat.com/show_bug.cgi?id=1348780
bugzilla.redhat.com/show_bug.cgi?id=1349204
bugzilla.redhat.com/show_bug.cgi?id=1349229
bugzilla.redhat.com/show_bug.cgi?id=1350280
bugzilla.redhat.com/show_bug.cgi?id=1362601
security.access.redhat.com/data/csaf/v2/advisories/2016/rhsa-2016_1844.json
access.redhat.com/security/cve/CVE-2015-8916
cve.org/CVERecord?id=CVE-2015-8916
nvd.nist.gov/vuln/detail/CVE-2015-8916
access.redhat.com/security/cve/CVE-2015-8917
cve.org/CVERecord?id=CVE-2015-8917
nvd.nist.gov/vuln/detail/CVE-2015-8917
access.redhat.com/security/cve/CVE-2015-8919
cve.org/CVERecord?id=CVE-2015-8919
nvd.nist.gov/vuln/detail/CVE-2015-8919
access.redhat.com/security/cve/CVE-2015-8920
cve.org/CVERecord?id=CVE-2015-8920
nvd.nist.gov/vuln/detail/CVE-2015-8920
access.redhat.com/security/cve/CVE-2015-8921
cve.org/CVERecord?id=CVE-2015-8921
nvd.nist.gov/vuln/detail/CVE-2015-8921
access.redhat.com/security/cve/CVE-2015-8922
cve.org/CVERecord?id=CVE-2015-8922
nvd.nist.gov/vuln/detail/CVE-2015-8922
access.redhat.com/security/cve/CVE-2015-8923
cve.org/CVERecord?id=CVE-2015-8923
nvd.nist.gov/vuln/detail/CVE-2015-8923
access.redhat.com/security/cve/CVE-2015-8924
cve.org/CVERecord?id=CVE-2015-8924
nvd.nist.gov/vuln/detail/CVE-2015-8924
access.redhat.com/security/cve/CVE-2015-8925
cve.org/CVERecord?id=CVE-2015-8925
nvd.nist.gov/vuln/detail/CVE-2015-8925
access.redhat.com/security/cve/CVE-2015-8926
cve.org/CVERecord?id=CVE-2015-8926
nvd.nist.gov/vuln/detail/CVE-2015-8926
access.redhat.com/security/cve/CVE-2015-8928
cve.org/CVERecord?id=CVE-2015-8928
nvd.nist.gov/vuln/detail/CVE-2015-8928
access.redhat.com/security/cve/CVE-2015-8930
cve.org/CVERecord?id=CVE-2015-8930
nvd.nist.gov/vuln/detail/CVE-2015-8930
access.redhat.com/security/cve/CVE-2015-8931
cve.org/CVERecord?id=CVE-2015-8931
nvd.nist.gov/vuln/detail/CVE-2015-8931
access.redhat.com/security/cve/CVE-2015-8932
cve.org/CVERecord?id=CVE-2015-8932
nvd.nist.gov/vuln/detail/CVE-2015-8932
access.redhat.com/security/cve/CVE-2015-8934
cve.org/CVERecord?id=CVE-2015-8934
nvd.nist.gov/vuln/detail/CVE-2015-8934
access.redhat.com/security/cve/CVE-2016-1541
cve.org/CVERecord?id=CVE-2016-1541
access.redhat.com/security/cve/CVE-2016-4300
cve.org/CVERecord?id=CVE-2016-4300
nvd.nist.gov/vuln/detail/CVE-2016-4300
talosintel.com/reports/TALOS-2016-0152
access.redhat.com/security/cve/CVE-2016-4302
cve.org/CVERecord?id=CVE-2016-4302
nvd.nist.gov/vuln/detail/CVE-2016-4302
talosintel.com/reports/TALOS-2016-0154
access.redhat.com/security/cve/CVE-2016-4809
cve.org/CVERecord?id=CVE-2016-4809
nvd.nist.gov/vuln/detail/CVE-2016-4809
access.redhat.com/security/cve/CVE-2016-5418
cve.org/CVERecord?id=CVE-2016-5418
nvd.nist.gov/vuln/detail/CVE-2016-5418
seclists.org/oss-sec/2016/q3/255
access.redhat.com/security/cve/CVE-2016-5844
cve.org/CVERecord?id=CVE-2016-5844
nvd.nist.gov/vuln/detail/CVE-2016-5844
access.redhat.com/security/cve/CVE-2016-6250
cve.org/CVERecord?id=CVE-2016-6250
nvd.nist.gov/vuln/detail/CVE-2016-6250
access.redhat.com/security/cve/CVE-2016-7166
cve.org/CVERecord?id=CVE-2016-7166
nvd.nist.gov/vuln/detail/CVE-2016-7166
suse.com/support/update/announcement/2016/suse-su-20161588-1
bugzilla.suse.com/979005
suse.com/security/cve/CVE-2016-1541
ubuntu.com/security/CVE-2016-1541
ubuntu.com/security/notices/USN-2981-1
suse.com/security/cve/CVE-2013-0211
suse.com/security/cve/CVE-2015-2304
suse.com/security/cve/CVE-2015-8917
suse.com/security/cve/CVE-2015-8928
suse.com/security/cve/CVE-2015-8933
suse.com/security/cve/CVE-2015-8934
suse.com/security/cve/CVE-2016-4300
suse.com/security/cve/CVE-2016-4301
suse.com/security/cve/CVE-2016-4809
suse.com/security/cve/CVE-2016-5418
suse.com/security/cve/CVE-2016-5844
suse.com/security/cve/CVE-2016-6250
suse.com/security/cve/CVE-2016-8687
suse.com/security/cve/CVE-2016-8688
suse.com/security/cve/CVE-2016-8689