← Vulnerability feed

Vulnerability record · CVE-2025-25724 · published 2 March 2025

CVE-2025-25724: Libarchive unchecked return value vulnerability

Libarchive · Libarchive

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.

7.8 CVSS 3.1 High EPSS 0.37% · top 72.0% CWE-252 · Unchecked return value
7.8CVSS 3.1 base score
0.37%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
3References, 1 tagged exploit
17 Jun 2026Last modified by NVD

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.

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

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2025-25724 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.8CVE-2022-36227Libarchive null pointer dereference vulnerabilityIn libarchive before 3.6.2, the software does not check for an error after calling calloc function that can return with a NULL pointer if the functio…EPSS 2.4%9.1CVE-2024-37407Libarchive out-of-bounds read vulnerabilityLibarchive before 3.7.4 allows name out-of-bounds access when a ZIP archive has an empty-name file and mac-ext is enabled. This occurs in slurp_centr…EPSS 0.97%8.8CVE-2020-9308Libarchive out-of-bounds write vulnerabilityarchive_read_support_format_rar5.c in libarchive before 3.4.2 attempts to unpack a RAR5 file with an invalid or corrupted header (such as a header si…EPSS 2.3%8.8CVE-2018-1000877Libarchive double free vulnerabilitylibarchive version commit 416694915449219d505531b1096384f3237dd6cc onwards (release v3.1.0 onwards) contains a CWE-415: Double Free vulnerability in …EPSS 4.6%8.8CVE-2018-1000878Libarchive use after free vulnerabilitylibarchive version commit 416694915449219d505531b1096384f3237dd6cc onwards (release v3.1.0 onwards) contains a CWE-416: Use After Free vulnerability …EPSS 4.4%8.8CVE-2016-1541Libarchive improper input validation vulnerabilityHeap-based buffer overflow in the zip_read_mac_metadata function in archive_read_support_format_zip.c in libarchive before 3.2.0 allows remote attack…EPSS 10%8.6CVE-2016-6250Oracle linux integer overflow vulnerabilityInteger overflow in the ISO9660 writer in libarchive before 3.2.1 allows remote attackers to cause a denial of service (application crash) or execute…EPSS 6.3%7.8CVE-2025-5914Libarchive integer overflow vulnerabilityA vulnerability has been identified in the libarchive library, specifically within the archive_read_format_rar_seek_data() function. This flaw involv…EPSS 0.44%

Source: NIST National Vulnerability Database (record CVE-2025-25724), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.