Skip to content
Fencer Vulns
medium 6.6

CVE-2025-5915 json

Libarchive: heap buffer over read in copy_from_lzss_window() at archive_read_support_format_rar.c

published 2025-06-09 17 mo ago modified 2026-11-06 2 d ago also EUVD-2025-17576 , JLSEC-2025-246

cvss
6.6
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 12%
public exploits
0
none known

Summary

A vulnerability has been identified in the libarchive library. This flaw can lead to a heap buffer over-read due to the size of a filter block potentially exceeding the Lempel-Ziv-Storer-Schieber (LZSS) window. This means the library may attempt to read beyond the allocated memory buffer, which can result in unpredictable program behavior, crashes (denial of service), or the disclosure of sensitive information from adjacent memory regions.

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-5915

  • 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

ubuntu advisories UBUNTU-CVE-2025-5915

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

suse advisories SUSE-SU-2025:20560-1SUSE-SU-2025:02718-2SUSE-SU-2025:20594-1SUSE-SU-2025:02718-1SUSE-SU-2025:02566-1

  • libarchive Azure Linux 3.0 3.7.7-3
  • libarchive CBL-Mariner 2.0 3.6.1-7

azure linux advisories AZL-63786AZL-63857

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-5915 updated cvss 6.6

libarchive: Heap buffer over read in copy_from_lzss_window() at archive_read_support_format_rar.c

  • Red Hat Enterprise Linux 6 libarchive Red Hat Enterprise Linux 7 bsdtar, bsdcpio, libarchive
    affected: workaround, no fix planned “Upgrade to libarchive version 3.8.0 or later, which includes important security fixes and stability improvements.”
  • 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-9
    affected: workaround, no fix available “Upgrade to libarchive version 3.8.0 or later, which includes important security fixes and stability improvements.”
  • 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 more
    under 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 more
    not 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.22% chance of exploitation in the next 30 days, higher than 12% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 6.6 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:H
OSV 3.1 6.6 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/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-122 Heap-based Buffer Overflow

References

Sources

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.