Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Libarchive | Libarchive | <= 3.7.7 |
Related Weaknesses (CWE)
References
- https://gist.github.com/Ekkosun/a83870ce7f3b7813b9b462a395e8ad92Third Party Advisory
- https://github.com/Ekkosun/pocs/blob/main/bsdtarbugExploit
- https://github.com/libarchive/libarchive/blob/b439d586f53911c84be5e380445a8a259eProduct
FAQ
What is CVE-2025-25724?
CVE-2025-25724 is a vulnerability with a CVSS score of 4.0 (MEDIUM). 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...
How severe is CVE-2025-25724?
CVE-2025-25724 has been rated MEDIUM with a CVSS base score of 4.0/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-25724?
Check the references section above for vendor advisories and patch information. Affected products include: Libarchive Libarchive.