CVE-2025-25724

medium

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.

References

https://github.com/libarchive/libarchive/blob/b439d586f53911c84be5e380445a8a259e19114c/tar/util.c#L751-L752

https://github.com/Ekkosun/pocs/blob/main/bsdtarbug

https://gist.github.com/Ekkosun/a83870ce7f3b7813b9b462a395e8ad92

Details

Source: Mitre, NVD

Published: 2025-03-02

Updated: 2025-03-02

Risk Information

CVSS v2

Base Score: 2.6

Vector: CVSS2#AV:L/AC:H/Au:N/C:N/I:P/A:P

Severity: Low

CVSS v3

Base Score: 4

Vector: CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L

Severity: Medium