CVE-2025-25724
NixOS vulnerability analysis and mitigation

Overview

CVE-2025-25724 is a vulnerability discovered in libarchive through version 3.7.7. The vulnerability was disclosed on March 1, 2025, affecting the list_item_verbose function in tar/util.c. The issue stems from an unchecked strftime return value, which could potentially lead to security implications when processing TAR archives (NVD).

Technical details

The vulnerability is classified as CWE-252 (Unchecked Return Value) with a CVSS v3.1 Base Score of 4.0 (MEDIUM). The CVSS vector string is CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L, indicating local access vector, high attack complexity, no privileges required, and no user interaction needed. The technical issue occurs specifically when processing TAR archives with a verbose value of 2, where a 100-byte buffer may not be sufficient for custom locales (NVD, Red Hat).

Impact

The vulnerability can lead to a denial of service condition or other unspecified impacts when processing specially crafted TAR archives. The impact is particularly relevant when using custom locales where the 100-byte buffer limitation becomes a security concern (NVD, Snyk).

Exploitability

The vulnerability requires local access and has high attack complexity. The probability of exploitation, according to EPSS data, is relatively low at 0.05% (19th percentile). A proof of concept exists demonstrating the vulnerability (Snyk).

Mitigation and workarounds

As of the initial disclosure, there is no fixed version available for affected systems. Red Hat Enterprise Linux 9 has marked this vulnerability as 'Fix deferred'. The vulnerability affects multiple versions of libarchive in various distributions, including Debian bullseye, bookworm, and sid (Debian Tracker, Red Hat).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

libarchive

Affected

sid

libarchive: 3.8.4-1

Fixed

trixie

libarchive

Affected

RHEL / CentOS

Fixed

OpenShift

openshift/ose-rhel-coreos-9

Affected

RHEL 8

libarchive.src

Affected

RHEL 9

:appstream:libarchive-0:3.5.3-5.el9_4.1.src

Fixed

RHEL 10

libarchive-0:3.7.7-3.el10_0.src

Fixed

Alpine

Fixed

edge

libarchive: 3.7.9-r0

Fixed

v3.18

libarchive: 3.7.9-r0

Fixed

v3.19

libarchive: 3.7.9-r0

Fixed

v3.20

libarchive: 3.7.9-r0

Fixed

v3.21

libarchive: 3.7.9-r0

Fixed

v3.22

libarchive: 3.7.9-r0

Fixed

v3.23

libarchive: 3.7.9-r0

Fixed

SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-91782LOW1.9
  • NixOS logoNixOS
  • binutils
NoYesSep 15, 2026
CVE-2026-91781LOW1.9
  • NixOS logoNixOS
  • binutils
NoYesSep 15, 2026
CVE-2026-91780LOW1.9
  • NixOS logoNixOS
  • binutils
NoNoSep 15, 2026
CVE-2026-91779LOW1.9
  • NixOS logoNixOS
  • binutils
NoNoSep 15, 2026
CVE-2026-90831LOW1.9
  • NixOS logoNixOS
  • gcc-toolset-15-binutils-devel
NoYesSep 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management