CVE-2025-25724 json
`list_item_verbose` in `tar/util.c` in libarchive through 3.7.7 does not check an strftime return...
published last yr. modified 3mo ago also EUVD-2025-5869 , GHSA-722w-734r-qg74 , JLSEC-2025-243
- cvss
- 4.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 30%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- julia LibArchive_jll 3.7.9+0
- libarchive Debian 14 3.8.4-1
debian advisories DEBIAN-CVE-2025-25724
- libarchive Ubuntu 20.04 LTS 3.4.0-2ubuntu1.5
- libarchive Ubuntu 22.04 LTS 3.6.0-1ubuntu1.4
- libarchive Ubuntu 24.04 LTS 3.7.2-2ubuntu0.4
- libarchive Ubuntu 25.10 3.7.7-0ubuntu2.1
- libarchive Ubuntu Pro 14.04 LTS 3.1.2-7ubuntu2.8+esm4
- libarchive Ubuntu Pro 16.04 LTS 3.1.2-11ubuntu0.16.04.8+esm2
- libarchive Ubuntu Pro 18.04 LTS 3.2.2-3.1ubuntu0.7+esm2
ubuntu advisories UBUNTU-CVE-2025-25724
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libarchive RHEL 9 3.5.3-5.el9_6
- bsdtar RHEL 9 3.5.3-5.el9_6
- libarchive RHEL 10.0 3.7.7-3.el10_0
- bsdtar RHEL 10.0 3.7.7-3.el10_0
- libarchive RHEL 9.4 E4S 3.5.3-5.el9_4.1
- bsdtar RHEL 9.4 E4S 3.5.3-5.el9_4.1
red hat advisories RHSA-2026:24383RHSA-2025:9431RHSA-2025:9420
- libarchive Linux Micro 6.1 3.7.4-slfo.1.1_2.1
- libarchive SLE Micro 5.5, SLE Micro 5.4, SLE Micro 5.3 3.5.1-150400.3.18.1
- libarchive SLE Module for Development Tools 15 SP6, SLE Module for Basesystem 15 SP6, openSUSE Leap 15.6 3.7.2-150600.3.12.1
suse advisories SUSE-SU-2025:20257-1SUSE-SU-2025:0986-1SUSE-SU-2025:0985-1
- libarchive openSUSE Tumbleweed 3.7.7-3.1
opensuse advisories openSUSE-SU-2025:14882-1
- libarchive AlmaLinux 10 3.7.7-3.el10_0
- bsdtar AlmaLinux 10 3.7.7-3.el10_0
- libarchive AlmaLinux 9 3.5.3-5.el9_6
- bsdtar AlmaLinux 9 3.5.3-5.el9_6
almalinux advisories ALSA-2025:9420ALSA-2025:9431
- libarchive Rocky Linux 9 3.5.3-5.el9_6
- libarchive Rocky Linux 10 3.7.7-3.el10_0
rocky linux advisories RLSA-2025:9431RLSA-2025:9420
- libarchive Alpine 3.24, Alpine 3.23, Alpine 3.22 +4 more 3.7.9-r0
alpine advisories ALPINE-CVE-2025-25724
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libarchive Azure Linux 3.0 3.7.7-2
- libarchive CBL-Mariner 2.0 3.6.1-5
azure linux advisories AZL-57712AZL-57720
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Is CVE-2025-25724 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-25724 updated cvss 4.0
libarchive: Buffer Overflow vulnerability in libarchive
-
Red Hat Enterprise Linux 6 libarchive Red Hat Enterprise Linux 7 bsdtar, bsdcpio, libarchive Red Hat Enterprise Linux 8 bsdtar, libarchiveaffected: no fix planned “Out of support scope”
-
Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-9affected: no fix available “Fix deferred”
-
Red Hat Discovery 2 discovery 2.0.0-1752592913fixed: vendor fix RHSA-2025:11487
-
Red Hat Enterprise Linux AppStream (v. 9) bsdtar 3.5.3-5.el9_6fixed: vendor fix RHSA-2025:9431
-
Red Hat Enterprise Linux AppStream (v. 10) bsdtar 3.7.7-3.el10_0fixed: vendor fix RHSA-2025:9420
-
Red Hat Enterprise Linux AppStream E4S (v.9.4) bsdtar 3.5.3-5.el9_4.1fixed: vendor fix RHSA-2026:24383
-
Red Hat Enterprise Linux BaseOS (v. 9) libarchive 3.5.3-5.el9_6fixed: vendor fix RHSA-2025:9431
-
Red Hat Enterprise Linux BaseOS (v. 10) libarchive 3.7.7-3.el10_0fixed: vendor fix RHSA-2025:9420
show 2 moreshow fewer
-
Red Hat Enterprise Linux BaseOS E4S (v.9.4) libarchive 3.5.3-5.el9_4.1fixed: vendor fix RHSA-2026:24383
-
Red Hat Discovery 2 discovery 2.0.0-1752593703not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- last yr.
Exploit prediction
0.37% chance of exploitation in the next 30 days, higher than 30% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/Ekkosun/pocs/blob/main/bsdtarbug referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.0 | CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | LibArchive_jll | <3.7.9+0 |
3.7.9+0 |
Affected products
- libarchive libarchive
Classification
- Weakness
-
- CWE-252 Unchecked Return Value
References
-
github.com
/Ekkosun/pocs/blob/main/bsdtarbug
exploit, web
-
github.com
/libarchive/libarchive/blob/b439d586f53911c84be5e380445a8a259e19114c/tar/util.c#L751-L752
product, web
-
gist.github.com
/Ekkosun/a83870ce7f3b7813b9b462a395e8ad92
third-party-advisory, web
-
github.com
/advisories/GHSA-722w-734r-qg74
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-25724
web
Sources
- CVE List CVE-2025-25724
- NVD CVE-2025-25724
- OSV JLSEC-2025-243
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.