CVE-2026-5745

Publication date 7 April 2026

Last updated 6 August 2026


Ubuntu priority

Cvss 3 Severity Score

5.5 · Medium

Score breakdown

Description

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

Read the notes from the security team

Status

Package Ubuntu Release Status
libarchive 26.04 LTS resolute
Fixed 3.8.5-1ubuntu2.2
25.10 questing Ignored end of life, was needed
24.04 LTS noble
Fixed 3.7.2-2ubuntu0.8
22.04 LTS jammy
Fixed 3.6.0-1ubuntu1.8
20.04 LTS focal
Fixed 3.4.0-2ubuntu1.5+esm3
18.04 LTS bionic
Not affected
16.04 LTS xenial
Not affected
14.04 LTS trusty
Not affected

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro 30-day free trial

Notes


mdeslaur

There is a commit to fix this issue, but the CVE will likely be rejected by libarchive developers. Per libarchive developer "The root cause remains a UBSAN violation, not a NULL pointer dereference"

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
libarchive

Severity score breakdown

CVSS version: CVSS v3.0

Base score 5.5 · Medium

Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

References

Related Ubuntu Security Notices (USN)

    • USN-8581-1
    • libarchive vulnerabilities
    • 21 July 2026

Other references


Access our resources on patching vulnerabilities