Packages
- libarchive - Library to read/write archive files
Details
It was discovered that libarchive incorrectly handled certain archive
files. An attacker could possibly use this issue to access sensitive
information. This issue only affected Ubuntu 14.04 LTS. (CVE-2019-19221)
It was discovered that libarchive incorrectly handled certain RAR archive
files. If a user or automated system were tricked into processing a
specially crafted RAR archive, an attacker could possibly use this issue to
cause libarchive to crash, resulting in a denial of service, or execute
arbitrary code. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS
and Ubuntu 18.04 LTS. (CVE-2024-20696)
It was discovered that libarchive incorrectly handled certain RAR archive
files. An attacker could possibly use this issue to execute arbitrary code
or cause a denial of service. This issue only affected Ubuntu 14.04 LTS,
Ubuntu 16.04 LTS,...
It was discovered that libarchive incorrectly handled certain archive
files. An attacker could possibly use this issue to access sensitive
information. This issue only affected Ubuntu 14.04 LTS. (CVE-2019-19221)
It was discovered that libarchive incorrectly handled certain RAR archive
files. If a user or automated system were tricked into processing a
specially crafted RAR archive, an attacker could possibly use this issue to
cause libarchive to crash, resulting in a denial of service, or execute
arbitrary code. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS
and Ubuntu 18.04 LTS. (CVE-2024-20696)
It was discovered that libarchive incorrectly handled certain RAR archive
files. An attacker could possibly use this issue to execute arbitrary code
or cause a denial of service. This issue only affected Ubuntu 14.04 LTS,
Ubuntu 16.04 LTS, Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2025-5914)
It was discovered that libarchive incorrectly handled certain WARC archive
files. If a user or automated system were tricked into processing a
specially crafted WARC archive, an attacker could possibly use this issue
to cause libarchive to crash, resulting in a denial of service. This issue
only affected Ubuntu 18.04 LTS and Ubuntu 20.04 LTS. (CVE-2025-5916)
It was discovered that libarchive incorrectly handled certain file names
when handling prefixes and suffixes. An attacker could possibly use this
issue to cause libarchive to crash, resulting in a denial of service. This
issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS, Ubuntu 18.04 LTS
and Ubuntu 20.04 LTS. (CVE-2025-5917)
It was discovered that libarchive could read past the end of file streams
when processing input to bsdtar. An attacker could possibly use this issue
to cause memory corruption or a denial of service. (CVE-2025-5918)
It was discovered that libarchive incorrectly handled certain TAR archive
files. If a user or automated system were tricked into processing a
specially crafted TAR archive, an attacker could possibly use this issue to
cause libarchive to crash, resulting in a denial of service, or execute
arbitrary code. This issue only affected Ubuntu 14.04 LTS, Ubuntu 16.04 LTS
and Ubuntu 18.04 LTS. (CVE-2025-25724)
HyungJung Joo discovered that libarchive did not properly limit memory
allocation when processing substitution rules in bsdtar. An attacker could
possibly use this issue to cause excessive memory consumption, leading to a
denial of service. (CVE-2025-60753)
Elhanan Haenel discovered that libarchive could enter an infinite loop when
processing crafted RAR5 archives. An attacker could possibly use this issue
to cause excessive CPU consumption, leading to a denial of service. This
issue only affected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS
and Ubuntu 25.10. (CVE-2026-4111)
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 | ||
|---|---|---|---|
| 25.10 questing | libarchive-dev – 3.7.7-0ubuntu3.1 | ||
| libarchive-tools – 3.7.7-0ubuntu3.1 | |||
| libarchive13t64 – 3.7.7-0ubuntu3.1 | |||
| 24.04 LTS noble | libarchive-dev – 3.7.2-2ubuntu0.6 | ||
| libarchive-tools – 3.7.2-2ubuntu0.6 | |||
| libarchive13t64 – 3.7.2-2ubuntu0.6 | |||
| 22.04 LTS jammy | libarchive-dev – 3.6.0-1ubuntu1.6 | ||
| libarchive-tools – 3.6.0-1ubuntu1.6 | |||
| libarchive13 – 3.6.0-1ubuntu1.6 | |||
| 20.04 LTS focal | libarchive-dev – 3.4.0-2ubuntu1.5+esm1 | ||
| libarchive-tools – 3.4.0-2ubuntu1.5+esm1 | |||
| libarchive13 – 3.4.0-2ubuntu1.5+esm1 | |||
| 18.04 LTS bionic | bsdcpio – 3.2.2-3.1ubuntu0.7+esm2 | ||
| bsdtar – 3.2.2-3.1ubuntu0.7+esm2 | |||
| libarchive-dev – 3.2.2-3.1ubuntu0.7+esm2 | |||
| libarchive-tools – 3.2.2-3.1ubuntu0.7+esm2 | |||
| libarchive13 – 3.2.2-3.1ubuntu0.7+esm2 | |||
| 16.04 LTS xenial | bsdcpio – 3.1.2-11ubuntu0.16.04.8+esm2 | ||
| bsdtar – 3.1.2-11ubuntu0.16.04.8+esm2 | |||
| libarchive-dev – 3.1.2-11ubuntu0.16.04.8+esm2 | |||
| libarchive13 – 3.1.2-11ubuntu0.16.04.8+esm2 | |||
| 14.04 LTS trusty | bsdcpio – 3.1.2-7ubuntu2.8+esm4 | ||
| bsdtar – 3.1.2-7ubuntu2.8+esm4 | |||
| libarchive-dev – 3.1.2-7ubuntu2.8+esm4 | |||
| libarchive13 – 3.1.2-7ubuntu2.8+esm4 | |||
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.