CVE-2026-5745Libarchive: a null pointer dereference vulnerability exists in the acl parser of…
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).
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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | libarchive | Fixed | 3.8.5-1ubuntu2.2 | UBUNTU-CVE-2026-5745 |
| Ubuntu 25.10 | libarchive | Will 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.04 | libarchive | Fixed | 3.7.2-2ubuntu0.8 | UBUNTU-CVE-2026-5745 |
| Ubuntu 22.04 | libarchive | Fixed | 3.6.0-1ubuntu1.8 | UBUNTU-CVE-2026-5745 |
| Ubuntu 20.04 | libarchive | Fix pending | 3.4.0-2ubuntu1.5+esm3 (Ubuntu Pro) | UBUNTU-CVE-2026-5745 |
| Debian 14 | libarchive | Fixed | 3.8.8-1 | DEBIAN-CVE-2026-5745 |
| Debian 13 | libarchive | Will 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 12 | libarchive | Will 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 10 | bsdtar | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | libarchive | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 10 | libarchive-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | bsdtar | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | libarchive | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 9 | libarchive-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | bsdtar | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | libarchive | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 8 | libarchive-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | bsdcpio | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | bsdtar | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | libarchive | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 7 | libarchive-devel | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | libarchive | Fix pending Fix deferred | ||
| Red Hat Enterprise Linux 6 | libarchive-devel | Fix 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.
- Red Hat Hardened Images
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift AI (RHOAI)
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:
- https://access.redhat.com/errata/RHSA-2026:8944 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2026:8944
- https://access.redhat.com/security/cve/CVE-2026-5745
- https://bugzilla.redhat.com/show_bug.cgi?id=2455921
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.