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.
Affected products
libarchive: libarchive; redhat: openshift container platform; redhat: enterprise linux
References4
- access.redhat.com/security/cve/CVE-2025-5916 Vendor Advisory
- github.com/libarchive/libarchive/pull/2568 Patch
- bugzilla.redhat.com/show_bug.cgi?id=2370872 Issue Tracking
- github.com/libarchive/libarchive/releases/tag/v3.8.0 Release Notes
Metrics
- CVSS 3.1
-
5.6
MEDIUM
Score source: NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:H - EPSS — exploit probability
- 0% percentile: 13 · as of 7 November 2026
- CWE
- CWE-190
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.