CVE-2026-5745: Libarchive: a null pointer dereference vulnerability exists in the acl parser of libarchive
A flaw was found in libarchive. A NULL pointer dereference vulnerability exists in the ACL parsing logic, specifically within the archiveaclfromtextnl() 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).
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/libarchiveto a version that resolves this vulnerability.Fixed in 3.8.8-1 - Upgrade
Upgrade
ubuntu/libarchiveto a version that resolves this vulnerability.Fixed in 3.4.0-2ubuntu1.5+esm3 - Upgrade
Upgrade
ubuntu/libarchiveto a version that resolves this vulnerability.Fixed in 3.6.0-1ubuntu1.8 - Upgrade
Upgrade
ubuntu/libarchiveto a version that resolves this vulnerability.Fixed in 3.7.2-2ubuntu0.8 - Upgrade
Upgrade
ubuntu/libarchiveto a version that resolves this vulnerability.Fixed in 3.8.5-1ubuntu2.2