
CVE catalog
CVE-2026-16517
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 f
- Severity
- Low · CVSS 2.9
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.10% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libarchive | sid | 3.8.10-2 | fixed |
| Debian | libarchive | forky | 3.8.9-1 | fixed |
| Debian | libarchive | trixie | 3.7.4-4+deb13u1 | vulnerable |
| Debian | libarchive | bookworm | 3.6.2-1+deb12u4 | vulnerable |
| Debian | libarchive | bookworm-security | 3.6.2-1+deb12u5 | fixed |
| Ubuntu | libarchive | noble | 3.7.2-2ubuntu0.9 | fixed |
| Ubuntu | libarchive-dev | noble | 3.7.2-2ubuntu0.9 | fixed |
| Ubuntu | libarchive-tools | noble | 3.7.2-2ubuntu0.9 | fixed |
| Ubuntu | libarchive13t64 | noble | 3.7.2-2ubuntu0.9 | fixed |
| Ubuntu | libarchive | 22.04 | 3.4.3-2 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.4.3-2build1 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.5.2-1 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.5.2-1ubuntu1 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1.1 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1.2 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1.3 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1.4 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1.5 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1.6 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1.7 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1.8 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1.9 | fixed |
| Ubuntu | libarchive | 24.04 | 3.6.2-1ubuntu1 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-1ubuntu1 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-1ubuntu2 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-1.1ubuntu2 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2ubuntu0.1 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2ubuntu0.2 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2ubuntu0.3 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2ubuntu0.4 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2ubuntu0.5 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2ubuntu0.6 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2ubuntu0.7 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2ubuntu0.8 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2ubuntu0.9 | fixed |
| Ubuntu | libarchive | 26.04 | 3.7.7-0ubuntu3 | vulnerable |
| Ubuntu | libarchive | 26.04 | 3.8.5-1ubuntu1 | vulnerable |
| Ubuntu | libarchive | 26.04 | 3.8.5-1ubuntu2 | vulnerable |
| Ubuntu | libarchive | 26.04 | 3.8.5-1ubuntu2.1 | vulnerable |
| Ubuntu | libarchive | 26.04 | 3.8.5-1ubuntu2.2 | vulnerable |
| Ubuntu | libarchive | 26.04 | 3.8.5-1ubuntu2.3 | fixed |
| Ubuntu | libarchive | pro | 3.4.0-1 | vulnerable |
| Ubuntu | libarchive | pro | 3.4.0-1build1 | vulnerable |
| Ubuntu | libarchive | pro | 3.4.0-1ubuntu2 | vulnerable |
| Ubuntu | libarchive | pro | 3.4.0-2ubuntu1 | vulnerable |
| Ubuntu | libarchive | pro | 3.4.0-2ubuntu1.1 | vulnerable |
| Ubuntu | libarchive | pro | 3.4.0-2ubuntu1.2 | vulnerable |
| Ubuntu | libarchive | pro | 3.4.0-2ubuntu1.3 | vulnerable |
| Ubuntu | libarchive | pro | 3.4.0-2ubuntu1.4 | vulnerable |
| Ubuntu | libarchive | pro | 3.4.0-2ubuntu1.5 | vulnerable |
| Ubuntu | libarchive | pro | 3.4.0-2ubuntu1.5+esm1 | vulnerable |
| Ubuntu | libarchive | pro | 3.4.0-2ubuntu1.5+esm2 | vulnerable |
| Ubuntu | libarchive | pro | 3.4.0-2ubuntu1.5+esm3 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.4.3-2 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.4.3-2build1 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.5.2-1 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.5.2-1ubuntu1 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1.1 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1.2 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1.3 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1.4 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1.5 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1.6 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1.7 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1.8 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1.9 | fixed |
| Ubuntu | libarchive | 24.04 | 3.6.2-1ubuntu1 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-1ubuntu1 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-1ubuntu2 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-1.1ubuntu2 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2ubuntu0.1 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2ubuntu0.2 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2ubuntu0.3 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2ubuntu0.4 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2ubuntu0.5 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2ubuntu0.6 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2ubuntu0.7 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2ubuntu0.8 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2ubuntu0.9 | fixed |
| Ubuntu | libarchive | 26.04 | 3.7.7-0ubuntu3 | vulnerable |
| Ubuntu | libarchive | 26.04 | 3.8.5-1ubuntu1 | vulnerable |
| Ubuntu | libarchive | 26.04 | 3.8.5-1ubuntu2 | vulnerable |
| Ubuntu | libarchive | 26.04 | 3.8.5-1ubuntu2.1 | vulnerable |
| Ubuntu | libarchive | 26.04 | 3.8.5-1ubuntu2.2 | vulnerable |
| Ubuntu | libarchive | 26.04 | 3.8.5-1ubuntu2.3 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libarchive | source | sid | 3.8.9-1 | not yet assigned | Not reported | [1142834] |
| Debian | libarchive | source | forky | 3.8.9-1 | not yet assigned | Not reported | [1142834] |
| Debian | libarchive | source | trixie | (unfixed) | not yet assigned | Not reported | [1142834] |
| Debian | libarchive | source | bookworm | 3.6.2-1+deb12u5 | not yet assigned | Not reported | [1142834] |
| Ubuntu | libarchive | deb | noble | 3.7.2-2ubuntu0.9 | Not reported | Not reported | Not reported |
| Ubuntu | libarchive-dev | deb | noble | 3.7.2-2ubuntu0.9 | Not reported | Not reported | Not reported |
| Ubuntu | libarchive-tools | deb | noble | 3.7.2-2ubuntu0.9 | Not reported | Not reported | Not reported |
| Ubuntu | libarchive13t64 | deb | noble | 3.7.2-2ubuntu0.9 | Not reported | Not reported | Not reported |
| Ubuntu | libarchive | deb | 22.04 | 3.6.0-1ubuntu1.9 | Not reported | USN-8902-1 | Not reported |
| Ubuntu | libarchive | deb | 24.04 | 3.7.2-2ubuntu0.9 | Not reported | USN-8902-1 | Not reported |
| Ubuntu | libarchive | deb | 26.04 | 3.8.5-1ubuntu2.3 | Not reported | USN-8902-1 | Not reported |
| Ubuntu | libarchive | deb | 22.04 | 3.6.0-1ubuntu1.9 | Not reported | UBUNTU-CVE-2026-16517 | Not reported |
| Ubuntu | libarchive | deb | 24.04 | 3.7.2-2ubuntu0.9 | Not reported | UBUNTU-CVE-2026-16517 | Not reported |
| Ubuntu | libarchive | deb | 26.04 | 3.8.5-1ubuntu2.3 | Not reported | UBUNTU-CVE-2026-16517 | Not reported |
Notes
[trixie] libarchive: Can be fixed via point release
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libarchive13]Affected
Source package: [libarchive]
Details (4)
3.6.2-1+deb12u4· amd64 · bookwormAffected · Fixed:
3.6.2-1+deb12u5nvd · libarchive · debian · bookworm; nvd · libarchive · debian · 12
3.6.2-1+deb12u4· arm64 · bookwormAffected · Fixed:
3.6.2-1+deb12u5nvd · libarchive · debian · bookworm; nvd · libarchive · debian · 12
3.6.2-1+deb12u5· amd64 · bookworm-securityFixed · Fixed:
3.6.2-1+deb12u5nvd · libarchive · debian · bookworm; nvd · libarchive · debian · 12
3.6.2-1+deb12u5· arm64 · bookworm-securityFixed · Fixed:
3.6.2-1+deb12u5nvd · libarchive · debian · bookworm; nvd · libarchive · debian · 12
- [libarchive-dev]Affected
Source package: [libarchive]
Details (4)
3.6.2-1+deb12u4· amd64 · bookwormAffected · Fixed:
3.6.2-1+deb12u5nvd · libarchive · debian · bookworm; nvd · libarchive · debian · 12
3.6.2-1+deb12u4· arm64 · bookwormAffected · Fixed:
3.6.2-1+deb12u5nvd · libarchive · debian · bookworm; nvd · libarchive · debian · 12
3.6.2-1+deb12u5· amd64 · bookworm-securityFixed · Fixed:
3.6.2-1+deb12u5nvd · libarchive · debian · bookworm; nvd · libarchive · debian · 12
3.6.2-1+deb12u5· arm64 · bookworm-securityFixed · Fixed:
3.6.2-1+deb12u5nvd · libarchive · debian · bookworm; nvd · libarchive · debian · 12
- [libarchive-tools]Affected
Source package: [libarchive]
Details (4)
3.6.2-1+deb12u4· amd64 · bookwormAffected · Fixed:
3.6.2-1+deb12u5nvd · libarchive · debian · bookworm; nvd · libarchive · debian · 12
3.6.2-1+deb12u4· arm64 · bookwormAffected · Fixed:
3.6.2-1+deb12u5nvd · libarchive · debian · bookworm; nvd · libarchive · debian · 12
3.6.2-1+deb12u5· amd64 · bookworm-securityFixed · Fixed:
3.6.2-1+deb12u5nvd · libarchive · debian · bookworm; nvd · libarchive · debian · 12
3.6.2-1+deb12u5· arm64 · bookworm-securityFixed · Fixed:
3.6.2-1+deb12u5nvd · libarchive · debian · bookworm; nvd · libarchive · debian · 12
[Debian 13 (Trixie)]
- [libarchive13t64]Affected
Source package: [libarchive]
Details (2)
3.7.4-4+deb13u1· amd64 · trixieAffected
nvd · libarchive · debian · 13
3.7.4-4+deb13u1· arm64 · trixieAffected
nvd · libarchive · debian · 13
- [libarchive-dev]Affected
Source package: [libarchive]
Details (2)
3.7.4-4+deb13u1· amd64 · trixieAffected
nvd · libarchive · debian · 13
3.7.4-4+deb13u1· arm64 · trixieAffected
nvd · libarchive · debian · 13
- [libarchive-tools]Affected
Source package: [libarchive]
Details (2)
3.7.4-4+deb13u1· amd64 · trixieAffected
nvd · libarchive · debian · 13
3.7.4-4+deb13u1· arm64 · trixieAffected
nvd · libarchive · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2026_69553.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-16517]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-16517]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-16517]
- [https://osv.dev/vulnerability/USN-8902-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-16517]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-16517.json]
- [https://ubuntu.com/security/notices/USN-8902-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2456.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]