CVE-2026-5121

Libarchive: libarchive: arbitrary code execution via integer overflow in iso9660 image processing

Published Mar 30, 2026 CVSS 3.1 · 7.5 High EPSS 1.7% KEV · Not listed
Description
A flaw was found in libarchive. On 32-bit systems, an integer overflow vulnerability exists in the zisofs block pointer allocation logic. A remote attacker can exploit this by providing a specially crafted ISO9660 image, which can lead to a heap buffer overflow. This could potentially allow for arbitrary code execution on the affected system.

Analysis

AI-generated

Technical impact

The vulnerability is an integer overflow in libarchive’s ISO9660 zisofs block pointer allocation logic. Processing a specially crafted ISO image can trigger a heap buffer overflow, allowing an attacker to execute arbitrary code with the privileges of the process that uses libarchive. This weakness is classified as CWE‑190 and can lead to complete compromise of the affected system.

Affected Systems

Affected systems include Red Hat Enterprise Linux distributions 6 through 10, Red Hat Hardened Images, and Red Hat OpenShift Container Platform 4—all of which ship libarchive. The flaw is limited to 32‑bit builds and impacts any component that extracts ISO9660 images, such as the default container runtime and related tooling.

Risk and Exploitability

The CVSS score of 7.5 indicates high severity, yet the EPSS score is 1 %, showing rare exploitation evidence. The vulnerability is not listed in CISA’s KEV catalog. Based on the description, it is inferred that exploitation requires an application to process a malicious ISO image; thus, the attack vector is primarily through the supply of untrusted ISO files, either locally or over a network service that extracts them. No additional conditions are noted beyond the use of libarchive on a 32‑bit system.

Remediation

Vendor Workaround

To mitigate this issue, avoid processing untrusted ISO9660 images with applications that utilize `libarchive`. Users should only extract or read content from ISO images obtained from trusted sources.


OpenCVE Recommended Actions

  • Apply the latest Red Hat security updates that replace the vulnerable libarchive library for all affected RHEL releases
  • If the system must handle ISO images, restrict processing to ISO files obtained from trusted sources and avoid performing extraction on untrusted input
  • Consider using alternative libraries or tools that do not contain the vulnerable code if remediation is not immediately possible
  • Implement network controls to block exposure of applications that automatically extract ISO images from external sources

