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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:*

History

17 Jul 2025, 15:56

Type Values Removed Values Added
CPE cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:*
First Time Libarchive libarchive
Libarchive
Summary
  • (es) list_item_verbose en tar/util.c en libarchive hasta 3.7.7 no verifica un valor de retorno de strftime, lo que puede provocar una denegación de servicio u otro impacto no especificado a través de un archivo TAR manipulado que se lee con un valor verbose de 2. Por ejemplo, el búfer de 100 bytes puede no ser suficiente para una configuración regional personalizada.
References () https://gist.github.com/Ekkosun/a83870ce7f3b7813b9b462a395e8ad92 - () https://gist.github.com/Ekkosun/a83870ce7f3b7813b9b462a395e8ad92 - Third Party Advisory
References () https://github.com/Ekkosun/pocs/blob/main/bsdtarbug - () https://github.com/Ekkosun/pocs/blob/main/bsdtarbug - Exploit
References () https://github.com/libarchive/libarchive/blob/b439d586f53911c84be5e380445a8a259e19114c/tar/util.c#L751-L752 - () 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