list_item_verbose in tar/util.c in libarchive through 3.7.7 does not check an strftime…
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 7 fixed, 4 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat.
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| libarchive | libarchive | up to 3.7.7 | — | No fix listed | CNA |
- libarchive Vendorlibarchive Affected up to 3.7.7 Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:* | up to 3.7.7 | Vulnerable | libarchive |
- cpe:2.3:a:libarchive:libarchive:*:*:*:*:*:*:*:* Versions up to 3.7.7 Vulnerable ·libarchive
Remediation
Red Hat 4 advisories
- RHSA-2026:24383 Released 2026-06-08 · Red Hat rating Moderatelibarchive security update
- Red Hat Enterprise Linux AppStream E4S (v.9.4) bsdtar-3.5.3-5.el9_4.1, libarchive-devel-3.5.3-5.el9_4.1
- Red Hat Enterprise Linux BaseOS E4S (v.9.4) libarchive-3.5.3-5.el9_4.1
- RHSA-2025:11487 Released 2025-07-21 · Red Hat rating ImportantA Subscription Management tool for finding and reporting Red Hat product usage
- Red Hat Discovery 2 registry.redhat.io/discovery/discovery-server-rhel9
- RHSA-2025:9431 Released 2025-06-24 · Red Hat rating Moderatelibarchive security update
- Red Hat Enterprise Linux AppStream (v. 9) bsdtar-3.5.3-5.el9_6, libarchive-devel-3.5.3-5.el9_6
- Red Hat Enterprise Linux BaseOS (v. 9) libarchive-3.5.3-5.el9_6
Show 1 more Red Hat advisories
- RHSA-2025:9420 Released 2025-06-24 · Red Hat rating Moderatelibarchive security update
- Red Hat Enterprise Linux AppStream (v. 10) bsdtar-3.7.7-3.el10_0, libarchive-devel-3.7.7-3.el10_0
- Red Hat Enterprise Linux BaseOS (v. 10) libarchive-3.7.7-3.el10_0
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 8 | Affected | No fix planned: Out of support scope |
| Red Hat OpenShift Container Platform 4 | Affected | No fix yet: Fix deferred |
| Red Hat Discovery 2 | Fixed | RHSA-2025:11487 |
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2025:9420 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2025:9431 |
| Red Hat Enterprise Linux AppStream E4S (v.9.4) | Fixed | RHSA-2026:24383 |
| Red Hat Enterprise Linux BaseOS (v. 10) | Fixed | RHSA-2025:9420 |
| Red Hat Enterprise Linux BaseOS (v. 9) | Fixed | RHSA-2025:9431 |
| Red Hat Enterprise Linux BaseOS E4S (v.9.4) | Fixed | RHSA-2026:24383 |
Not affected: 1 product
- Red Hat Discovery 2
Timeline
- 2026-10-02 Threatist record created from CVE-2025-25724
- 2026-10-03 Alias added: GHSA-722w-734r-qg74
References
More Libarchive vulnerabilities
- TI-2024-17342 Libarchive Remote Code Execution Vulnerability CVSS 3.1HIGH 7.8
- TI-2024-24911 Libarchive before 3.7.4 allows name out-of-bounds access when a ZIP archive has an… CVSS 3.1CRITICAL 9.1
- TI-2025-05340 Libarchive: double free at archive_read_format_rar_seek_data() in archive_read_support_format_rar.c CVSS 3.1HIGH 7.8
- TI-2024-32437 Null Pointer Dereference vulnerability in libarchive 3.7.6 and earlier when running… CVSS 3.1HIGH 7.5
- TI-2025-37810 An issue was discovered in libarchive bsdtar before version 3.8.1 in function… CVSS 3.1MEDIUM 5.5
- TI-2025-01402 libarchive bsdunzip.c list null pointer dereference CVSS 4.0MEDIUM 4.8
Sources
- CVE-2025-25724 · CVE Program
- CVE-2025-25724 · NVD
- FIRST EPSS
- GHSA-722w-734r-qg74 · GitHub Advisory Database · CC BY 4.0
- CVE-2025-25724 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences