CVE Vulnerabilities

CVE-2025-25724

Unchecked Return Value

Published: Mar 02, 2025 | Modified: Mar 02, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
4 MODERATE
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L
Ubuntu
MEDIUM

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.

Weakness

The product does not check the return value from a method or function, which can prevent it from detecting unexpected states and conditions.

Potential Mitigations

References