CVE-2025-25724: libarchive 3.7.8 fixed CVE-2024-57970, CVE-2025-1632, & CVE-2025-25724
Last updated 23 April 2025
Other sources
listitemverbose 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.
— NVD
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 3.6.1-5 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 3.7.7-2 - Upgrade
Upgrade
libarchiveto a version that resolves this vulnerability.Fixed in 3.7.8 - Compensating control
Do not use verbose extraction (tar/libarchive verbose value of 2) when processing untrusted/crafted TAR archives until upgrading to libarchive 3.7.8.
Event History
Frequently Asked Questions
What is the severity of CVE-2025-25724?
CVE-2025-25724 has been classified as a medium severity vulnerability due to its potential to cause a denial of service.
How do I fix CVE-2025-25724?
To fix CVE-2025-25724, upgrade to libarchive version 3.7.8 or later where the vulnerability is addressed.
What impact can CVE-2025-25724 have on my system?
CVE-2025-25724 can lead to a denial of service or other unspecified impacts when processing crafted TAR archives.
Which versions of libarchive are affected by CVE-2025-25724?
CVE-2025-25724 affects libarchive versions prior to 3.7.8.
Can CVE-2025-25724 be exploited remotely?
Yes, CVE-2025-25724 can be exploited remotely if a vulnerable system processes a malicious TAR archive.