CVE-2025-25724

Name
CVE-2025-25724
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.
NVD Severity
low
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
cve@mitre.org https://gist.github.com/Ekkosun/a83870ce7f3b7813b9b462a395e8ad92
cve@mitre.org https://github.com/Ekkosun/pocs/blob/main/bsdtarbug
cve@mitre.org https://github.com/libarchive/libarchive/blob/b439d586f53911c84be5e380445a8a259e19114c/tar/util.c#L751-L752

Match rules

CPE URI Source package Min version Max version
libarchive >= 0 <= 3.7.7

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
libarchive edge-main 3.7.7-r0 Natanael Copa <ncopa@alpinelinux.org> possibly vulnerable