---
id: CVE-2026-16517
title: A signed integer overflow vulnerability was found in libarchive's ZIP writer
summary: >-
  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 a…
severity: low
cvss: 2.9
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L'
cwe:
  - CWE-190
vendor: Red Hat
product: libarchive
affected:
  - libarchive (all versions)
  - libarchive-main (all versions)
  - libarchive (all versions)
  - libarchive (all versions)
  - libarchive
  - libarchive
  - openshift/ose-rhel-coreos-8 (all versions)
  - openshift/ose-rhel-coreos-9 (all versions)
published: '2026-07-21'
updated: '2026-09-22'
sourceUpdated: '2026-09-22T00:16:31.997'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-16517'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2026:43818'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:69553'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/security/cve/CVE-2026-16517'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2505492'
    label: secalert@redhat.com
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-16517.json
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-16517'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-16517'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-07-22T12:44:48.802617Z'
epss: 0.00105
epssPercentile: 0.01041
ingestedAt: '2026-09-14T15:13:46.885Z'
patched:
  - enterprise_linux_appstream_v_10
  - enterprise_linux_baseos_v_10
  - hardened_images
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **RHSA-2026:69553** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream (v. 10), Red Hat Enterprise Linux BaseOS (v. 10) · released 2026-09-21 · [advisory](https://access.redhat.com/errata/RHSA-2026:69553)
- **RHSA-2026:43818** · Red Hat · fixed in: Red Hat Hardened Images · released 2026-07-22 · [advisory](https://access.redhat.com/errata/RHSA-2026:43818)
- **Red Hat VEX** · Low · affected: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat OpenShift Container Platform 4 · no fix planned: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat OpenShift Container Platform 4 · updated 2026-09-21 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-16517.json)
