CVEfocus › CVE database › CVE-2025-25724

CVE-2025-25724

CVSS 4.0 MediumEPSS 0.3% (higher than 21% of CVEs)Published 2025-03-02Updated 2025-03-04Assigner: mitre

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.

CWE-252

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

26Fixed
3Fix pending
11Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10libarchiveFixed3.7.7-0ubuntu2.1UBUNTU-CVE-2025-25724
Ubuntu 24.04libarchiveFixed3.7.2-2ubuntu0.4UBUNTU-CVE-2025-25724
Ubuntu 22.04libarchiveFixed3.6.0-1ubuntu1.4UBUNTU-CVE-2025-25724
Ubuntu 20.04libarchiveFixed3.4.0-2ubuntu1.5UBUNTU-CVE-2025-25724
Ubuntu 18.04libarchiveFix pending3.2.2-3.1ubuntu0.7+esm2 (Ubuntu Pro)UBUNTU-CVE-2025-25724
Ubuntu 16.04libarchiveFix pending3.1.2-11ubuntu0.16.04.8+esm2 (Ubuntu Pro)UBUNTU-CVE-2025-25724
Ubuntu 14.04libarchiveFix pending3.1.2-7ubuntu2.8+esm4 (Ubuntu Pro)UBUNTU-CVE-2025-25724
Debian 14libarchiveFixed3.8.4-1DEBIAN-CVE-2025-25724
Debian 13libarchiveWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2025-25724
Debian 12libarchiveWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2025-25724
Red Hat Enterprise Linux 10bsdtarFixed0:3.7.7-3.el10_0RHSA-2025:9420
Red Hat Enterprise Linux 10libarchiveFixed0:3.7.7-3.el10_0RHSA-2025:9420
Red Hat Enterprise Linux 10libarchive-develFixed0:3.7.7-3.el10_0RHSA-2025:9420
Red Hat Enterprise Linux 9bsdtarFixed0:3.5.3-5.el9_6RHSA-2025:9431
Red Hat Enterprise Linux 9libarchiveFixed0:3.5.3-5.el9_6RHSA-2025:9431
Red Hat Enterprise Linux 9libarchive-develFixed0:3.5.3-5.el9_6RHSA-2025:9431
Red Hat Enterprise Linux 8bsdtarWill not fix
Out of support scope
Red Hat Enterprise Linux 8libarchiveWill not fix
Out of support scope
Red Hat Enterprise Linux 8libarchive-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7bsdcpioWill not fix
Out of support scope
Red Hat Enterprise Linux 7bsdtarWill not fix
Out of support scope
Red Hat Enterprise Linux 7libarchiveWill not fix
Out of support scope
Red Hat Enterprise Linux 7libarchive-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6libarchiveWill not fix
Out of support scope
Red Hat Enterprise Linux 6libarchive-develWill not fix
Out of support scope
AlmaLinux 10bsdtarFixed3.7.7-3.el10_0ALSA-2025:9420
AlmaLinux 10libarchiveFixed3.7.7-3.el10_0ALSA-2025:9420
AlmaLinux 10libarchive-develFixed3.7.7-3.el10_0ALSA-2025:9420
AlmaLinux 9bsdtarFixed3.5.3-5.el9_6ALSA-2025:9431
AlmaLinux 9libarchiveFixed3.5.3-5.el9_6ALSA-2025:9431
AlmaLinux 9libarchive-develFixed3.5.3-5.el9_6ALSA-2025:9431
Rocky Linux 10libarchiveFixed0:3.7.7-3.el10_0RLSA-2025:9420
Rocky Linux 9libarchiveFixed0:3.5.3-5.el9_6RLSA-2025:9431
Alpine Linux 3.24libarchiveFixed3.7.9-r0ALPINE-CVE-2025-25724
Alpine Linux 3.23libarchiveFixed3.7.9-r0ALPINE-CVE-2025-25724
Alpine Linux 3.22libarchiveFixed3.7.9-r0ALPINE-CVE-2025-25724
Alpine Linux 3.21libarchiveFixed3.7.9-r0ALPINE-CVE-2025-25724
Alpine Linux 3.20libarchiveFixed3.7.9-r0ALPINE-CVE-2025-25724
Alpine Linux 3.19libarchiveFixed3.7.9-r0ALPINE-CVE-2025-25724
Alpine Linux 3.18libarchiveFixed3.7.9-r0ALPINE-CVE-2025-25724

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.