CVE Database›Document archive›CVE-2025-5916

CVE-2025-5916

libarchive: Integer overflow while reading warc files at archive_read_support_format_warc.c

Loading…

Severity

Low

Red Hat Product Security

3.9

CVSS 3.1

Review impact separately from score.

Published · May 20, 2025

Updated · September 1, 2026

Description

A vulnerability has been identified in the libarchive library. This flaw involves an integer overflow that can be triggered when processing a Web Archive (WARC) file that claims to have more than INT64_MAX - 4 content bytes. An attacker could craft a malicious WARC archive to induce this overflow, potentially leading to unpredictable program behavior, memory corruption, or a denial-of-service condition within applications that process such archives using libarchive. This bug affects libarchive versions prior to 3.8.0.

Statement

This vulnerability is rated Low for Red Hat products as it requires a local attacker to provide a specially crafted WARC archive to an application using libarchive. Successful exploitation could lead to unpredictable program behavior, memory corruption, or an application level denial-of-service condition.

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

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

CVSS / CWE

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

CWE-190 · Integer Overflow or Wraparound