# CVE-2026-16517: Libarchive: libarchive: signed integer overflow in archive_write_zip_header

- Severity: Low 2.9 (CVSS:3.1, scored by redhat) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.10%, higher than 1% of CVEs (2026-12-02)
- Published: 2026-07-21T22:41:38.128Z
- Modified: 2026-11-25T16:17:48.880Z
- Weaknesses: CWE-190
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: redhat

## 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.

(As written by CVE List.)

## Affected

- libarchive: no versions given (not affected: from 0:3.7.7-11.el10_2 before *)
- libarchive-main: no versions given (not affected: from 3.8.8-3.1.hum1 before *)
- openshift/ose-rhel-coreos-8: no versions given
- openshift/ose-rhel-coreos-9: no versions given

## References

- <https://access.redhat.com/errata/RHSA-2026:43818> (vendor-advisory)
- <https://access.redhat.com/errata/RHSA-2026:69553> (vendor-advisory)
- <https://access.redhat.com/security/cve/CVE-2026-16517> (vdb-entry)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2505492> (issue-tracking)

## Sources

- CVE List: [CVE-2026-16517](https://www.cve.org/CVERecord?id=CVE-2026-16517), CVE Terms of Use, modified 2026-11-25
- NVD: [CVE-2026-16517](https://nvd.nist.gov/vuln/detail/CVE-2026-16517), Public domain, modified 2026-11-25

---

Page: https://cve.day/CVE-2026-16517 · Whole record: https://cve.day/CVE-2026-16517.json · Rebuilt by cve.day 2026-11-25T23:18:10.317Z
