CVE-2026-5121
libarchive: libarchive: Arbitrary code execution via integer overflow in ISO9660 image processing
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · March 30, 2026
Updated · October 15, 2026
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.
Statement
Important: An integer overflow flaw in libarchive on 32-bit systems can lead to a heap buffer overflow. This vulnerability occurs when processing a specially crafted ISO9660 image, allowing an attacker to potentially execute arbitrary code. Red Hat Enterprise Linux 64-bit systems are not affected by this flaw.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
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.
CVSS / CWE
CVSS 3.1 · 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CWE-190 · Integer Overflow or Wraparound