Generated by OpenCVE AI on June 18, 2026 at 09:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4563-1 libarchive security update
Ubuntu USN Ubuntu USN USN-8292-1 libarchive vulnerabilities
References
Link Providers
https://access.redhat.com/errata/RHSA-2026:10065 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:10097 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:11768 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:12071 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:12274 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:13812 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:14773 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:14937 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:15087 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:16008 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:16009 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:16030 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:16174 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:17596 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:19724 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:19725 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:20040 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:21690 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:25096 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:72502 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:82304 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:82322 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:82347 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:82354 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:82372 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:82857 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:82888 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:8510 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:8517 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:8521 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:8534 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:8864 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:8866 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:8867 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:8873 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:8908 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:8944 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:9026 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:9592 cve-icon cve-icon
https://access.redhat.com/errata/RHSA-2026:9832 cve-icon cve-icon
https://access.redhat.com/security/cve/CVE-2026-5121 cve-icon cve-icon
https://bugzilla.redhat.com/show_bug.cgi?id=2452945 cve-icon cve-icon
https://cert-portal.siemens.com/productcert/html/ssa-585531.html cve-icon
https://github.com/advisories/GHSA-2vwv-vqpv-v8vc cve-icon cve-icon
https://github.com/libarchive/libarchive/pull/2934 cve-icon cve-icon cve-icon
https://nvd.nist.gov/vuln/detail/CVE-2026-5121 cve-icon
https://www.cve.org/CVERecord?id=CVE-2026-5121 cve-icon
History
Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:10 cpe:/o:redhat:enterprise_linux:10
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/a:redhat:enterprise_linux:10
cpe:/o:redhat:rhel_els:6
Type Values Removed Values Added
First Time appeared Redhat cert Manager
CPEs cpe:/a:redhat:cert_manager:1.20::el9
Vendors & Products Redhat cert Manager
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4.13::el9
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:ai_inference_server:3.2::el9
cpe:/a:redhat:openshift:4.17::el9
References
Type Values Removed Values Added
First Time appeared Redhat ai Inference Server
CPEs cpe:/a:redhat:ai_inference_server:3.3::el9
Vendors & Products Redhat ai Inference Server
References
Type Values Removed Values Added
First Time appeared Redhat discovery
CPEs cpe:/a:redhat:discovery:2::el9
Vendors & Products Redhat discovery
References
Type Values Removed Values Added
First Time appeared Redhat rhosemc
CPEs cpe:/a:redhat:rhosemc:1.0::el8
Vendors & Products Redhat rhosemc
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:4 cpe:/a:redhat:openshift:4.16::el9
References
Type Values Removed Values Added
First Time appeared Redhat rhui
CPEs cpe:/a:redhat:rhui:5::el9
Vendors & Products Redhat rhui
References
Type Values Removed Values Added
First Time appeared Redhat insights Proxy
CPEs cpe:/a:redhat:insights_proxy:1.5::el9
Vendors & Products Redhat insights Proxy
References
Type Values Removed Values Added
First Time appeared Redhat rhel Eus Long Life
CPEs cpe:/o:redhat:rhel_aus:8.4::baseos
cpe:/o:redhat:rhel_eus_long_life:8.4::baseos
Vendors & Products Redhat rhel Eus Long Life
References
Type Values Removed Values Added
CPEs cpe:/o:redhat:rhel_e4s:8.8::baseos
cpe:/o:redhat:rhel_tus:8.8::baseos
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:rhel_eus:9.6::appstream
cpe:/o:redhat:rhel_eus:9.6::baseos
References
Type Values Removed Values Added
First Time appeared Redhat rhel Tus
CPEs cpe:/o:redhat:rhel_aus:8.6::baseos
cpe:/o:redhat:rhel_e4s:8.6::baseos
cpe:/o:redhat:rhel_tus:8.6::baseos
Vendors & Products Redhat rhel Tus
References
Type Values Removed Values Added
First Time appeared Redhat rhel Eus
CPEs cpe:/a:redhat:rhel_eus:9.4::appstream
cpe:/a:redhat:rhel_eus:9.4::crb
cpe:/o:redhat:rhel_eus:9.4::baseos
Vendors & Products Redhat rhel Eus
References
Type Values Removed Values Added
CPEs cpe:/a:redhat:rhel_e4s:9.2::appstream
cpe:/o:redhat:rhel_e4s:9.2::baseos
References
Type Values Removed Values Added
First Time appeared Redhat rhel E4s
CPEs cpe:/a:redhat:rhel_e4s:9.0::appstream
cpe:/o:redhat:rhel_e4s:9.0::baseos
Vendors & Products Redhat rhel E4s
References
Type Values Removed Values Added
First Time appeared Redhat rhel Aus
Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:7 cpe:/o:redhat:rhel_aus:8.2::baseos
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Aus
Redhat rhel Els
References
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:8 cpe:/a:redhat:enterprise_linux:8::crb
cpe:/o:redhat:enterprise_linux:8::baseos
References
Type Values Removed Values Added
CPEs cpe:/o:redhat:enterprise_linux:9 cpe:/a:redhat:enterprise_linux:9::appstream
cpe:/o:redhat:enterprise_linux:9::baseos
References
Type Values Removed Values Added
First Time appeared Libarchive
Libarchive libarchive
Redhat hardened Images
CPEs cpe:2.3:a:libarchive:libarchive:-:*:*:*:*:*:*:*
cpe:2.3:a:redhat:hardened_images:-:*:*:*:*:*:*:*
cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:10.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
Vendors & Products Libarchive
Libarchive libarchive
Redhat hardened Images
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}

Type Values Removed Values Added
First Time appeared Redhat hummingbird
CPEs cpe:/a:redhat:hummingbird:1
Vendors & Products Redhat hummingbird
Type Values Removed Values Added
First Time appeared Redhat openshift Container Platform
Vendors & Products Redhat openshift Container Platform
Type Values Removed Values Added
Weaknesses CWE-122
CWE-680
Type Values Removed Values Added
Weaknesses CWE-190
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-122
CWE-680
Type Values Removed Values Added
Description A flaw was found in libarchive. On 32-bit systems, an integer overflow vulnerability exists in the zisofs block pointer allocation logic. A remote attacker can exploit this by providing a specially crafted ISO9660 image, which can lead to a heap buffer overflow. This could potentially allow for arbitrary code execution on the affected system.
Title Libarchive: libarchive: arbitrary code execution via integer overflow in iso9660 image processing
First Time appeared Redhat
Redhat enterprise Linux
Redhat openshift
CPEs cpe:/a:redhat:openshift:4
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Redhat openshift
References