Vulnerability · Published Mar 2, 2025 · Assigned by mitre

CVE-2025-25724

Medium 4.0

In plain English

A medium-severity security flaw in libarchive from libarchive. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)4.0Medium
Exploit odds (30 days)0.4%top 69.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:10bsdtar3.7.7-3.el10_0ALSA-2025:9420
AlmaLinux:9bsdtar3.5.3-5.el9_6ALSA-2025:9431
AlmaLinux:10libarchive3.7.7-3.el10_0ALSA-2025:9420
AlmaLinux:9libarchive3.5.3-5.el9_6ALSA-2025:9431
AlmaLinux:10libarchive-devel3.7.7-3.el10_0ALSA-2025:9420
AlmaLinux:9libarchive-devel3.5.3-5.el9_6ALSA-2025:9431
Alpine:v3.20libarchive3.7.9-r0ALPINE-CVE-2025-25724
Alpine:v3.21libarchive3.7.9-r0ALPINE-CVE-2025-25724
Alpine:v3.22libarchive3.7.9-r0ALPINE-CVE-2025-25724
Alpine:v3.23libarchive3.7.9-r0ALPINE-CVE-2025-25724
Alpine:v3.24libarchive3.7.9-r0ALPINE-CVE-2025-25724
Debian:12libarchiveno fix listedDEBIAN-CVE-2025-25724
Debian:13libarchiveno fix listedDEBIAN-CVE-2025-25724
Debian:14libarchive3.8.4-1DEBIAN-CVE-2025-25724
Rocky Linux:10libarchive0:3.7.7-3.el10_0RLSA-2025:9420
Rocky Linux:9libarchive0:3.5.3-5.el9_6RLSA-2025:9431
Ubuntu:22.04:LTSlibarchive3.6.0-1ubuntu1.4USN-7454-1
Ubuntu:22.04:LTSlibarchive3.6.0-1ubuntu1.4UBUNTU-CVE-2025-25724
Ubuntu:24.04:LTSlibarchive3.7.2-2ubuntu0.4USN-7454-1
Ubuntu:24.04:LTSlibarchive3.7.2-2ubuntu0.4UBUNTU-CVE-2025-25724
Ubuntu:25.10libarchive3.7.7-0ubuntu2.1UBUNTU-CVE-2025-25724

Affected products (as reported)

VendorProductVersions
libarchive libarchive 0 – through 3.7.7

Weakness: CWE-252 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L

References