Skip to content

CVE-2025-5916 Libarchive: integer overflow while reading warc files at archive_read_support_format_warc.c

MediumCVSS 5.6 EPSS 0.24%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebianRed Hat

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.

Upgrade path

16 packages: 10 fixed, 1 partially fixed, 3 with no fix yet.

PackageAffectedFixed inStatus
redhat enterprise linux = 6.0; = 7.0; = 8.0; = 9.0 +2 more No fix listed No fix yet
redhat openshift All versions No fix listed No fix yet
redhat openshift ai All versions No fix listed No fix yet
cbl-mariner cmake(CBL-Mariner 2.0) < 3.21.4-20; All versions 3.21.4-20 Partially fixed
azure linux cmake(Azure Linux 3.0) < 3.30.3-8 3.30.3-8 Fixed
azure linux libarchive(Azure Linux 3.0) < 3.7.7-3 3.7.7-3 Fixed
cbl-mariner libarchive(CBL-Mariner 2.0) < 3.6.1-7 3.6.1-7 Fixed
debian/libarchive(Debian 12) < 3.6.2-1+deb12u3; = 3.6.2-1; = 3.6.2-1+deb12u1; = 3.6.2-1+deb12u2 3.6.2-1+deb12u3 Fixed
debian/libarchive(Debian 13) < 3.7.4-4 3.7.4-4 Fixed
debian/libarchive(Debian 14) < 3.7.4-4 3.7.4-4 Fixed
libarchive < 3.8.0 3.8.0 Fixed
libarchive < 3.8.0 3.8.0 Fixed
ubuntu/libarchive(Ubuntu 22.04) < 3.6.0-1ubuntu1.5 3.6.0-1ubuntu1.5 Fixed
ubuntu/libarchive(Ubuntu 24.04) < 3.7.2-2ubuntu0.5 3.7.2-2ubuntu0.5 Fixed
redhat openshift container platform = 4.0 No fix listed Versions listed
redhat rhel els = 6; = 7 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
azure linux cmake(Azure Linux:3.0) < 3.30.3-8 3.30.3-8
azure linux libarchive(Azure Linux:3.0) < 3.7.7-3 3.7.7-3
cbl-mariner libarchive(CBL-Mariner:2.0) < 3.6.1-7 3.6.1-7
cbl-mariner cmake(CBL-Mariner:2.0) < 3.21.4-20 3.21.4-20
cbl-mariner cmake(CBL-Mariner:2.0) All versions No fix listed
debian/libarchive(Debian:12) < 3.6.2-1+deb12u3 3.6.2-1+deb12u3
debian/libarchive(Debian:12) = 3.6.2-1 No fix listed
debian/libarchive(Debian:12) = 3.6.2-1+deb12u1 No fix listed
debian/libarchive(Debian:12) = 3.6.2-1+deb12u2 No fix listed
debian/libarchive(Debian:13) < 3.7.4-4 3.7.4-4
debian/libarchive(Debian:14) < 3.7.4-4 3.7.4-4
libarchive < 3.8.0 3.8.0
redhat enterprise linux All versions No fix listed
redhat rhel els = 6 No fix listed
redhat rhel els = 7 No fix listed
redhat openshift ai All versions No fix listed
redhat openshift All versions No fix listed
ubuntu/libarchive(Ubuntu:22.04) < 3.6.0-1ubuntu1.5 3.6.0-1ubuntu1.5
ubuntu/libarchive(Ubuntu:24.04) < 3.7.2-2ubuntu0.5 3.7.2-2ubuntu0.5
redhat openshift container platform = 4.0 No fix listed
redhat enterprise linux = 6.0 No fix listed
redhat enterprise linux = 7.0 No fix listed
redhat enterprise linux = 8.0 No fix listed
redhat enterprise linux = 9.0 No fix listed
redhat enterprise linux = 10.0 No fix listed

References