---
id: CVE-2026-5121
title: A flaw was found in libarchive
summary: >-
  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 t…
severity: high
cvss: 7.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-190
vendor: libarchive
product: libarchive
affected:
  - libarchive
  - hardened_images
  - openshift_container_platform = 4.0
  - enterprise_linux = 6.0
  - enterprise_linux = 7.0
  - enterprise_linux = 8.0
  - enterprise_linux = 9.0
  - enterprise_linux = 10.0
patched:
  - enterprise_linux_server_v_7_els
  - enterprise_linux_server_optional_v_7_els
  - openshift_container_platform 4.12
  - middleware_containers_for_openshift
  - openshift_container_platform 4.13
  - openshift_container_platform 4.14
  - openshift_container_platform 4.15
  - openshift_container_platform 4.16
  - openshift_container_platform 4.17
  - openshift_container_platform 4.18
  - openshift_container_platform 4.19
  - enterprise_linux_appstream_e4s_v_9_0
  - enterprise_linux_appstream_e4s_v_9_2
  - enterprise_linux_appstream_eus_v_9_4
  - enterprise_linux_appstream_eus_v_9_6
  - enterprise_linux_appstream_v_9
  - enterprise_linux_baseos_v_8
  - enterprise_linux_baseos_aus_v_8_2
  - enterprise_linux_baseos_aus_v_8_4
  - enterprise_linux_baseos_eus_extension_v_8_4
  - enterprise_linux_baseos_aus_v_8_6
  - enterprise_linux_baseos_e4s_v_8_6
  - enterprise_linux_baseos_tus_v_8_6
  - enterprise_linux_baseos_e4s_v_8_8
  - enterprise_linux_baseos_tus_v_8_8
  - enterprise_linux_baseos_e4s_v_9_0
  - enterprise_linux_baseos_e4s_v_9_2
  - enterprise_linux_baseos_eus_v_9_4
  - enterprise_linux_baseos_eus_v_9_6
  - enterprise_linux_baseos_v_9
  - enterprise_linux_crb_v_8
  - codeready_linux_builder_eus_v_9_4
  - cert_manager_support_for_red_hat_openshift_release 1.20
  - ai_inference_server 3.2
  - ai_inference_server 3.3
  - discovery 2
  - hardened_images
  - insights_proxy 1.5
  - update_infrastructure 5
published: '2026-03-30'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T20:17:56.487'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-5121'
references:
  - url: 'https://access.redhat.com/errata/RHSA-2026:10065'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:10097'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:11768'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:12071'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:12274'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:13812'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:14773'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:14937'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:15087'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:16008'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:16009'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:16030'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:16174'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:17596'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:19724'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:19725'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:20040'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:21690'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:25096'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:72502'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:82304'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:82322'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:82347'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:82354'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:82372'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:82857'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:82888'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:8510'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:8517'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:8521'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:8534'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:8864'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:8866'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:8867'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:8873'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:8908'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:8944'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:9026'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:9592'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:9832'
    label: secalert@redhat.com
  - url: 'https://access.redhat.com/security/cve/CVE-2026-5121'
    label: secalert@redhat.com
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2452945'
    label: secalert@redhat.com
  - url: 'https://github.com/advisories/GHSA-2vwv-vqpv-v8vc'
    label: secalert@redhat.com
  - url: 'https://github.com/libarchive/libarchive/pull/2934'
    label: secalert@redhat.com
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-585531.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-5121.json
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-5121'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-5121'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.01092
epssPercentile: 0.65244
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: total
  timestamp: '2026-03-31T03:55:34.402717Z'
ingestedAt: '2026-09-01T14:27:54.391Z'
---

## Overview

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.

## Affected

- `libarchive`
- `hardened_images`
- `openshift_container_platform = 4.0`
- `enterprise_linux = 6.0`
- `enterprise_linux = 7.0`
- `enterprise_linux = 8.0`
- `enterprise_linux = 9.0`
- `enterprise_linux = 10.0`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **RHSA-2026:8517** · Red Hat · fixed in: Red Hat Enterprise Linux Server (v. 7 ELS), Red Hat Enterprise Linux Server Optional (v. 7 ELS) · released 2026-04-16 · [advisory](https://access.redhat.com/errata/RHSA-2026:8517)
- **RHSA-2026:12274** · Red Hat · fixed in: Red Hat OpenShift Container Platform 4.12 · released 2026-05-08 · [advisory](https://access.redhat.com/errata/RHSA-2026:12274)
- **RHSA-2026:13812** · Red Hat · fixed in: Middleware Containers for OpenShift · released 2026-05-05 · [advisory](https://access.redhat.com/errata/RHSA-2026:13812)
- **RHSA-2026:21690** · Red Hat · fixed in: Red Hat OpenShift Container Platform 4.13 · released 2026-06-04 · [advisory](https://access.redhat.com/errata/RHSA-2026:21690)
- **RHSA-2026:15087** · Red Hat · fixed in: Red Hat OpenShift Container Platform 4.14 · released 2026-05-13 · [advisory](https://access.redhat.com/errata/RHSA-2026:15087)
- **RHSA-2026:14773** · Red Hat · fixed in: Red Hat OpenShift Container Platform 4.15 · released 2026-05-13 · [advisory](https://access.redhat.com/errata/RHSA-2026:14773)
- **RHSA-2026:10097** · Red Hat · fixed in: Red Hat OpenShift Container Platform 4.16 · released 2026-04-30 · [advisory](https://access.redhat.com/errata/RHSA-2026:10097)
- **RHSA-2026:17596** · Red Hat · fixed in: Red Hat OpenShift Container Platform 4.17 · released 2026-05-20 · [advisory](https://access.redhat.com/errata/RHSA-2026:17596)
- **RHSA-2026:12071** · Red Hat · fixed in: Red Hat OpenShift Container Platform 4.18 · released 2026-05-11 · [advisory](https://access.redhat.com/errata/RHSA-2026:12071)
- **RHSA-2026:20040** · Red Hat · fixed in: Red Hat OpenShift Container Platform 4.19 · released 2026-05-27 · [advisory](https://access.redhat.com/errata/RHSA-2026:20040)
- **RHSA-2026:8867** · Red Hat · fixed in: Red Hat Enterprise Linux AppStream E4S (v.9.0), Red Hat Enterprise Linux BaseOS E4S (v.9.0) · released 2026-04-20 · [advisory](https://access.redhat.com/errata/RHSA-2026:8867)
- **Red Hat VEX** · Moderate · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6 · updated 2026-10-14 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-5121.json)
