CVE-2025-5916 json
Libarchive: integer overflow while reading warc files at archive_read_support_format_warc.c
published 2025-06-09 17 mo ago modified 2026-11-06 2 d ago also EUVD-2025-17575 , JLSEC-2025-248
- cvss
- 3.9
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 14%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- julia LibArchive_jll 3.8.0+0
- libarchive libarchive 3.8.0
- libarchive Debian 12 3.6.2-1+deb12u3
- libarchive Debian 14, Debian 13 3.7.4-4
debian advisories DEBIAN-CVE-2025-5916
- libarchive Ubuntu 22.04 LTS 3.6.0-1ubuntu1.5
- libarchive Ubuntu 24.04 LTS 3.7.2-2ubuntu0.5
- libarchive Ubuntu 25.10 3.7.7-0ubuntu3
- libarchive Ubuntu Pro 14.04 LTS 3.1.2-7ubuntu2.8+esm4
- libarchive Ubuntu Pro 16.04 LTS 3.1.2-11ubuntu0.16.04.8+esm2
- libarchive Ubuntu Pro 18.04 LTS 3.2.2-3.1ubuntu0.7+esm2
- libarchive Ubuntu Pro 20.04 LTS 3.4.0-2ubuntu1.5+esm1
ubuntu advisories UBUNTU-CVE-2025-5916
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- libarchive Linux Micro 6.0 3.6.2-5.1
- libarchive SLE Micro 5.5, SLE Micro 5.4, SLE Micro 5.3 +10 more 3.5.1-150400.3.21.1
- libarchive Linux Micro 6.1 3.7.4-slfo.1.1_3.1
- libarchive SLE Module for Development Tools 15 SP7, SLE Module for Development Tools 15 SP6, SLE Module for Basesystem 15 SP7 +2 more 3.7.2-150600.3.17.1
- libarchive SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 3.3.3-32.14.1
suse advisories SUSE-SU-2025:02522-2SUSE-SU-2025:20560-1SUSE-SU-2025:02718-2SUSE-SU-2025:20594-1SUSE-SU-2025:02718-1SUSE-SU-2025:02566-1
- rpi-imager openSUSE Tumbleweed 1.9.5-1.1
opensuse advisories openSUSE-SU-2025:15388-1
- cmake Azure Linux 3.0 3.30.3-8
- libarchive Azure Linux 3.0 3.7.7-3
- cmake CBL-Mariner 2.0 3.21.4-20
- libarchive CBL-Mariner 2.0 3.6.1-7
azure linux advisories AZL-63759AZL-63774AZL-63824AZL-63863
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-5916 updated cvss 3.9
libarchive: Integer overflow while reading warc files at archive_read_support_format_warc.c
-
Red Hat Enterprise Linux 6 libarchive Red Hat Enterprise Linux 7 bsdtar, bsdcpio, libarchiveaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 bsdtar, libarchive Red Hat Enterprise Linux 9 bsdtar, libarchive Red Hat Enterprise Linux 10 libarchive Red Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8, openshift/ose-rhel-coreos-9affected: workaround, no fix available “Fix deferred”
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-core-bff-rhel9, rhoai/odh-dashboard-rhel9, rhoai/odh-mod-arch-maas-rhel9, rhoai/odh-mod-arch-automl-rhel9, rhoai/odh-mod-arch-gen-ai-rhel9, rhoai/odh-mod-arch-mlflow-rhel9, +6 moreunder investigation
-
Red Hat OpenShift AI (RHOAI) rhoai/odh-mlflow-rhel9, rhoai/odh-kube-rbac-proxy-rhel9, rhoai/odh-maas-controller-rhel9, rhoai/odh-mlflow-operator-rhel9, rhoai/odh-model-controller-rhel9, rhoai/odh-ogx-k8s-operator-rhel9, +14 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 16 mo ago
Exploit prediction
0.24% chance of exploitation in the next 30 days, higher than 14% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.9 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:L |
| NVD | 3.1 | 5.6 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:H |
| OSV | 3.1 | 5.6 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | LibArchive_jll | <3.8.0+0 |
3.8.0+0 |
Affected products
- Red Hat Red Hat Enterprise Linux 10
- Red Hat Red Hat Enterprise Linux 6
- Red Hat Red Hat Enterprise Linux 7
- Red Hat Red Hat Enterprise Linux 8
- Red Hat Red Hat Enterprise Linux 9
- Red Hat Red Hat OpenShift AI (RHOAI)
- Red Hat Red Hat OpenShift Container Platform 4
Classification
- Weakness
-
- CWE-190 Integer Overflow or Wraparound
References
-
github.com
/libarchive/libarchive/pull/2568
patch, web
-
access.redhat.com
/security/cve/CVE-2025-5916
vdb-entry, vendor-advisory, web
-
bugzilla.redhat.com
/show_bug.cgi?id=2370872
issue-tracking, web
-
github.com
/libarchive/libarchive/releases/tag/v3.8.0
release-notes, web
Sources
- CVE List CVE-2025-5916
- NVD CVE-2025-5916
- OSV JLSEC-2025-248
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.