CVE Database›CVE-2025-25724

CVE-2025-25724

libarchive: Buffer Overflow vulnerability in libarchive

Loading…

Severity

Moderate

Red Hat Product Security

4

CVSS 3.1

Review impact separately from score.

Published · March 2, 2025

Updated · August 21, 2026

Description

A flaw was found in the libarchive package. Affected versions of libarchive do not check a strftime return value, which can lead to a denial of service or unspecified other impacts 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.

Statement

Red Hat employs static and dynamic security testing and numerous program hardening technologies as part of our Secure Development Lifecycle. These tests and means of hardening our software prevent or reduce the impact of flaws and increase the complexity of attacks.

Return values from critical operations are consistently evaluated through enforced development standards and automated static analysis, reducing the likelihood of logic flaws or silent failures reaching production. Error-handling routines are integrated into application behavior to ensure that failures are properly logged, traced, and contained, maintaining system stability under fault conditions. Additionally, the platform is designed to respond to errors predictably, preventing uncontrolled behavior and ensuring that processes fail in a known, recoverable state.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CVSS 3.1 · 4
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:L

CWE-252 · Unchecked Return Value