CVE-2025-25724

HIGH CVSS 3.1: 7.8 EPSS 0.37%
Updated Jul 17, 2025
Libarchive
Parameter Value
CVSS 7.8 (HIGH)
Affected Versions before 3.7.7
Type CWE-252
Vendor Libarchive
Public PoC Yes

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.

Attack Parameters

Attack Vector
Local
Requires local access
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 1

Configuration From (including) Up to (excluding)
Libarchive Libarchive
cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:*
— <= 3.7.7