CVE-2026-16517

Libarchive: libarchive: signed integer overflow in archive_write_zip_header

State
Published
Severity
2.9 Low
Published
Jul 21, 2026
Updated
Nov 2, 2026
Reserved
Jul 21, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.12.9 LowCVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:Lredhat

Weaknesses

  • CWE-190 Integer Overflow or Wraparound

Affected Products

ProductVersions
Red Hat Enterprise Linux 10Red Hat
  • 0:3.7.7-11.el10_2 and laterNot affected
Red Hat Hardened ImagesRed Hat
  • 3.8.8-3.1.hum1 and laterNot affected
Red Hat Enterprise Linux 6Red Hat
    Red Hat Enterprise Linux 7Red Hat
      Red Hat Enterprise Linux 8Red Hat
        Red Hat Enterprise Linux 9Red Hat
          Red Hat OpenShift Container Platform 4Red Hat
            Red Hat OpenShift Container Platform 4Red Hat
              Red Hat OpenShift Container Platform 5Red Hat

                References

                Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.