Advisory

USN-8147-1

Also known as: CVE-2019-19221, CVE-2024-20696, CVE-2025-25724, CVE-2025-5914, CVE-2025-5916, CVE-2025-5917, CVE-2025-5918, CVE-2025-60753, CVE-2026-4111

Summary

libarchive vulnerabilities

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, 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)

Severity

Not rated by the source.

Dates

Published
2026-04-02 18:23 UTC
Modified
2026-06-25 13:32 UTC

Affected packages and fixes

libarchive

Debian packages (deb) · Ubuntu 22.04

Affected

  • introduced 0, fixed 3.6.0-1ubuntu1.6 (ecosystem)

Fixed versions

3.6.0-1ubuntu1.6

Fix

  • Fixed version 3.6.0-1ubuntu1.6
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libarchive

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 3.7.2-2ubuntu0.6 (ecosystem)

Fixed versions

3.7.2-2ubuntu0.6

Fix

  • Fixed version 3.7.2-2ubuntu0.6
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

libarchive

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0, fixed 3.7.7-0ubuntu3.1 (ecosystem)

Fixed versions

3.7.7-0ubuntu3.1

Fix

  • Fixed version 3.7.7-0ubuntu3.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences