CVE-2026-16517

LOW

Libarchive: libarchive: signed integer overflow in archive_write_zip_header

Title source: cna
STIX 2.1

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.

References (3)

Core 3
Core References
Vendor Advisory vendor-advisory x_refsource_redhat
RHSA-2026:43818
https://access.redhat.com/errata/RHSA-2026:43818
Vdb Entry, X_Refsource_Redhat vdb-entry x_refsource_redhat
https://access.redhat.com/security/cve/CVE-2026-16517
Issue Tracking, X_Refsource_Redhat issue-tracking x_refsource_redhat
RHBZ#2505492
https://bugzilla.redhat.com/show_bug.cgi?id=2505492

Scores

CVSS v3 2.9
EPSS 0.0008
EPSS Percentile 0.2%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-190
Status published
Products (8)
Red Hat/Red Hat Enterprise Linux 10
Red Hat/Red Hat Enterprise Linux 6
Red Hat/Red Hat Enterprise Linux 7
Red Hat/Red Hat Enterprise Linux 8
Red Hat/Red Hat Enterprise Linux 9
Red Hat/Red Hat Hardened Images
Red Hat/Red Hat Hardened Images 3.8.8-3.1.hum1
Red Hat/Red Hat OpenShift Container Platform 4
Published Jul 21, 2026
Tracked Since Jul 22, 2026