CVE-2025-25724

CVE-2025-25724 is a medium-severity vulnerability in Libarchive with a CVSS 3.x base score of 4.0. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-252.

Key facts

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.

Frequently asked questions

What is 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 read with a verbose value of 2. For example, the 100-byte buffer may not be sufficient for a custom locale.
How severe is CVE-2025-25724?
CVE-2025-25724 has a CVSS 3.x base score of 4.0, rated medium severity. It is exploitable over local access with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity low, and availability low.
Is CVE-2025-25724 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (26th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2025-25724?
CVE-2025-25724 affects Libarchive. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2025-25724?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2025-25724 have an EU (EUVD) identifier?
Yes. CVE-2025-25724 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-5869.
When was CVE-2025-25724 published?
CVE-2025-25724 was published on 2025-03-02 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Libarchive

All CVEs affecting Libarchive →

Other CWE-252 vulnerabilities

Browse all CWE-252 vulnerabilities →