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.
References
Configurations
History
17 Jul 2025, 15:56
Type | Values Removed | Values Added |
---|---|---|
CPE | cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:* | |
First Time |
Libarchive libarchive
Libarchive |
|
Summary |
|
|
References | () https://gist.github.com/Ekkosun/a83870ce7f3b7813b9b462a395e8ad92 - Third Party Advisory | |
References | () https://github.com/Ekkosun/pocs/blob/main/bsdtarbug - Exploit | |
References | () https://github.com/libarchive/libarchive/blob/b439d586f53911c84be5e380445a8a259e19114c/tar/util.c#L751-L752 - Product |
02 Mar 2025, 02:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2025-03-02 02:15
Updated : 2025-07-17 15:56
NVD link : CVE-2025-25724
Mitre link : CVE-2025-25724
CVE.ORG link : CVE-2025-25724
JSON object : View
Products Affected
libarchive
- libarchive
CWE
CWE-252
Unchecked Return Value