CVE-2025-25724 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...
HighCVSS 7.8
EPSS 0.37%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
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.
Upgrade path
15 packages: 13 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/libarchive(Debian 12) | = 3.6.2-1; = 3.6.2-1+deb12u1; = 3.6.2-1+deb12u2; = 3.6.2-1+deb12u3 +20 more | No fix listed | No fix yet |
| debian/libarchive(Debian 13) | = 3.7.4-4; = 3.7.4-4+deb13u1; = 3.8.4-1; = 3.8.5-1 +6 more | No fix listed | No fix yet |
| alpine/libarchive(Alpine v3.18) | < 3.7.9-r0 | 3.7.9-r0 | Fixed |
| alpine/libarchive(Alpine v3.19) | < 3.7.9-r0 | 3.7.9-r0 | Fixed |
| alpine/libarchive(Alpine v3.20) | < 3.7.9-r0 | 3.7.9-r0 | Fixed |
| alpine/libarchive(Alpine v3.21) | < 3.7.9-r0 | 3.7.9-r0 | Fixed |
| alpine/libarchive(Alpine v3.22) | < 3.7.9-r0 | 3.7.9-r0 | Fixed |
| alpine/libarchive(Alpine v3.23) | < 3.7.9-r0 | 3.7.9-r0 | Fixed |
| alpine/libarchive(Alpine v3.24) | < 3.7.9-r0 | 3.7.9-r0 | Fixed |
| azure linux libarchive(Azure Linux 3.0) | < 3.7.7-2 | 3.7.7-2 | Fixed |
| cbl-mariner libarchive(CBL-Mariner 2.0) | < 3.6.1-5 | 3.6.1-5 | Fixed |
| debian/libarchive(Debian 14) | < 3.8.4-1; = 3.7.4-4 | 3.8.4-1 | Fixed |
| libarchive | <= 3.7.7 | after 3.7.7 | Fixed |
| ubuntu/libarchive(Ubuntu 22.04) | < 3.6.0-1ubuntu1.4 | 3.6.0-1ubuntu1.4 | Fixed |
| ubuntu/libarchive(Ubuntu 24.04) | < 3.7.2-2ubuntu0.4 | 3.7.2-2ubuntu0.4 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cbl-mariner libarchive(CBL-Mariner:2.0) | < 3.6.1-5 | 3.6.1-5 |
| azure linux libarchive(Azure Linux:3.0) | < 3.7.7-2 | 3.7.7-2 |
| debian/libarchive(Debian:12) | All versions | No fix listed |
| debian/libarchive(Debian:12) | = 3.6.2-1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.6.2-1+deb12u1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.6.2-1+deb12u2 | No fix listed |
| debian/libarchive(Debian:12) | = 3.6.2-1+deb12u3 | No fix listed |
| debian/libarchive(Debian:12) | = 3.6.2-1+deb12u4 | No fix listed |
| debian/libarchive(Debian:12) | = 3.6.2-1+deb12u5 | No fix listed |
| debian/libarchive(Debian:12) | = 3.7.2-1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.7.2-1.1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.7.2-1.1~exp1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.7.2-2 | No fix listed |
| debian/libarchive(Debian:12) | = 3.7.2-2.1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.7.4-1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.7.4-1.1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.7.4-2 | No fix listed |
| debian/libarchive(Debian:12) | = 3.7.4-3 | No fix listed |
| debian/libarchive(Debian:12) | = 3.7.4-4 | No fix listed |
| debian/libarchive(Debian:12) | = 3.8.4-1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.8.5-1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.8.6-1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.8.7-1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.8.8-1 | No fix listed |
| debian/libarchive(Debian:12) | = 3.8.8-2 | No fix listed |
Show 23 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/libarchive(Debian:12) | = 3.8.9-1 | No fix listed |
| debian/libarchive(Debian:13) | All versions | No fix listed |
| debian/libarchive(Debian:13) | = 3.7.4-4 | No fix listed |
| debian/libarchive(Debian:13) | = 3.7.4-4+deb13u1 | No fix listed |
| debian/libarchive(Debian:13) | = 3.8.4-1 | No fix listed |
| debian/libarchive(Debian:13) | = 3.8.5-1 | No fix listed |
| debian/libarchive(Debian:13) | = 3.8.6-1 | No fix listed |
| debian/libarchive(Debian:13) | = 3.8.7-1 | No fix listed |
| debian/libarchive(Debian:13) | = 3.8.8-1 | No fix listed |
| debian/libarchive(Debian:13) | = 3.8.8-2 | No fix listed |
| debian/libarchive(Debian:13) | = 3.8.9-1 | No fix listed |
| debian/libarchive(Debian:14) | < 3.8.4-1 | 3.8.4-1 |
| debian/libarchive(Debian:14) | = 3.7.4-4 | No fix listed |
| libarchive | <= 3.7.7 | No fix listed |
| ubuntu/libarchive(Ubuntu:22.04) | < 3.6.0-1ubuntu1.4 | 3.6.0-1ubuntu1.4 |
| alpine/libarchive(Alpine:v3.18) | < 3.7.9-r0 | 3.7.9-r0 |
| alpine/libarchive(Alpine:v3.19) | < 3.7.9-r0 | 3.7.9-r0 |
| alpine/libarchive(Alpine:v3.20) | < 3.7.9-r0 | 3.7.9-r0 |
| alpine/libarchive(Alpine:v3.21) | < 3.7.9-r0 | 3.7.9-r0 |
| alpine/libarchive(Alpine:v3.22) | < 3.7.9-r0 | 3.7.9-r0 |
| alpine/libarchive(Alpine:v3.23) | < 3.7.9-r0 | 3.7.9-r0 |
| alpine/libarchive(Alpine:v3.24) | < 3.7.9-r0 | 3.7.9-r0 |
| ubuntu/libarchive(Ubuntu:24.04) | < 3.7.2-2ubuntu0.4 | 3.7.2-2ubuntu0.4 |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- Debian Security Tracker CVE-2025-25724 vendor-advisory
- github.com exploit
- github.com product
- gist.github.com third-party-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-7454-1 vendor-advisory
- USN-8147-1 vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking