CVE-2026-16517

Libarchive: libarchive: signed integer overflow in archive_write_zip_header

Published Jul 21, 2026 CVSS 3.1 · 2.9 Low EPSS < 1% KEV · Not listed
Description
A signed integer overflow vulnerability was found in libarchive's ZIP writer. In the archive_write_zip_header function in archive_write_set_format_zip.c, when ZIP encryption is enabled and the entry file size is close to INT64_MAX, the addition of the encryption overhead to the entry size overflows int64_t, resulting in undefined behavior. This could lead to incorrect Zip64 extension decisions or potential memory corruption.

Analysis

AI-generated

Technical impact

A signed integer overflow occurs in the libarchive ZIP writer when encryption is enabled and the entry file size is close to the maximum 64‑bit value. The overflow can cause undefined behavior, leading to incorrect Zip64 extension decisions or memory corruption without providing any broader security impact.

Affected Systems

The vulnerability affects Red Hat Enterprise Linux releases 10, 6, 7, 8, and 9, Red Hat Hardened Images, and Red Hat OpenShift Container Platform 4. All affected systems rely on the libarchive library in the format used for ZIP archives.

Risk and Exploitability

With a CVSS score of 2.9 and an EPSS score below 1%, the risk of exploitation is low and there is no record in the CISA KEV catalog. The likely attack path would require an attacker to supply a crafted ZIP archive with encryption enabled and a size near the 64‑bit maximum, which is highly specific and limited in scope. No remote code execution or privilege escalation is described in the CVE data.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the RHSA-2026:43818 security update to all affected Red Hat Enterprise Linux releases, Red Hat Hardened Images, and OpenShift Container Platform 4 releases, bringing the libarchive library to the patched version.
  • After applying the update, restart any services or containers that use libarchive so they load the updated binary and eliminate the overflow risk.
  • Until the update can be applied, block or reject encrypted ZIP archives on the system, for example by configuring the application to screen for ZIP files with encryption and refusing them.

Generated by OpenCVE AI on August 4, 2026 at 00:19 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4762-1 libarchive security update
Ubuntu USN Ubuntu USN USN-8902-1 libarchive vulnerability
History
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:5
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:10 cpe:/o:redhat:enterprise_linux:10.2
References
Type Values Removed Values Added
First Time appeared Libarchive
Libarchive libarchive
Redhat hardened Images
Redhat openshift Container Platform
Vendors & Products Libarchive
Libarchive libarchive
Redhat hardened Images
Redhat openshift Container Platform
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A signed integer overflow vulnerability was found in libarchive's ZIP writer. In the archive_write_zip_header function in archive_write_set_format_zip.c, when ZIP encryption is enabled and the entry file size is close to INT64_MAX, the addition of the encryption overhead to the entry size overflows int64_t, resulting in undefined behavior. This could lead to incorrect Zip64 extension decisions or potential memory corruption.
Title Libarchive: libarchive: signed integer overflow in archive_write_zip_header
First Time appeared Redhat
Redhat enterprise Linux
Redhat hummingbird
Redhat openshift
Weaknesses CWE-190
CPEs cpe:/a:redhat:hummingbird:1
cpe:/a:redhat:openshift:4
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Redhat hummingbird
Redhat openshift
References
Metrics cvssV3_1

{'score': 2.9, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L'}

Weaknesses
  • CWE-190

    Integer Overflow or Wraparound

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 6, 2026, 6:05 PM
Reserved
Jul 21, 2026, 10:31 PM
Status
Awaiting Analysis
Published
Jul 21, 2026, 11:17 PM
Modified
Nov 6, 2026, 7:17 PM
Severity
Low
Public date
Jul 3, 2026, 12:00 AM