CVE-2025-25724
Apache Libarchive strftime Denial of Service
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.
INFO
Published Date :
March 2, 2025, 2:15 a.m.
Last Modified :
March 2, 2025, 2:15 a.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
2.5
Exploitability Score :
1.4
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2025-25724
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2025-25724
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2025-25724
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by [email protected]
Mar. 02, 2025
Action Type Old Value New Value Added 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. Added CVSS V3.1 AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L Added CWE CWE-252 Added Reference https://gist.github.com/Ekkosun/a83870ce7f3b7813b9b462a395e8ad92 Added Reference https://github.com/Ekkosun/pocs/blob/main/bsdtarbug Added Reference https://github.com/libarchive/libarchive/blob/b439d586f53911c84be5e380445a8a259e19114c/tar/util.c#L751-L752
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2025-25724
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2025-25724
weaknesses.