Advisory

UBUNTU-CVE-2026-5745

Also known as: CVE-2026-5745

Summary

The record has no summary.

Details

A flaw was found in libarchive. A NULL pointer dereference vulnerability exists in the ACL parsing logic, specifically within the archive_acl_from_text_nl() function. When processing a malformed ACL string (such as a bare "d" or "default" tag without subsequent fields), the function fails to perform adequate validation before advancing the pointer. An attacker can exploit this by providing a maliciously crafted archive, causing an application utilizing the libarchive API (such as bsdtar) to crash, resulting in a Denial of Service (DoS).

Severity

Medium Basis: CVSS v3 score 5.5, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Dates

Published
2026-04-07 16:16 UTC
Modified
2026-07-23 01:15 UTC

Affected packages and fixes

libarchive

Debian packages (deb) · Ubuntu 22.04

Affected

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

Fixed versions

3.6.0-1ubuntu1.8

Fix

  • Fixed version 3.6.0-1ubuntu1.8
    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.8 (ecosystem)

Fixed versions

3.7.2-2ubuntu0.8

Fix

  • Fixed version 3.7.2-2ubuntu0.8
    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 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

libarchive

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 3.8.5-1ubuntu2.2 (ecosystem)

Fixed versions

3.8.5-1ubuntu2.2

Fix

  • Fixed version 3.8.5-1ubuntu2.2
    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