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

[CVE catalog]

Severity
Low · CVSS 2.9CVSS: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.

DistributionPackageReleaseVersionStatus
Debianlibarchivesid3.8.10-2fixed
Debianlibarchiveforky3.8.9-1fixed
Debianlibarchivetrixie3.7.4-4+deb13u1vulnerable
Debianlibarchivebookworm3.6.2-1+deb12u4vulnerable
Debianlibarchivebookworm-security3.6.2-1+deb12u5fixed
Ubuntulibarchivenoble3.7.2-2ubuntu0.9fixed
Ubuntulibarchive-devnoble3.7.2-2ubuntu0.9fixed
Ubuntulibarchive-toolsnoble3.7.2-2ubuntu0.9fixed
Ubuntulibarchive13t64noble3.7.2-2ubuntu0.9fixed
Ubuntulibarchive22.043.4.3-2vulnerable
Ubuntulibarchive22.043.4.3-2build1vulnerable
Ubuntulibarchive22.043.5.2-1vulnerable
Ubuntulibarchive22.043.5.2-1ubuntu1vulnerable
Ubuntulibarchive22.043.6.0-1ubuntu1vulnerable
Ubuntulibarchive22.043.6.0-1ubuntu1.1vulnerable
Ubuntulibarchive22.043.6.0-1ubuntu1.2vulnerable
Ubuntulibarchive22.043.6.0-1ubuntu1.3vulnerable
Ubuntulibarchive22.043.6.0-1ubuntu1.4vulnerable
Ubuntulibarchive22.043.6.0-1ubuntu1.5vulnerable
Ubuntulibarchive22.043.6.0-1ubuntu1.6vulnerable
Ubuntulibarchive22.043.6.0-1ubuntu1.7vulnerable
Ubuntulibarchive22.043.6.0-1ubuntu1.8vulnerable
Ubuntulibarchive22.043.6.0-1ubuntu1.9fixed
Ubuntulibarchive24.043.6.2-1ubuntu1vulnerable
Ubuntulibarchive24.043.7.2-1ubuntu1vulnerable
Ubuntulibarchive24.043.7.2-1ubuntu2vulnerable
Ubuntulibarchive24.043.7.2-1.1ubuntu2vulnerable
Ubuntulibarchive24.043.7.2-2vulnerable
Ubuntulibarchive24.043.7.2-2ubuntu0.1vulnerable
Ubuntulibarchive24.043.7.2-2ubuntu0.2vulnerable
Ubuntulibarchive24.043.7.2-2ubuntu0.3vulnerable
Ubuntulibarchive24.043.7.2-2ubuntu0.4vulnerable
Ubuntulibarchive24.043.7.2-2ubuntu0.5vulnerable
Ubuntulibarchive24.043.7.2-2ubuntu0.6vulnerable
Ubuntulibarchive24.043.7.2-2ubuntu0.7vulnerable
Ubuntulibarchive24.043.7.2-2ubuntu0.8vulnerable
Ubuntulibarchive24.043.7.2-2ubuntu0.9fixed
Ubuntulibarchive26.043.7.7-0ubuntu3vulnerable
Ubuntulibarchive26.043.8.5-1ubuntu1vulnerable
Ubuntulibarchive26.043.8.5-1ubuntu2vulnerable
Ubuntulibarchive26.043.8.5-1ubuntu2.1vulnerable
Ubuntulibarchive26.043.8.5-1ubuntu2.2vulnerable
Ubuntulibarchive26.043.8.5-1ubuntu2.3fixed
Ubuntulibarchivepro3.4.0-1vulnerable
Ubuntulibarchivepro3.4.0-1build1vulnerable
Ubuntulibarchivepro3.4.0-1ubuntu2vulnerable
Ubuntulibarchivepro3.4.0-2ubuntu1vulnerable
Ubuntulibarchivepro3.4.0-2ubuntu1.1vulnerable
Ubuntulibarchivepro3.4.0-2ubuntu1.2vulnerable
Ubuntulibarchivepro3.4.0-2ubuntu1.3vulnerable
Ubuntulibarchivepro3.4.0-2ubuntu1.4vulnerable
Ubuntulibarchivepro3.4.0-2ubuntu1.5vulnerable
Ubuntulibarchivepro3.4.0-2ubuntu1.5+esm1vulnerable
Ubuntulibarchivepro3.4.0-2ubuntu1.5+esm2vulnerable
Ubuntulibarchivepro3.4.0-2ubuntu1.5+esm3vulnerable
Ubuntulibarchive22.043.4.3-2vulnerable
Ubuntulibarchive22.043.4.3-2build1vulnerable
Ubuntulibarchive22.043.5.2-1vulnerable
Ubuntulibarchive22.043.5.2-1ubuntu1vulnerable
Ubuntulibarchive22.043.6.0-1ubuntu1vulnerable
Ubuntulibarchive22.043.6.0-1ubuntu1.1vulnerable
Ubuntulibarchive22.043.6.0-1ubuntu1.2vulnerable
Ubuntulibarchive22.043.6.0-1ubuntu1.3vulnerable
Ubuntulibarchive22.043.6.0-1ubuntu1.4vulnerable
Ubuntulibarchive22.043.6.0-1ubuntu1.5vulnerable
Ubuntulibarchive22.043.6.0-1ubuntu1.6vulnerable
Ubuntulibarchive22.043.6.0-1ubuntu1.7vulnerable
Ubuntulibarchive22.043.6.0-1ubuntu1.8vulnerable
Ubuntulibarchive22.043.6.0-1ubuntu1.9fixed
Ubuntulibarchive24.043.6.2-1ubuntu1vulnerable
Ubuntulibarchive24.043.7.2-1ubuntu1vulnerable
Ubuntulibarchive24.043.7.2-1ubuntu2vulnerable
Ubuntulibarchive24.043.7.2-1.1ubuntu2vulnerable
Ubuntulibarchive24.043.7.2-2vulnerable
Ubuntulibarchive24.043.7.2-2ubuntu0.1vulnerable
Ubuntulibarchive24.043.7.2-2ubuntu0.2vulnerable
Ubuntulibarchive24.043.7.2-2ubuntu0.3vulnerable
Ubuntulibarchive24.043.7.2-2ubuntu0.4vulnerable
Ubuntulibarchive24.043.7.2-2ubuntu0.5vulnerable
Ubuntulibarchive24.043.7.2-2ubuntu0.6vulnerable
Ubuntulibarchive24.043.7.2-2ubuntu0.7vulnerable
Ubuntulibarchive24.043.7.2-2ubuntu0.8vulnerable
Ubuntulibarchive24.043.7.2-2ubuntu0.9fixed
Ubuntulibarchive26.043.7.7-0ubuntu3vulnerable
Ubuntulibarchive26.043.8.5-1ubuntu1vulnerable
Ubuntulibarchive26.043.8.5-1ubuntu2vulnerable
Ubuntulibarchive26.043.8.5-1ubuntu2.1vulnerable
Ubuntulibarchive26.043.8.5-1ubuntu2.2vulnerable
Ubuntulibarchive26.043.8.5-1ubuntu2.3fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibarchivesourcesid3.8.9-1not yet assignedNot reported[1142834]
Debianlibarchivesourceforky3.8.9-1not yet assignedNot reported[1142834]
Debianlibarchivesourcetrixie(unfixed)not yet assignedNot reported[1142834]
Debianlibarchivesourcebookworm3.6.2-1+deb12u5not yet assignedNot reported[1142834]
Ubuntulibarchivedebnoble3.7.2-2ubuntu0.9Not reportedNot reportedNot reported
Ubuntulibarchive-devdebnoble3.7.2-2ubuntu0.9Not reportedNot reportedNot reported
Ubuntulibarchive-toolsdebnoble3.7.2-2ubuntu0.9Not reportedNot reportedNot reported
Ubuntulibarchive13t64debnoble3.7.2-2ubuntu0.9Not reportedNot reportedNot reported
Ubuntulibarchivedeb22.043.6.0-1ubuntu1.9Not reportedUSN-8902-1Not reported
Ubuntulibarchivedeb24.043.7.2-2ubuntu0.9Not reportedUSN-8902-1Not reported
Ubuntulibarchivedeb26.043.8.5-1ubuntu2.3Not reportedUSN-8902-1Not reported
Ubuntulibarchivedeb22.043.6.0-1ubuntu1.9Not reportedUBUNTU-CVE-2026-16517Not reported
Ubuntulibarchivedeb24.043.7.2-2ubuntu0.9Not reportedUBUNTU-CVE-2026-16517Not reported
Ubuntulibarchivedeb26.043.8.5-1ubuntu2.3Not reportedUBUNTU-CVE-2026-16517Not reported

