Heap-based buffer overflow in the zip_read_mac_metadata function in…
Priority MEDIUM 51CWE-20Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat.
Summary
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.
Why it matters now
EPSS 0.10284 95th percentileScored 2026-11-07
Fix Fixed Red Hat: 1 advisory
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:* | up to 3.1.901a | Vulnerable | libarchive |
- cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:* Versions up to 3.1.901a Vulnerable ·libarchive
Remediation
Red Hat 1 advisory
- RHSA-2016:1844 Released 2016-09-12 · Red Hat rating Importantlibarchive security update
- Red Hat Enterprise Linux Client (v. 7) libarchive-3.1.2-10.el7_2
- Red Hat Enterprise Linux Client Optional (v. 7) bsdcpio-3.1.2-10.el7_2, bsdtar-3.1.2-10.el7_2, libarchive-devel-3.1.2-10.el7_2
- Red Hat Enterprise Linux ComputeNode (v. 7) libarchive-3.1.2-10.el7_2
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) bsdcpio-3.1.2-10.el7_2, bsdtar-3.1.2-10.el7_2, libarchive-devel-3.1.2-10.el7_2
- Red Hat Enterprise Linux Server (v. 7) libarchive-3.1.2-10.el7_2, libarchive-3.1.2-10.el7_2.ppc
- Red Hat Enterprise Linux Server Optional (v. 7) bsdcpio-3.1.2-10.el7_2, bsdtar-3.1.2-10.el7_2, libarchive-devel-3.1.2-10.el7_2 +1
- Red Hat Enterprise Linux Workstation (v. 7) libarchive-3.1.2-10.el7_2
- Red Hat Enterprise Linux Workstation Optional (v. 7) bsdcpio-3.1.2-10.el7_2, bsdtar-3.1.2-10.el7_2, libarchive-devel-3.1.2-10.el7_2
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2016:1844 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2016:1844 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2016:1844 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2016:1844 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2016:1844 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2016:1844 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2016:1844 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2016:1844 |
Not affected: 1 product
- Red Hat Enterprise Linux 6
Timeline
- 2026-10-02 Threatist record created from CVE-2016-1541
- 2026-10-03 Alias added: GHSA-w2vf-7r3f-2gg2
References
Advisory 8
Other 4
- https://github.com/libarchive/libarchive/commit/d0331e8e5b05b475f20b1f3101fe1ad772d7e7e7
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html
- https://github.com/libarchive/libarchive/issues/656
- http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html
More Libarchive vulnerabilities
- TI-2024-17342 Libarchive Remote Code Execution Vulnerability CVSS 3.1HIGH 7.8
- TI-2024-24911 Libarchive before 3.7.4 allows name out-of-bounds access when a ZIP archive has an… CVSS 3.1CRITICAL 9.1
- TI-2025-05340 Libarchive: double free at archive_read_format_rar_seek_data() in archive_read_support_format_rar.c CVSS 3.1HIGH 7.8
- TI-2024-32437 Null Pointer Dereference vulnerability in libarchive 3.7.6 and earlier when running… CVSS 3.1HIGH 7.5
- TI-2025-37810 An issue was discovered in libarchive bsdtar before version 3.8.1 in function… CVSS 3.1MEDIUM 5.5
- TI-2025-01402 libarchive bsdunzip.c list null pointer dereference CVSS 4.0MEDIUM 4.8
Sources
- CVE-2016-1541 · CVE Program
- CVE-2016-1541 · NVD
- FIRST EPSS
- GHSA-w2vf-7r3f-2gg2 · GitHub Advisory Database · CC BY 4.0
- CVE-2016-1541 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences