USN-8581-1: libarchive vulnerabilities

Publication date

21 July 2026

Overview

Several security issues were fixed in libarchive.


Packages

  • libarchive - Library to read/write archive files

Details

It was discovered that libarchive did not properly manage memory when
unpacking certain RAR5 archives, leading to a double free. An attacker
could possibly use this issue to cause a denial of service.
(CVE-2026-14164)

It was discovered that libarchive did not properly validate certain tar
archives, leading to a buffer overflow. A remote attacker could possibly
use this issue to cause a denial of service or execute arbitrary code.
This issue only affected Ubuntu 26.04 LTS. (CVE-2026-15028)

It was discovered that libarchive did not properly validate certain
malformed ACL entries. An attacker could possibly use this issue to cause a
denial of service. (CVE-2026-5745)

It was discovered that libarchive did not properly manage memory when
unpacking certain RAR5 archives, leading to a double free. An attacker
could possibly use this issue to cause a denial of service.
(CVE-2026-14164)

It was discovered that libarchive did not properly validate certain tar
archives, leading to a buffer overflow. A remote attacker could possibly
use this issue to cause a denial of service or execute arbitrary code.
This issue only affected Ubuntu 26.04 LTS. (CVE-2026-15028)

It was discovered that libarchive did not properly validate certain
malformed ACL entries. An attacker could possibly use this issue to cause a
denial of service. (CVE-2026-5745)

Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
26.04 LTS resolute libarchive-dev –  3.8.5-1ubuntu2.2
libarchive-tools –  3.8.5-1ubuntu2.2
libarchive13t64 –  3.8.5-1ubuntu2.2
24.04 LTS noble libarchive-dev –  3.7.2-2ubuntu0.8
libarchive-tools –  3.7.2-2ubuntu0.8
libarchive13t64 –  3.7.2-2ubuntu0.8
22.04 LTS jammy libarchive-dev –  3.6.0-1ubuntu1.8
libarchive-tools –  3.6.0-1ubuntu1.8
libarchive13 –  3.6.0-1ubuntu1.8
20.04 LTS focal libarchive-dev –  3.4.0-2ubuntu1.5+esm3  
libarchive-tools –  3.4.0-2ubuntu1.5+esm3  
libarchive13 –  3.4.0-2ubuntu1.5+esm3  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›