CVE-2025-25724
Fixed in a distro release EPSS <1%CVSS 4.0
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.
Products: libarchive
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux 10 | bsdtar | 3.7.7-3.el10_0 |
| AlmaLinux 10 | libarchive | 3.7.7-3.el10_0 |
| AlmaLinux 10 | libarchive-devel | 3.7.7-3.el10_0 |
| AlmaLinux 9 | bsdtar | 3.5.3-5.el9_6 |
| AlmaLinux 9 | libarchive | 3.5.3-5.el9_6 |
| AlmaLinux 9 | libarchive-devel | 3.5.3-5.el9_6 |
| Alpine 3.18 | libarchive | 3.7.9-r0 |
| Alpine 3.19 | libarchive | 3.7.9-r0 |
| Alpine 3.20 | libarchive | 3.7.9-r0 |
| Alpine 3.21 | libarchive | 3.7.9-r0 |
| Alpine 3.22 | libarchive | 3.7.9-r0 |
| Alpine 3.23 | libarchive | 3.7.9-r0 |
| Alpine 3.24 | libarchive | 3.7.9-r0 |
| Chainguard | libarchive-dev | 3.7.7-r2 |
| Debian 12 | libarchive | no fix |
| Debian 13 | libarchive | no fix |
| Debian 14 | libarchive | 3.8.4-1 |
| Red Hat Enterprise Linux 10.0 | bsdcat-debuginfo | 0:3.7.7-3.el10_0 |
| Red Hat Enterprise Linux 10.0 | bsdcpio-debuginfo | 0:3.7.7-3.el10_0 |
| Red Hat Enterprise Linux 10.0 | bsdtar | 0:3.7.7-3.el10_0 |
| Red Hat Enterprise Linux 10.0 | bsdtar-debuginfo | 0:3.7.7-3.el10_0 |
| Red Hat Enterprise Linux 10.0 | bsdunzip-debuginfo | 0:3.7.7-3.el10_0 |
| Red Hat Enterprise Linux 10.0 | libarchive | 0:3.7.7-3.el10_0 |
| Red Hat Enterprise Linux 10.0 | libarchive-debuginfo | 0:3.7.7-3.el10_0 |
| Red Hat Enterprise Linux 10.0 | libarchive-debugsource | 0:3.7.7-3.el10_0 |
| Red Hat Enterprise Linux 10.0 | libarchive-devel | 0:3.7.7-3.el10_0 |
| Red Hat Enterprise Linux 9 | bsdcat-debuginfo | 0:3.5.3-5.el9_6 |
| Red Hat Enterprise Linux 9 | bsdcpio-debuginfo | 0:3.5.3-5.el9_6 |
| Red Hat Enterprise Linux 9 | bsdtar | 0:3.5.3-5.el9_6 |
| Red Hat Enterprise Linux 9 | bsdtar-debuginfo | 0:3.5.3-5.el9_6 |
| Red Hat Enterprise Linux 9 | libarchive | 0:3.5.3-5.el9_6 |
| Red Hat Enterprise Linux 9 | libarchive-debuginfo | 0:3.5.3-5.el9_6 |
| Red Hat Enterprise Linux 9 | libarchive-debugsource | 0:3.5.3-5.el9_6 |
| Red Hat Enterprise Linux 9 | libarchive-devel | 0:3.5.3-5.el9_6 |
| Red Hat rhel e4s 9.4 | bsdcat-debuginfo | 0:3.5.3-5.el9_4.1 |
| Red Hat rhel e4s 9.4 | bsdcpio-debuginfo | 0:3.5.3-5.el9_4.1 |
| Red Hat rhel e4s 9.4 | bsdtar | 0:3.5.3-5.el9_4.1 |
| Red Hat rhel e4s 9.4 | bsdtar-debuginfo | 0:3.5.3-5.el9_4.1 |
| Red Hat rhel e4s 9.4 | libarchive | 0:3.5.3-5.el9_4.1 |
| Red Hat rhel e4s 9.4 | libarchive-debuginfo | 0:3.5.3-5.el9_4.1 |
| Red Hat rhel e4s 9.4 | libarchive-debugsource | 0:3.5.3-5.el9_4.1 |
| Red Hat rhel e4s 9.4 | libarchive-devel | 0:3.5.3-5.el9_4.1 |
| Rocky Linux 10 | libarchive | 0:3.7.7-3.el10_0 |
| Rocky Linux 9 | libarchive | 0:3.5.3-5.el9_6 |
| SUSE Linux Enterprise Micro 5.3 | libarchive | 3.5.1-150400.3.18.1 |
| SUSE Linux Enterprise Micro 5.4 | libarchive | 3.5.1-150400.3.18.1 |
| SUSE Linux Enterprise Micro 5.5 | libarchive | 3.5.1-150400.3.18.1 |
| SUSE Linux Enterprise Module for Basesystem 15 SP6 | libarchive | 3.7.2-150600.3.12.1 |
| SUSE Linux Enterprise Module for Development Tools 15 SP6 | libarchive | 3.7.2-150600.3.12.1 |
| SUSE Linux Micro 6.1 | libarchive | 3.7.4-slfo.1.1_2.1 |
| Ubuntu 20.04 LTS | libarchive | 3.4.0-2ubuntu1.5 |
| Ubuntu 22.04 LTS | libarchive | 3.6.0-1ubuntu1.6 |
| Ubuntu 22.04 LTS | libarchive | 3.6.0-1ubuntu1.4 |
| Ubuntu 24.04 LTS | libarchive | 3.7.2-2ubuntu0.6 |
| Ubuntu 24.04 LTS | libarchive | 3.7.2-2ubuntu0.4 |
| Ubuntu 25.10 | libarchive | 3.7.7-0ubuntu2.1 |
| Ubuntu 25.10 | libarchive | 3.7.7-0ubuntu3.1 |
| Ubuntu Pro 14.04 LTS | libarchive | 3.1.2-7ubuntu2.8+esm4 |
| Ubuntu Pro 16.04 LTS | libarchive | 3.1.2-11ubuntu0.16.04.8+esm2 |
| Ubuntu Pro 18.04 LTS | libarchive | 3.2.2-3.1ubuntu0.7+esm2 |
| Ubuntu Pro 20.04 LTS | libarchive | 3.4.0-2ubuntu1.5+esm1 |
| Wolfi | libarchive-dev | 3.7.7-r2 |
| openSUSE Leap 15.6 | libarchive | 3.7.2-150600.3.12.1 |
| openSUSE Tumbleweed | libarchive | 3.7.7-3.1 |