CVEfocus › CVE database › CVE-2026-5745

CVE-2026-5745Libarchive: a null pointer dereference vulnerability exists in the acl parser of…

CVSS 5.5 MediumEPSS 0.2% (higher than 6% of CVEs)Published 2026-04-07Updated 2026-11-24Assigner: redhat

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

CWE-476

What to do

Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
16Fix pending
3Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04libarchiveFixed3.8.5-1ubuntu2.2UBUNTU-CVE-2026-5745
Ubuntu 25.10libarchiveWill not fix
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…
UBUNTU-CVE-2026-5745
Ubuntu 24.04libarchiveFixed3.7.2-2ubuntu0.8UBUNTU-CVE-2026-5745
Ubuntu 22.04libarchiveFixed3.6.0-1ubuntu1.8UBUNTU-CVE-2026-5745
Ubuntu 20.04libarchiveFix pending3.4.0-2ubuntu1.5+esm3 (Ubuntu Pro)UBUNTU-CVE-2026-5745
Debian 14libarchiveFixed3.8.8-1DEBIAN-CVE-2026-5745
Debian 13libarchiveWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2026-5745
Debian 12libarchiveWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2026-5745
Red Hat Enterprise Linux 10bsdtarFix pending
Fix deferred
Red Hat Enterprise Linux 10libarchiveFix pending
Fix deferred
Red Hat Enterprise Linux 10libarchive-develFix pending
Fix deferred
Red Hat Enterprise Linux 9bsdtarFix pending
Fix deferred
Red Hat Enterprise Linux 9libarchiveFix pending
Fix deferred
Red Hat Enterprise Linux 9libarchive-develFix pending
Fix deferred
Red Hat Enterprise Linux 8bsdtarFix pending
Fix deferred
Red Hat Enterprise Linux 8libarchiveFix pending
Fix deferred
Red Hat Enterprise Linux 8libarchive-develFix pending
Fix deferred
Red Hat Enterprise Linux 7bsdcpioFix pending
Fix deferred
Red Hat Enterprise Linux 7bsdtarFix pending
Fix deferred
Red Hat Enterprise Linux 7libarchiveFix pending
Fix deferred
Red Hat Enterprise Linux 7libarchive-develFix pending
Fix deferred
Red Hat Enterprise Linux 6libarchiveFix pending
Fix deferred
Red Hat Enterprise Linux 6libarchive-develFix pending
Fix deferred

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.