
CVE catalog
CVE-2025-5916
libarchive vulnerabilities
- Severity
- Medium · CVSS 4.4
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.21% · Oct 25, 2026
A vulnerability has been identified in the libarchive library. This flaw involves an integer overflow that can be triggered when processing a Web Archive (WARC) file that claims to have more than INT64_MAX - 4 content bytes. An attacker could craft a malicious WARC archive to induce this overflow, potentially leading to unpredictable program behavior, memory corruption, or a denial-of-service condition within applications that process such archives using libarchive. This bug affects libarchive versions prior to 3.8.0.
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 | fixed |
| Debian | libarchive | bookworm | 3.6.2-1+deb12u4 | fixed |
| Debian | libarchive | bookworm-security | 3.6.2-1+deb12u5 | fixed |
| Ubuntu | libarchive | noble | 3.7.2-2ubuntu0.6 | fixed |
| Ubuntu | libarchive-dev | noble | 3.7.2-2ubuntu0.6 | fixed |
| Ubuntu | libarchive-tools | noble | 3.7.2-2ubuntu0.6 | fixed |
| Ubuntu | libarchive13t64 | noble | 3.7.2-2ubuntu0.6 | fixed |
| Ubuntu | libarchive | noble | 3.6.2-1+deb12u3 | fixed |
| Ubuntu | libarchive | noble | 3.7.2-2ubuntu0.5 | fixed |
| Ubuntu | libarchive-dev | noble | 3.7.2-2ubuntu0.5 | fixed |
| Ubuntu | libarchive-tools | noble | 3.7.2-2ubuntu0.5 | fixed |
| Ubuntu | libarchive13t64 | noble | 3.7.2-2ubuntu0.5 | fixed |
| Cpe | libarchive | Not reported | 3.8.0 | fixed |
| Cpe | openshift_container_platform | Not reported | Not reported | unknown |
| Cpe | enterprise_linux | Not reported | Not reported | unknown |
| 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 | 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 | 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 | fixed |
| Ubuntu | libarchive | 25.10 | 3.7.7-0ubuntu2 | vulnerable |
| Ubuntu | libarchive | 25.10 | 3.7.7-0ubuntu2.1 | vulnerable |
| Ubuntu | libarchive | 25.10 | 3.7.7-0ubuntu2.2 | vulnerable |
| Ubuntu | libarchive | 25.10 | 3.7.7-0ubuntu3 | fixed |
| Opensuse | rpi-imager | tumbleweed | 1.9.5-1.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libarchive | source | sid | 3.7.4-4 | not yet assigned | Not reported | [1107623] |
| Debian | libarchive | source | forky | 3.7.4-4 | not yet assigned | Not reported | [1107623] |
| Debian | libarchive | source | trixie | 3.7.4-4 | not yet assigned | Not reported | [1107623] |
| Debian | libarchive | source | bookworm | 3.6.2-1+deb12u3 | not yet assigned | Not reported | [1107623] |
| Ubuntu | libarchive | deb | noble | 3.7.2-2ubuntu0.6 | Not reported | Not reported | Not reported |
| Ubuntu | libarchive-dev | deb | noble | 3.7.2-2ubuntu0.6 | Not reported | Not reported | Not reported |
| Ubuntu | libarchive-tools | deb | noble | 3.7.2-2ubuntu0.6 | Not reported | Not reported | Not reported |
| Ubuntu | libarchive13t64 | deb | noble | 3.7.2-2ubuntu0.6 | Not reported | Not reported | Not reported |
| Ubuntu | libarchive | deb | noble | 3.6.2-1+deb12u3 | Not reported | Not reported | Not reported |
| Ubuntu | libarchive | deb | noble | 3.7.2-2ubuntu0.5 | Not reported | Not reported | Not reported |
| Ubuntu | libarchive-dev | deb | noble | 3.7.2-2ubuntu0.5 | Not reported | Not reported | Not reported |
| Ubuntu | libarchive-tools | deb | noble | 3.7.2-2ubuntu0.5 | Not reported | Not reported | Not reported |
| Ubuntu | libarchive13t64 | deb | noble | 3.7.2-2ubuntu0.5 | Not reported | Not reported | Not reported |
| Cpe | libarchive | cpe | Not reported | 3.8.0 | Not reported | NVD-CVE-2025-5916 | Not reported |
| Ubuntu | libarchive | deb | pro | 3.4.0-2ubuntu1.5+esm1 | Not reported | UBUNTU-CVE-2025-5916 | Not reported |
| Ubuntu | libarchive | deb | 22.04 | 3.6.0-1ubuntu1.5 | Not reported | UBUNTU-CVE-2025-5916 | Not reported |
| Ubuntu | libarchive | deb | 24.04 | 3.7.2-2ubuntu0.5 | Not reported | UBUNTU-CVE-2025-5916 | Not reported |
| Ubuntu | libarchive | deb | 25.10 | 3.7.7-0ubuntu3 | Not reported | UBUNTU-CVE-2025-5916 | Not reported |
| Opensuse | rpi-imager | rpm | tumbleweed | 1.9.5-1.1 | Not reported | OPENSUSE-SU-2025:15388-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libarchive13]Fixed
Source package: [libarchive]
Details (4)
3.6.2-1+deb12u4· amd64 · bookwormFixed · Fixed:
3.6.2-1+deb12u3usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u4· arm64 · bookwormFixed · Fixed:
3.6.2-1+deb12u3usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u5· amd64 · bookworm-securityFixed · Fixed:
3.6.2-1+deb12u3usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u5· arm64 · bookworm-securityFixed · Fixed:
3.6.2-1+deb12u3usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
- [libarchive-dev]Fixed
Source package: [libarchive]
Details (4)
3.6.2-1+deb12u4· amd64 · bookwormFixed · Fixed:
3.6.2-1+deb12u3usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u4· arm64 · bookwormFixed · Fixed:
3.6.2-1+deb12u3usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u5· amd64 · bookworm-securityFixed · Fixed:
3.6.2-1+deb12u3usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u5· arm64 · bookworm-securityFixed · Fixed:
3.6.2-1+deb12u3usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
- [libarchive-tools]Fixed
Source package: [libarchive]
Details (4)
3.6.2-1+deb12u4· amd64 · bookwormFixed · Fixed:
3.6.2-1+deb12u3usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u4· arm64 · bookwormFixed · Fixed:
3.6.2-1+deb12u3usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u5· amd64 · bookworm-securityFixed · Fixed:
3.6.2-1+deb12u3usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u5· arm64 · bookworm-securityFixed · Fixed:
3.6.2-1+deb12u3usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
[Debian 13 (Trixie)]
- [libarchive13t64]Fixed
Source package: [libarchive]
Details (2)
3.7.4-4+deb13u1· amd64 · trixieFixed · Fixed:
3.7.4-4usn · libarchive · debian · 13
3.7.4-4+deb13u1· arm64 · trixieFixed · Fixed:
3.7.4-4usn · libarchive · debian · 13
- [libarchive-dev]Fixed
Source package: [libarchive]
Details (2)
3.7.4-4+deb13u1· amd64 · trixieFixed · Fixed:
3.7.4-4usn · libarchive · debian · 13
3.7.4-4+deb13u1· arm64 · trixieFixed · Fixed:
3.7.4-4usn · libarchive · debian · 13
- [libarchive-tools]Fixed
Source package: [libarchive]
Details (2)
3.7.4-4+deb13u1· amd64 · trixieFixed · Fixed:
3.7.4-4usn · libarchive · debian · 13
3.7.4-4+deb13u1· arm64 · trixieFixed · Fixed:
3.7.4-4usn · libarchive · debian · 13
[openSUSE Tumbleweed]
- [rpi-imager]Fixed
Source package: [rpi-imager]
Details (1)
2.0.6-1.6· x86_64 · tumbleweedFixed · Fixed:
1.9.5-1.1usn · rpi-imager · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2025_02522-1.json]
- [https://nvd.nist.gov/vuln/detail/CVE-2025-5916]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-5916]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2025-5916]
- [https://osv.dev/vulnerability/openSUSE-SU-2025:15388-1]
- [https://security-tracker.debian.org/tracker/CVE-2025-5916]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-5916.json]
- [https://ubuntu.com/security/notices/USN-7601-1]
- [https://ubuntu.com/security/notices/USN-8147-1]
[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)]