CVSS 3.1
6.6 mediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:HMedium (6.6). EPSS 0.4% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:HExplain CVE-2025-5918 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-5918?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-5918?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-5918 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| libarchive:libarchive | before 3.8.0 |
| redhat:openshift_container_platform | 4.0 |
| redhat:enterprise_linux | 6.0 |
| redhat:enterprise_linux | 7.0 |
| redhat:enterprise_linux | 8.0 |
| redhat:enterprise_linux | 9.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | libarchive | 3.4.3-2+deb11u3 | DLA-4368-1 |
| Debian | 12 | libarchive | 3.6.2-1+deb12u4 | DEBIAN-CVE-2025-5918 |
| Debian | 13 | libarchive | 3.7.4-4+deb13u1 | DEBIAN-CVE-2025-5918 |
| Debian | 14 | libarchive | 3.8.4-1 | DEBIAN-CVE-2025-5918 |
| Ubuntu | 22.04:LTS | libarchive | 3.6.0-1ubuntu1.6 | UBUNTU-CVE-2025-5918 |
| Ubuntu | 24.04:LTS | libarchive | 3.7.2-2ubuntu0.6 | UBUNTU-CVE-2025-5918 |
| Ubuntu | 25.10 | libarchive | 3.7.7-0ubuntu3.1 | UBUNTU-CVE-2025-5918 |
| Ubuntu | Pro:14.04:LTS | libarchive | 3.1.2-7ubuntu2.8+esm4 | UBUNTU-CVE-2025-5918 |
| Ubuntu | Pro:16.04:LTS | libarchive | 3.1.2-11ubuntu0.16.04.8+esm2 | UBUNTU-CVE-2025-5918 |
| Ubuntu | Pro:18.04:LTS | libarchive | 3.2.2-3.1ubuntu0.7+esm2 | UBUNTU-CVE-2025-5918 |
| Ubuntu | Pro:20.04:LTS | libarchive | 3.4.0-2ubuntu1.5+esm1 | UBUNTU-CVE-2025-5918 |
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 7 more | libarchive | 3.5.1-150400.3.21.1 | SUSE-SU-2025:02718-2 |
| SUSE | Linux Enterprise Micro 5.3, Linux Enterprise Micro 5.4, Linux Enterprise Micro 5.5 | libarchive | 3.5.1-150400.3.21.1 | SUSE-SU-2025:02718-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Basesystem 15 SP7, Linux Enterprise Module for Development Tools 15 SP6 and 1 more | libarchive | 3.7.2-150600.3.17.1 | SUSE-SU-2025:02566-1 |
| SUSE | Linux Micro 6.0 | libarchive | 3.6.2-5.1 | SUSE-SU-2025:20560-1 |
| SUSE | Linux Micro 6.1 | libarchive | 3.7.4-slfo.1.1_3.1 | SUSE-SU-2025:20594-1 |
| openSUSE | Leap 15.6 | libarchive | 3.7.2-150600.3.17.1 | SUSE-SU-2025:02566-1 |
| Azure Linux | 2 | cmake | 3.21.4-20 | AZL-63821 |
| Azure Linux | 2 | libarchive | 3.6.1-7 | AZL-63851 |
| Azure Linux | 3 | cmake | 3.30.3-8 | AZL-63753 |
| Azure Linux | 3 | libarchive | 3.7.7-3 | AZL-63780 |
| Alpaquita | 23, stream | libarchive | 3.8.0-r0 | BELL-CVE-2025-5918 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpaquita.
Red Hat rates this Low.
This vulnerability is rated Low for Red Hat products. The flaw in libarchive can be triggered when processing specially crafted piped file streams with `bsdtar`, potentially leading to unpredictable program behavior or an application level denial-of-service condition. Exploitation requires user interaction to process a malicious archive.
Upgrade to libarchive version 3.8.0 or later, which includes important security fixes and stability improvements.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | libarchive | Fix deferred | |
| Red Hat Enterprise Linux 6 | libarchive | Out of support scope | |
| Red Hat Enterprise Linux 7 | libarchive | Out of support scope | |
| Red Hat Enterprise Linux 8 | libarchive | Fix deferred | |
| Red Hat Enterprise Linux 9 | libarchive | Fix deferred | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-ai-gateway-operator-rhel9 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-core-bff-rhel9 | Under investigation | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-dashboard-operator-rhel9 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-dashboard-rhel9 | Under investigation | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-data-science-pipelines-operator-controller-rhel9 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-kf-notebook-controller-rhel9 | Under investigation | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-kserve-controller-rhel9 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-kserve-llmisvc-controller-rhel9 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-kserve-module-operator-rhel9 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-kuberay-operator-controller-rhel9 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-kube-rbac-proxy-rhel9 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-llama-stack-k8s-operator-rhel9 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-maas-controller-rhel9 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-mlflow-operator-rhel9 | Not affected | |
| Red Hat OpenShift AI (RHOAI) | rhoai/odh-mlflow-rhel9 | Not affected | |
| 19 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-5918.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.