CVE-2026-5121 Affecting libarchive package, versions <3.6.0-1ubuntu1.7


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

Social Trends
EPSS
1.07% (61st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU2204-LIBARCHIVE-15884064
  • published13 Apr 2026
  • disclosed30 Mar 2026

Introduced: 30 Mar 2026

CVE-2026-5121  (opens in a new tab)

How to fix?

Upgrade Ubuntu:22.04 libarchive to version 3.6.0-1ubuntu1.7 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libarchive package and not the libarchive package as distributed by Ubuntu. See How to fix? for Ubuntu:22.04 relevant fixed versions and status.

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.

References

CVSS Base Scores

version 3.1