[Debian bug #1142834]

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 · bookworm

      Affected · Fixed: 3.6.2-1+deb12u5

      nvd · libarchive · debian · bookworm; nvd · libarchive · debian · 12

    • 3.6.2-1+deb12u4 · arm64 · bookworm

      Affected · Fixed: 3.6.2-1+deb12u5

      nvd · libarchive · debian · bookworm; nvd · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · amd64 · bookworm-security

      Fixed · Fixed: 3.6.2-1+deb12u5

      nvd · libarchive · debian · bookworm; nvd · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · arm64 · bookworm-security

      Fixed · Fixed: 3.6.2-1+deb12u5

      nvd · libarchive · debian · bookworm; nvd · libarchive · debian · 12

  • [libarchive-dev]Affected

    Source package: [libarchive]

    Details (4)
    • 3.6.2-1+deb12u4 · amd64 · bookworm

      Affected · Fixed: 3.6.2-1+deb12u5

      nvd · libarchive · debian · bookworm; nvd · libarchive · debian · 12

    • 3.6.2-1+deb12u4 · arm64 · bookworm

      Affected · Fixed: 3.6.2-1+deb12u5

      nvd · libarchive · debian · bookworm; nvd · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · amd64 · bookworm-security

      Fixed · Fixed: 3.6.2-1+deb12u5

      nvd · libarchive · debian · bookworm; nvd · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · arm64 · bookworm-security

      Fixed · Fixed: 3.6.2-1+deb12u5

      nvd · libarchive · debian · bookworm; nvd · libarchive · debian · 12

  • Source package: [libarchive]

    Details (4)
    • 3.6.2-1+deb12u4 · amd64 · bookworm

      Affected · Fixed: 3.6.2-1+deb12u5

      nvd · libarchive · debian · bookworm; nvd · libarchive · debian · 12

    • 3.6.2-1+deb12u4 · arm64 · bookworm

      Affected · Fixed: 3.6.2-1+deb12u5

      nvd · libarchive · debian · bookworm; nvd · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · amd64 · bookworm-security

      Fixed · Fixed: 3.6.2-1+deb12u5

      nvd · libarchive · debian · bookworm; nvd · libarchive · debian · 12

    • 3.6.2-1+deb12u5 · arm64 · bookworm-security

      Fixed · Fixed: 3.6.2-1+deb12u5

      nvd · libarchive · debian · bookworm; nvd · libarchive · debian · 12

[Debian 13 (Trixie)]

  • [libarchive13t64]Affected

    Source package: [libarchive]

    Details (2)
    • 3.7.4-4+deb13u1 · amd64 · trixie

      Affected

      nvd · libarchive · debian · 13

    • 3.7.4-4+deb13u1 · arm64 · trixie

      Affected

      nvd · libarchive · debian · 13

  • [libarchive-dev]Affected

    Source package: [libarchive]

    Details (2)
    • 3.7.4-4+deb13u1 · amd64 · trixie

      Affected

      nvd · libarchive · debian · 13

    • 3.7.4-4+deb13u1 · arm64 · trixie

      Affected

      nvd · libarchive · debian · 13

  • Source package: [libarchive]

    Details (2)
    • 3.7.4-4+deb13u1 · amd64 · trixie

      Affected

      nvd · libarchive · debian · 13

    • 3.7.4-4+deb13u1 · arm64 · trixie

      Affected

      nvd · libarchive · debian · 13

Observed:

References