Every CVE Search/ Get API key

CVE-2016-1541

Heap-based buffer overflow in the zip_read_mac_metadata function in...

8.8 HighFix available

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

10.3%Up 2.4 points since Feb 4, 2022
90%50%10%1%

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 HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS 2.0
6.8 MediumAV: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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 HighCVSS: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

Affected packages
PackageAffectedFixed
libarchive
Alpine:v3.4
before 3.2.0-r0
3.2.0-r0
libarchive
Debian:12
before 3.1.2-11.1
3.1.2-11.1
libarchive
Debian:13
before 3.1.2-11.1
3.1.2-11.1
libarchive
Debian:14
before 3.1.2-11.1
3.1.2-11.1
libarchive
Debian:8
before 3.1.2-11+deb8u1, plus listed versions
3.1.2-11
3.1.2-11+deb8u1
libarchive
Mageia:5
before 3.2.0-1.mga5
3.2.0-1.mga5
libarchive
Red Hat:enterprise_linux:7::client
before 0:3.1.2-10.el7_2
0:3.1.2-10.el7_2
libarchive-debuginfo
Red Hat:enterprise_linux:7::client
before 0:3.1.2-10.el7_2
0:3.1.2-10.el7_2
bsdcpio
Red Hat:enterprise_linux:7::client
before 0:3.1.2-10.el7_2
0:3.1.2-10.el7_2
bsdtar
Red Hat:enterprise_linux:7::client
before 0:3.1.2-10.el7_2
0:3.1.2-10.el7_2
Show 27 moreShow less
Affected packages
PackageAffectedFixed
libarchive-devel
Red Hat:enterprise_linux:7::client
before 0:3.1.2-10.el7_2
0:3.1.2-10.el7_2
libarchive
Red Hat:enterprise_linux:7::computenode
before 0:3.1.2-10.el7_2
0:3.1.2-10.el7_2
libarchive-debuginfo
Red Hat:enterprise_linux:7::computenode
before 0:3.1.2-10.el7_2
0:3.1.2-10.el7_2
bsdcpio
Red Hat:enterprise_linux:7::computenode
before 0:3.1.2-10.el7_2
0:3.1.2-10.el7_2
bsdtar
Red Hat:enterprise_linux:7::computenode
before 0:3.1.2-10.el7_2
0:3.1.2-10.el7_2
libarchive-devel
Red Hat:enterprise_linux:7::computenode
before 0:3.1.2-10.el7_2
0:3.1.2-10.el7_2
libarchive
Red Hat:enterprise_linux:7::server
before 0:3.1.2-10.el7_2
0:3.1.2-10.el7_2
libarchive-debuginfo
Red Hat:enterprise_linux:7::server
before 0:3.1.2-10.el7_2
0:3.1.2-10.el7_2
bsdcpio
Red Hat:enterprise_linux:7::server
before 0:3.1.2-10.el7_2
0:3.1.2-10.el7_2
bsdtar
Red Hat:enterprise_linux:7::server
before 0:3.1.2-10.el7_2
0:3.1.2-10.el7_2
libarchive-devel
Red Hat:enterprise_linux:7::server
before 0:3.1.2-10.el7_2
0:3.1.2-10.el7_2
libarchive
Red Hat:enterprise_linux:7::workstation
before 0:3.1.2-10.el7_2
0:3.1.2-10.el7_2
libarchive-debuginfo
Red Hat:enterprise_linux:7::workstation
before 0:3.1.2-10.el7_2
0:3.1.2-10.el7_2
bsdcpio
Red Hat:enterprise_linux:7::workstation
before 0:3.1.2-10.el7_2
0:3.1.2-10.el7_2
bsdtar
Red Hat:enterprise_linux:7::workstation
before 0:3.1.2-10.el7_2
0:3.1.2-10.el7_2
libarchive-devel
Red Hat:enterprise_linux:7::workstation
before 0:3.1.2-10.el7_2
0:3.1.2-10.el7_2
libarchive
SUSE:Linux Enterprise Desktop 12
before 3.1.2-12.1
3.1.2-12.1
libarchive
SUSE:Linux Enterprise Desktop 12 SP1
before 3.1.2-12.1
3.1.2-12.1
libarchive
SUSE:Linux Enterprise Software Development Kit 12
before 3.1.2-12.1
3.1.2-12.1
libarchive
SUSE:Linux Enterprise Software Development Kit 12 SP1
before 3.1.2-12.1
3.1.2-12.1
libarchive
SUSE:Linux Enterprise Server 12
before 3.1.2-12.1
3.1.2-12.1
libarchive
SUSE:Linux Enterprise Server for SAP Applications 12
before 3.1.2-12.1
3.1.2-12.1
libarchive
SUSE:Linux Enterprise Server 12 SP1
before 3.1.2-12.1
3.1.2-12.1
libarchive
SUSE:Linux Enterprise Server for SAP Applications 12 SP1
before 3.1.2-12.1
3.1.2-12.1
libarchive
Ubuntu: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
libarchive
Ubuntu: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
bsdtar
openSUSE:Tumbleweed
before 3.2.2-2.1
3.2.2-2.1

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE 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

Show 131 moreShow less
MoveEnter Open