CVE Vulnerabilities

CVE-2025-5914

Double Free

Published: Jun 09, 2025 | Modified: Nov 20, 2025
CVSS 3.x
9.8
CRITICAL
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
7.3 IMPORTANT
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Ubuntu
MEDIUM

A vulnerability has been identified in the libarchive library, specifically within the archive_read_format_rar_seek_data() function. This flaw involves an integer overflow that can ultimately lead to a double-free condition. Exploiting a double-free vulnerability can result in memory corruption, enabling an attacker to execute arbitrary code or cause a denial-of-service condition.

Weakness

The product calls free() twice on the same memory address.

Affected Software

Name Vendor Start Version End Version
Libarchive Libarchive * 3.8.0 (excluding)
Red Hat Enterprise Linux 10 RedHat libarchive-0:3.7.7-4.el10_0 *
Red Hat Enterprise Linux 7 Extended Lifecycle Support RedHat libarchive-0:3.1.2-14.el7_9.1 *
Red Hat Enterprise Linux 8 RedHat libarchive-0:3.3.3-6.el8_10 *
Red Hat Enterprise Linux 8.2 Advanced Update Support RedHat libarchive-0:3.3.2-8.el8_2.1 *
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support RedHat libarchive-0:3.3.3-1.el8_4.1 *
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On RedHat libarchive-0:3.3.3-1.el8_4.1 *
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support RedHat libarchive-0:3.3.3-6.el8_6 *
Red Hat Enterprise Linux 8.6 Telecommunications Update Service RedHat libarchive-0:3.3.3-6.el8_6 *
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions RedHat libarchive-0:3.3.3-6.el8_6 *
Red Hat Enterprise Linux 8.8 Telecommunications Update Service RedHat libarchive-0:3.3.3-5.el8_8.1 *
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions RedHat libarchive-0:3.3.3-5.el8_8.1 *
Red Hat Enterprise Linux 9 RedHat libarchive-0:3.5.3-6.el9_6 *
Red Hat Enterprise Linux 9 RedHat libarchive-0:3.5.3-6.el9_6 *
Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions RedHat libarchive-0:3.5.3-2.el9_0.1 *
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions RedHat libarchive-0:3.5.3-5.el9_2 *
Red Hat Enterprise Linux 9.4 Extended Update Support RedHat libarchive-0:3.5.3-4.el9_4.1 *
Red Hat OpenShift Container Platform 4.14 RedHat rhcos-414.92.202510211419-0 *
Red Hat OpenShift Container Platform 4.17 RedHat rhcos-417.94.202510112152-0 *
Red Hat OpenShift Container Platform 4.18 RedHat rhcos-418.94.202510230424-0 *
Red Hat OpenShift Container Platform 4.19 RedHat rhcos-4.19.9.6.202510140714-0 *
Red Hat OpenShift Container Platform 4.20 RedHat rhcos-4.20.9.6.202509251656-0 *
Red Hat Web Terminal 1.11 on RHEL 9 RedHat web-terminal/web-terminal-rhel9-operator:1.11-19 *
Red Hat Web Terminal 1.11 on RHEL 9 RedHat web-terminal/web-terminal-tooling-rhel9:1.11-8 *
Red Hat Web Terminal 1.12 on RHEL 9 RedHat web-terminal/web-terminal-tooling-rhel9:1.12-4 *
Cert-manager operator for Red Hat OpenShift 1.16 RedHat cert-manager/jetstack-cert-manager-rhel9:sha256:330e8b5ab4841a21f8f5f23cc7fb192197872f11639b12bf4b1e70831f636323 *
Compliance Operator 1 RedHat compliance/openshift-compliance-must-gather-rhel8:sha256:9131ef184c616ec8a2aee2781dfe0c083463a9bfbdfaf59028bd5f626a9eb676 *
Compliance Operator 1 RedHat compliance/openshift-compliance-openscap-rhel8:sha256:8294e4b1b531457282270c375f4045ea2baf20a0a8a637006364096a9dec3c41 *
Compliance Operator 1 RedHat compliance/openshift-compliance-rhel8-operator:sha256:296761e66fbac8934c137df3e0f0027e823b5db5a32eddf24f97489e24f4b8bf *
Red Hat Discovery 2 RedHat discovery/discovery-server-rhel9:sha256:c85cfbcaf7888885e57596b7b8bde3894718cfc33326499b24961a66a62cf083 *
Red Hat Insights proxy 1.5 RedHat insights-proxy/insights-proxy-container-rhel9:sha256:3fa6c89778502bfb0b16ef8ff3c576467e8a21269afb2380c4ae176ee2fc7fec *
Red Hat OpenShift distributed tracing 3.5.2 RedHat rhosdt/jaeger-agent-rhel8:sha256:6b72262a6a1e4b8acda6be579e26572adf2ff59254530e6e5d3ef17cfa6657f4 *
Red Hat OpenShift distributed tracing 3.5.2 RedHat rhosdt/jaeger-all-in-one-rhel8:sha256:648db93ff38b16ecb8a0fe831d722d1ddac9aadcb8663a45a1a9086ef9129dd2 *
Red Hat OpenShift distributed tracing 3.5.2 RedHat rhosdt/jaeger-collector-rhel8:sha256:b6f2f955cb33ccb5c8f82d1537f4e0cb30c2bf31b30d4ef6a44a72abb742b973 *
Red Hat OpenShift distributed tracing 3.5.2 RedHat rhosdt/jaeger-es-index-cleaner-rhel8:sha256:e17c9de114b6b89e9c66642ab5f95b62321d367b6d22be1464cf89dbc3ead673 *
Red Hat OpenShift distributed tracing 3.5.2 RedHat rhosdt/jaeger-es-rollover-rhel8:sha256:d0878cf4a206d3f70a7a8fc3d5d30f0272697afcb360599b248da9215ec60366 *
Red Hat OpenShift distributed tracing 3.5.2 RedHat rhosdt/jaeger-ingester-rhel8:sha256:3198d0074236cb452644b5c580c6f37df3ff2984f6ca94fcda8b35ba271658d4 *
Red Hat OpenShift distributed tracing 3.5.2 RedHat rhosdt/jaeger-operator-bundle:sha256:f250e39033d7cb1d786e5a7ec6798c25d4c5d8c6ecbcf6828915605fc4658da5 *
Red Hat OpenShift distributed tracing 3.5.2 RedHat rhosdt/jaeger-query-rhel8:sha256:35a048b43d21f9f05df76fc7cb5766eb1f708be1c0012f117fdc09851b8047e1 *
Red Hat OpenShift distributed tracing 3.5.2 RedHat rhosdt/jaeger-rhel8-operator:sha256:bec83c93d089d4ec7a8e00c0b1a94732c0e083ed216978fd1214ef9bea1082dd *
Red Hat OpenShift sandboxed containers 1.1 RedHat openshift-sandboxed-containers/osc-cloud-api-adaptor-rhel9:sha256:7b6bd3411ca5ec140968975d4f11f3ec0686b6fbca0ce05288e041ee2e569a89 *
Red Hat OpenShift sandboxed containers 1.1 RedHat openshift-sandboxed-containers/osc-cloud-api-adaptor-webhook-rhel9:sha256:99cc26f9e0e5b0f29cb7f34fe3aa5c974e935fdf21e0f3ad02f1af571113a32c *
Red Hat OpenShift sandboxed containers 1.1 RedHat openshift-sandboxed-containers/osc-monitor-rhel9:sha256:f5e1602d72177d77f1b879c76e6f6cfbc2979c136c06ca9f03ea97ffb369b7a6 *
Red Hat OpenShift sandboxed containers 1.1 RedHat openshift-sandboxed-containers/osc-must-gather-rhel9:sha256:6b2da66d287083cf823f6efd8d61ba6a1be10eb6ba8cda484dea4e2ab67ae108 *
Red Hat OpenShift sandboxed containers 1.1 RedHat openshift-sandboxed-containers/osc-podvm-builder-rhel9:sha256:8f29671308ca658e32e97d5c3b482f7541aae1bca1b71f39b3276a9a334d8108 *
Red Hat OpenShift sandboxed containers 1.1 RedHat openshift-sandboxed-containers/osc-podvm-payload-rhel9:sha256:8caeae7ffadf08840a47bc90c390ff402dd7db11457bca48f4e08a11e394be74 *
Red Hat OpenShift sandboxed containers 1.1 RedHat openshift-sandboxed-containers/osc-rhel9-operator:sha256:869dabef4a7bf424fb000f5d5f772f02b1c4653fe08fff96ec67e0adf2b2c27d *
Libarchive Ubuntu devel *
Libarchive Ubuntu esm-infra-legacy/trusty *
Libarchive Ubuntu esm-infra/bionic *
Libarchive Ubuntu esm-infra/focal *
Libarchive Ubuntu esm-infra/xenial *
Libarchive Ubuntu jammy *
Libarchive Ubuntu noble *
Libarchive Ubuntu oracular *
Libarchive Ubuntu plucky *
Libarchive Ubuntu questing *

Potential Mitigations

References