
CVE catalog
CVE-2025-25724
libarchive vulnerabilities
- Severity
- Medium · CVSS 4
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.37% · Oct 25, 2026
list_item_verbose in tar/util.c in libarchive through 3.7.7 does not check an strftime return value, which can lead to a denial of service or unspecified other impact via a crafted TAR archive that is read with a verbose value of 2. For example, the 100-byte buffer may not be sufficient for a custom locale.
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 | vulnerable |
| Ubuntu | libarchive | noble | Not reported | vulnerable |
| 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.7.2-2ubuntu0.4 | fixed |
| Ubuntu | libarchive-dev | noble | 3.7.2-2ubuntu0.4 | fixed |
| Ubuntu | libarchive-tools | noble | 3.7.2-2ubuntu0.4 | fixed |
| Ubuntu | libarchive13t64 | noble | 3.7.2-2ubuntu0.4 | fixed |
| Alpine | libarchive | 3.18 | 3.7.9-r0 | fixed |
| Alpine | libarchive | 3.19 | 3.7.9-r0 | fixed |
| Alpine | libarchive | 3.20 | 3.7.9-r0 | fixed |
| Alpine | libarchive | 3.21 | 3.7.9-r0 | fixed |
| Alpine | libarchive | 3.22 | 3.7.9-r0 | fixed |
| Alpine | libarchive | 3.23 | 3.7.9-r0 | fixed |
| Alpine | libarchive | 3.24 | 3.7.9-r0 | fixed |
| Ubuntu | libarchive | pro | 3.2.2-3.1 | vulnerable |
| Ubuntu | libarchive | pro | 3.2.2-3.1ubuntu0.1 | vulnerable |
| Ubuntu | libarchive | pro | 3.2.2-3.1ubuntu0.2 | vulnerable |
| Ubuntu | libarchive | pro | 3.2.2-3.1ubuntu0.3 | vulnerable |
| Ubuntu | libarchive | pro | 3.2.2-3.1ubuntu0.4 | vulnerable |
| Ubuntu | libarchive | pro | 3.2.2-3.1ubuntu0.5 | vulnerable |
| Ubuntu | libarchive | pro | 3.2.2-3.1ubuntu0.6 | vulnerable |
| Ubuntu | libarchive | pro | 3.2.2-3.1ubuntu0.7 | vulnerable |
| Ubuntu | libarchive | pro | 3.2.2-3.1ubuntu0.7+esm1 | vulnerable |
| Ubuntu | libarchive | pro | 3.2.2-3.1ubuntu0.7+esm2 | fixed |
| Ubuntu | libarchive | 20.04 | 3.4.0-1 | vulnerable |
| Ubuntu | libarchive | 20.04 | 3.4.0-1build1 | vulnerable |
| Ubuntu | libarchive | 20.04 | 3.4.0-1ubuntu2 | vulnerable |
| Ubuntu | libarchive | 20.04 | 3.4.0-2ubuntu1 | vulnerable |
| Ubuntu | libarchive | 20.04 | 3.4.0-2ubuntu1.1 | vulnerable |
| Ubuntu | libarchive | 20.04 | 3.4.0-2ubuntu1.2 | vulnerable |
| Ubuntu | libarchive | 20.04 | 3.4.0-2ubuntu1.3 | vulnerable |
| Ubuntu | libarchive | 20.04 | 3.4.0-2ubuntu1.4 | vulnerable |
| Ubuntu | libarchive | 20.04 | 3.4.0-2ubuntu1.5 | 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 | 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 | fixed |
| Ubuntu | libarchive | 25.10 | 3.7.7-0ubuntu2 | vulnerable |
| Ubuntu | libarchive | 25.10 | 3.7.7-0ubuntu2.1 | fixed |
| Suse | libarchive | linux enterprise micro 5.3 | 3.5.1-150400.3.18.1 | fixed |
| Suse | libarchive | linux enterprise micro 5.4 | 3.5.1-150400.3.18.1 | fixed |
| Suse | libarchive | linux enterprise micro 5.5 | 3.5.1-150400.3.18.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libarchive | source | sid | 3.8.4-1 | unimportant | Not reported | [1103479] |
| Debian | libarchive | source | forky | 3.8.4-1 | unimportant | Not reported | [1103479] |
| Debian | libarchive | source | trixie | (unfixed) | unimportant | Not reported | [1103479] |
| Debian | libarchive | source | bookworm | (unfixed) | unimportant | Not reported | [1103479] |
| 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.7.2-2ubuntu0.4 | Not reported | Not reported | Not reported |
| Ubuntu | libarchive-dev | deb | noble | 3.7.2-2ubuntu0.4 | Not reported | Not reported | Not reported |
| Ubuntu | libarchive-tools | deb | noble | 3.7.2-2ubuntu0.4 | Not reported | Not reported | Not reported |
| Ubuntu | libarchive13t64 | deb | noble | 3.7.2-2ubuntu0.4 | Not reported | Not reported | Not reported |
| Alpine | libarchive | apk | 3.18 | 3.7.9-r0 | Not reported | ALPINE-CVE-2025-25724 | Not reported |
| Alpine | libarchive | apk | 3.19 | 3.7.9-r0 | Not reported | ALPINE-CVE-2025-25724 | Not reported |
| Alpine | libarchive | apk | 3.20 | 3.7.9-r0 | Not reported | ALPINE-CVE-2025-25724 | Not reported |
| Alpine | libarchive | apk | 3.21 | 3.7.9-r0 | Not reported | ALPINE-CVE-2025-25724 | Not reported |
| Alpine | libarchive | apk | 3.22 | 3.7.9-r0 | Not reported | ALPINE-CVE-2025-25724 | Not reported |
| Alpine | libarchive | apk | 3.23 | 3.7.9-r0 | Not reported | ALPINE-CVE-2025-25724 | Not reported |
| Alpine | libarchive | apk | 3.24 | 3.7.9-r0 | Not reported | ALPINE-CVE-2025-25724 | Not reported |
| Ubuntu | libarchive | deb | pro | 3.2.2-3.1ubuntu0.7+esm2 | Not reported | UBUNTU-CVE-2025-25724 | Not reported |
| Ubuntu | libarchive | deb | 20.04 | 3.4.0-2ubuntu1.5 | Not reported | UBUNTU-CVE-2025-25724 | Not reported |
| Ubuntu | libarchive | deb | 22.04 | 3.6.0-1ubuntu1.4 | Not reported | UBUNTU-CVE-2025-25724 | Not reported |
| Ubuntu | libarchive | deb | 24.04 | 3.7.2-2ubuntu0.4 | Not reported | UBUNTU-CVE-2025-25724 | Not reported |
| Ubuntu | libarchive | deb | 25.10 | 3.7.7-0ubuntu2.1 | Not reported | UBUNTU-CVE-2025-25724 | Not reported |
| Suse | libarchive | rpm | linux enterprise micro 5.3 | 3.5.1-150400.3.18.1 | Not reported | SUSE-SU-2025:0986-1 | Not reported |
| Suse | libarchive | rpm | linux enterprise micro 5.4 | 3.5.1-150400.3.18.1 | Not reported | SUSE-SU-2025:0986-1 | Not reported |
| Suse | libarchive | rpm | linux enterprise micro 5.5 | 3.5.1-150400.3.18.1 | Not reported | SUSE-SU-2025:0986-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libarchive13]Affected
Source package: [libarchive]
Details (4)
3.6.2-1+deb12u4· amd64 · bookwormAffected
usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u4· arm64 · bookwormAffected
usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u5· amd64 · bookworm-securityAffected
usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u5· arm64 · bookworm-securityAffected
usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
- [libarchive-dev]Affected
Source package: [libarchive]
Details (4)
3.6.2-1+deb12u4· amd64 · bookwormAffected
usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u4· arm64 · bookwormAffected
usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u5· amd64 · bookworm-securityAffected
usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u5· arm64 · bookworm-securityAffected
usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
- [libarchive-tools]Affected
Source package: [libarchive]
Details (4)
3.6.2-1+deb12u4· amd64 · bookwormAffected
usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u4· arm64 · bookwormAffected
usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u5· amd64 · bookworm-securityAffected
usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
3.6.2-1+deb12u5· arm64 · bookworm-securityAffected
usn · libarchive · debian · bookworm; usn · libarchive · debian · 12
[Debian 13 (Trixie)]
- [libarchive13t64]Affected
Source package: [libarchive]
Details (2)
3.7.4-4+deb13u1· amd64 · trixieAffected
usn · libarchive · debian · 13
3.7.4-4+deb13u1· arm64 · trixieAffected
usn · libarchive · debian · 13
- [libarchive-dev]Affected
Source package: [libarchive]
Details (2)
3.7.4-4+deb13u1· amd64 · trixieAffected
usn · libarchive · debian · 13
3.7.4-4+deb13u1· arm64 · trixieAffected
usn · libarchive · debian · 13
- [libarchive-tools]Affected
Source package: [libarchive]
Details (2)
3.7.4-4+deb13u1· amd64 · trixieAffected
usn · libarchive · debian · 13
3.7.4-4+deb13u1· arm64 · trixieAffected
usn · libarchive · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2025_0985-1.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2025-25724]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2025-25724]
- [https://osv.dev/vulnerability/SUSE-SU-2025:0986-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2025-25724]
- [https://security-tracker.debian.org/tracker/CVE-2025-25724]
- [https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-25724.json]
- [https://ubuntu.com/security/notices/USN-7454-1]
- [https://ubuntu.com/security/notices/USN-8147-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2025/wid-sec-w-2025-0469.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX] · [Ubuntu Security Notices (USN)]