CVE-2026-16517
CVE-2026-16517 · Libarchive: libarchive: signed integer overflow in archive_write_zip_header
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 2.9 · Low · EPSS 0.1% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
red hat enterprise linux 10
- Versions
- ≥ 0:3.7.7-11.el10_2: Not affected (rpm)
No fix published
red hat hardened images
- Versions
- ≥ 3.8.8-3.1.hum1: Not affected (rpm)
No fix published
red hat enterprise linux 6
No fix published
red hat enterprise linux 7
No fix published
red hat enterprise linux 8
No fix published
red hat enterprise linux 9
No fix published
red hat openshift container platform 4
No fix published
libarchive Debian:12
- Versions
- 3.6.2-1
- 3.6.2-1+deb12u1
- 3.6.2-1+deb12u2
- 3.6.2-1+deb12u3
- 3.6.2-1+deb12u4
- Affected ranges
- ECOSYSTEM: < 3.6.2-1+deb12u5
Update to 3.6.2-1+deb12u5
libarchive Debian:13
- Versions
- 3.7.4-4
- 3.7.4-4+deb13u1
- 3.8.4-1
- 3.8.5-1
- 3.8.6-1
- 3.8.7-1
- 3.8.8-1
- 3.8.8-2
- 3.8.9-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libarchive Debian:14
- Versions
- 3.7.4-4
- 3.8.4-1
- 3.8.5-1
- 3.8.6-1
- 3.8.7-1
- 3.8.8-1
- 3.8.8-2
- Affected ranges
- ECOSYSTEM: < 3.8.9-1
Update to 3.8.9-1
libarchive Ubuntu:Pro:14.04:LTS
- Versions
- 3.1.2-5ubuntu1
- 3.1.2-7ubuntu1
- 3.1.2-7ubuntu2
- 3.1.2-7ubuntu2.1
- 3.1.2-7ubuntu2.2
- 3.1.2-7ubuntu2.3
- 3.1.2-7ubuntu2.4
- 3.1.2-7ubuntu2.6
- 3.1.2-7ubuntu2.7
- 3.1.2-7ubuntu2.8
- 3.1.2-7ubuntu2.8+esm1
- 3.1.2-7ubuntu2.8+esm3
- 3.1.2-7ubuntu2.8+esm4
- 3.1.2-7ubuntu2.8+esm5
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libarchive Ubuntu:Pro:16.04:LTS
- Versions
- 3.1.2-11build1
- 3.1.2-11ubuntu0.16.04.1
- 3.1.2-11ubuntu0.16.04.2
- 3.1.2-11ubuntu0.16.04.3
- 3.1.2-11ubuntu0.16.04.4
- 3.1.2-11ubuntu0.16.04.5
- 3.1.2-11ubuntu0.16.04.6
- 3.1.2-11ubuntu0.16.04.7
- 3.1.2-11ubuntu0.16.04.8
- 3.1.2-11ubuntu0.16.04.8+esm1
- 3.1.2-11ubuntu0.16.04.8+esm2
- 3.1.2-11ubuntu0.16.04.8+esm3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libarchive Ubuntu:Pro:18.04:LTS
- Versions
- 3.2.2-3.1
- 3.2.2-3.1ubuntu0.1
- 3.2.2-3.1ubuntu0.2
- 3.2.2-3.1ubuntu0.3
- 3.2.2-3.1ubuntu0.4
- 3.2.2-3.1ubuntu0.5
- 3.2.2-3.1ubuntu0.6
- 3.2.2-3.1ubuntu0.7
- 3.2.2-3.1ubuntu0.7+esm1
- 3.2.2-3.1ubuntu0.7+esm2
- 3.2.2-3.1ubuntu0.7+esm3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libarchive Ubuntu:Pro:20.04:LTS
- Versions
- 3.4.0-1
- 3.4.0-1build1
- 3.4.0-1ubuntu2
- 3.4.0-2ubuntu1
- 3.4.0-2ubuntu1.1
- 3.4.0-2ubuntu1.2
- 3.4.0-2ubuntu1.3
- 3.4.0-2ubuntu1.4
- 3.4.0-2ubuntu1.5
- 3.4.0-2ubuntu1.5+esm1
- 3.4.0-2ubuntu1.5+esm2
- 3.4.0-2ubuntu1.5+esm3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
libarchive Ubuntu:22.04:LTS
- Versions
- 3.4.3-2
- 3.4.3-2build1
- 3.5.2-1
- 3.5.2-1ubuntu1
- 3.6.0-1ubuntu1
- 3.6.0-1ubuntu1.1
- 3.6.0-1ubuntu1.2
- 3.6.0-1ubuntu1.3
- 3.6.0-1ubuntu1.4
- 3.6.0-1ubuntu1.5
- 3.6.0-1ubuntu1.6
- 3.6.0-1ubuntu1.7
- 3.6.0-1ubuntu1.8
- Affected ranges
- ECOSYSTEM: < 3.6.0-1ubuntu1.9
Update to 3.6.0-1ubuntu1.9
libarchive Ubuntu:24.04:LTS
- Versions
- 3.6.2-1ubuntu1
- 3.7.2-1ubuntu1
- 3.7.2-1ubuntu2
- 3.7.2-1.1ubuntu2
- 3.7.2-2
- 3.7.2-2ubuntu0.1
- 3.7.2-2ubuntu0.2
- 3.7.2-2ubuntu0.3
- 3.7.2-2ubuntu0.4
- 3.7.2-2ubuntu0.5
- 3.7.2-2ubuntu0.6
- 3.7.2-2ubuntu0.7
- 3.7.2-2ubuntu0.8
- Affected ranges
- ECOSYSTEM: < 3.7.2-2ubuntu0.9
Update to 3.7.2-2ubuntu0.9
libarchive Ubuntu:26.04:LTS
- Versions
- 3.7.7-0ubuntu3
- 3.8.5-1ubuntu1
- 3.8.5-1ubuntu2
- 3.8.5-1ubuntu2.1
- 3.8.5-1ubuntu2.2
- Affected ranges
- ECOSYSTEM: < 3.8.5-1ubuntu2.3
Update to 3.8.5-1ubuntu2.3