CVEfocus › CVE database › CVE-2026-5121

CVE-2026-5121Libarchive: libarchive: arbitrary code execution via integer overflow in iso9660 image…

CVSS 7.5 HighEPSS 1.7% (higher than 77% of CVEs)Published 2026-03-30Updated 2026-11-24Assigner: redhat

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.

CWE-190

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

21Fixed
4Fix pending
5Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04libarchiveFixed3.8.5-1ubuntu2.1UBUNTU-CVE-2026-5121
Ubuntu 25.10libarchiveFixed3.7.7-0ubuntu3.2UBUNTU-CVE-2026-5121
Ubuntu 24.04libarchiveFixed3.7.2-2ubuntu0.7UBUNTU-CVE-2026-5121
Ubuntu 22.04libarchiveFixed3.6.0-1ubuntu1.7UBUNTU-CVE-2026-5121
Ubuntu 20.04libarchiveFix pending3.4.0-2ubuntu1.5+esm2 (Ubuntu Pro)UBUNTU-CVE-2026-5121
Ubuntu 18.04libarchiveFix pending3.2.2-3.1ubuntu0.7+esm3 (Ubuntu Pro)UBUNTU-CVE-2026-5121
Ubuntu 16.04libarchiveFix pending3.1.2-11ubuntu0.16.04.8+esm3 (Ubuntu Pro)UBUNTU-CVE-2026-5121
Ubuntu 14.04libarchiveFix pending3.1.2-7ubuntu2.8+esm5 (Ubuntu Pro)UBUNTU-CVE-2026-5121
Debian 14libarchiveFixed3.8.7-1DEBIAN-CVE-2026-5121
Debian 13libarchiveFixed3.7.4-4+deb13u1DEBIAN-CVE-2026-5121
Debian 12libarchiveFixed3.6.2-1+deb12u4DEBIAN-CVE-2026-5121
Red Hat Enterprise Linux 10bsdtarUnder investigation
Red Hat Enterprise Linux 10libarchiveUnder investigation
Red Hat Enterprise Linux 10libarchive-develUnder investigation
Red Hat Enterprise Linux 9bsdtarFixed0:3.5.3-9.el9_7RHSA-2026:8510
Red Hat Enterprise Linux 9libarchiveFixed0:3.5.3-9.el9_7RHSA-2026:8510
Red Hat Enterprise Linux 9libarchive-develFixed0:3.5.3-9.el9_7RHSA-2026:8510
Red Hat Enterprise Linux 8bsdtarFixed0:3.3.3-7.el8_10RHSA-2026:8534
Red Hat Enterprise Linux 8libarchiveFixed0:3.3.3-7.el8_10RHSA-2026:8534
Red Hat Enterprise Linux 8libarchive-develFixed0:3.3.3-7.el8_10RHSA-2026:8534
Red Hat Enterprise Linux 6libarchiveUnder investigation
Red Hat Enterprise Linux 6libarchive-develUnder investigation
AlmaLinux 9bsdtarFixed3.5.3-9.el9_7ALSA-2026:8510
AlmaLinux 9libarchiveFixed3.5.3-9.el9_7ALSA-2026:8510
AlmaLinux 9libarchive-develFixed3.5.3-9.el9_7ALSA-2026:8510
AlmaLinux 8bsdtarFixed3.3.3-7.el8_10ALSA-2026:8534
AlmaLinux 8libarchiveFixed3.3.3-7.el8_10ALSA-2026:8534
AlmaLinux 8libarchive-develFixed3.3.3-7.el8_10ALSA-2026:8534
Rocky Linux 9libarchiveFixed0:3.5.3-9.el9_7RLSA-2026:8510
Rocky Linux 8libarchiveFixed0:3.3.3-7.el8_10RLSA-2026:8534

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

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.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.