
CVE catalog
CVE-2026-5745
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 s
- Severity
- Medium · CVSS 5.5
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.16% · Oct 25, 2026
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).
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | libarchive | sid | 3.8.10-2 | fixed |
| Debian | libarchive | forky | 3.8.9-1 | fixed |
| Debian | libarchive | trixie | 3.7.4-4+deb13u1 | vulnerable |
| Debian | libarchive | bookworm | 3.6.2-1+deb12u4 | vulnerable |
| Debian | libarchive | bookworm-security | 3.6.2-1+deb12u5 | vulnerable |
| Cpe | libarchive | Not reported | Not reported | vulnerable |
| Cpe | libarchive | Not reported | Not reported | unknown |
| Cpe | hardened_images | Not reported | Not reported | unknown |
| Cpe | openshift_container_platform | Not reported | Not reported | unknown |
| Cpe | enterprise_linux | Not reported | Not reported | unknown |
| Ubuntu | libarchive | noble | 3.7.2-2ubuntu0.8 | fixed |
| Ubuntu | libarchive-dev | noble | 3.7.2-2ubuntu0.8 | fixed |
| Ubuntu | libarchive-tools | noble | 3.7.2-2ubuntu0.8 | fixed |
| Ubuntu | libarchive13t64 | noble | 3.7.2-2ubuntu0.8 | fixed |
| Cpe | libarchive | Not reported | Not reported | unknown |
| Cpe | hardened_images | Not reported | Not reported | unknown |
| Cpe | openshift_container_platform | Not reported | Not reported | unknown |
| Cpe | enterprise_linux | Not reported | Not reported | unknown |
| Ubuntu | libarchive | pro | 3.4.0-1 | vulnerable |
| Ubuntu | libarchive | pro | 3.4.0-1build1 | vulnerable |
| Ubuntu | libarchive | pro | 3.4.0-1ubuntu2 | vulnerable |
| Ubuntu | libarchive | pro | 3.4.0-2ubuntu1 | vulnerable |
| Ubuntu | libarchive | pro | 3.4.0-2ubuntu1.1 | vulnerable |
| Ubuntu | libarchive | pro | 3.4.0-2ubuntu1.2 | vulnerable |
| Ubuntu | libarchive | pro | 3.4.0-2ubuntu1.3 | vulnerable |
| Ubuntu | libarchive | pro | 3.4.0-2ubuntu1.4 | vulnerable |
| Ubuntu | libarchive | pro | 3.4.0-2ubuntu1.5 | vulnerable |
| Ubuntu | libarchive | pro | 3.4.0-2ubuntu1.5+esm1 | vulnerable |
| Ubuntu | libarchive | pro | 3.4.0-2ubuntu1.5+esm2 | vulnerable |
| Ubuntu | libarchive | pro | 3.4.0-2ubuntu1.5+esm3 | fixed |
| Ubuntu | libarchive | 22.04 | 3.4.3-2 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.4.3-2build1 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.5.2-1 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.5.2-1ubuntu1 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1.1 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1.2 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1.3 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1.4 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1.5 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1.6 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1.7 | vulnerable |
| Ubuntu | libarchive | 22.04 | 3.6.0-1ubuntu1.8 | fixed |
| Ubuntu | libarchive | 24.04 | 3.6.2-1ubuntu1 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-1ubuntu1 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-1ubuntu2 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-1.1ubuntu2 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2ubuntu0.1 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2ubuntu0.2 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2ubuntu0.3 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2ubuntu0.4 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2ubuntu0.5 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2ubuntu0.6 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2ubuntu0.7 | vulnerable |
| Ubuntu | libarchive | 24.04 | 3.7.2-2ubuntu0.8 | fixed |
| Ubuntu | libarchive | 25.10 | 3.7.7-0ubuntu2 | vulnerable |
| Ubuntu | libarchive | 25.10 | 3.7.7-0ubuntu2.1 | vulnerable |
| Ubuntu | libarchive | 25.10 | 3.7.7-0ubuntu2.2 | vulnerable |
| Ubuntu | libarchive | 25.10 | 3.7.7-0ubuntu3 | vulnerable |
| Ubuntu | libarchive | 25.10 | 3.7.7-0ubuntu3.1 | vulnerable |
| Ubuntu | libarchive | 25.10 | 3.7.7-0ubuntu3.2 | vulnerable |
| Ubuntu | libarchive | 26.04 | 3.7.7-0ubuntu3 | vulnerable |
| Ubuntu | libarchive | 26.04 | 3.8.5-1ubuntu1 | vulnerable |
| Ubuntu | libarchive | 26.04 | 3.8.5-1ubuntu2 | vulnerable |
| Ubuntu | libarchive | 26.04 | 3.8.5-1ubuntu2.1 | vulnerable |
| Ubuntu | libarchive | 26.04 | 3.8.5-1ubuntu2.2 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | libarchive | source | sid | 3.8.8-1 | unimportant | Not reported | [1132998] |
| Debian | libarchive | source | forky | 3.8.8-1 | unimportant | Not reported | [1132998] |
| Debian | libarchive | source | trixie | (unfixed) | unimportant | Not reported | [1132998] |
| Debian | libarchive | source | bookworm | (unfixed) | unimportant | Not reported | [1132998] |
| Ubuntu | libarchive | deb | noble | 3.7.2-2ubuntu0.8 | Not reported | Not reported | Not reported |
| Ubuntu | libarchive-dev | deb | noble | 3.7.2-2ubuntu0.8 | Not reported | Not reported | Not reported |
| Ubuntu | libarchive-tools | deb | noble | 3.7.2-2ubuntu0.8 | Not reported | Not reported | Not reported |
| Ubuntu | libarchive13t64 | deb | noble | 3.7.2-2ubuntu0.8 | Not reported | Not reported | Not reported |
| Ubuntu | libarchive | deb | pro | 3.4.0-2ubuntu1.5+esm3 | Not reported | UBUNTU-CVE-2026-5745 | Not reported |
| Ubuntu | libarchive | deb | 22.04 | 3.6.0-1ubuntu1.8 | Not reported | UBUNTU-CVE-2026-5745 | Not reported |
| Ubuntu | libarchive | deb | 24.04 | 3.7.2-2ubuntu0.8 | Not reported | UBUNTU-CVE-2026-5745 | Not reported |
| Ubuntu | libarchive | deb | 26.04 | 3.8.5-1ubuntu2.2 | Not reported | UBUNTU-CVE-2026-5745 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libarchive13]Affected
Source package: [libarchive]
Details (4)
3.6.2-1+deb12u4· amd64 · bookwormAffected
nvd · libarchive · debian · bookworm; nvd · libarchive · debian · 12
3.6.2-1+deb12u4· arm64 · bookwormAffected
nvd · libarchive · debian · bookworm; nvd · libarchive · debian · 12
3.6.2-1+deb12u5· amd64 · bookworm-securityAffected
nvd · libarchive · debian · bookworm; nvd · libarchive · debian · 12
3.6.2-1+deb12u5· arm64 · bookworm-securityAffected
nvd · libarchive · debian · bookworm; nvd · libarchive · debian · 12
- [libarchive-dev]Affected
Source package: [libarchive]
Details (4)
3.6.2-1+deb12u4· amd64 · bookwormAffected
nvd · libarchive · debian · bookworm; nvd · libarchive · debian · 12
3.6.2-1+deb12u4· arm64 · bookwormAffected
nvd · libarchive · debian · bookworm; nvd · libarchive · debian · 12
3.6.2-1+deb12u5· amd64 · bookworm-securityAffected
nvd · libarchive · debian · bookworm; nvd · libarchive · debian · 12
3.6.2-1+deb12u5· arm64 · bookworm-securityAffected
nvd · libarchive · debian · bookworm; nvd · libarchive · debian · 12
- [libarchive-tools]Affected
Source package: [libarchive]
Details (4)
3.6.2-1+deb12u4· amd64 · bookwormAffected
nvd · libarchive · debian · bookworm; nvd · libarchive · debian · 12
3.6.2-1+deb12u4· arm64 · bookwormAffected
nvd · libarchive · debian · bookworm; nvd · libarchive · debian · 12
3.6.2-1+deb12u5· amd64 · bookworm-securityAffected
nvd · libarchive · debian · bookworm; nvd · libarchive · debian · 12
3.6.2-1+deb12u5· arm64 · bookworm-securityAffected
nvd · libarchive · debian · bookworm; nvd · libarchive · debian · 12
[Debian 13 (Trixie)]
- [libarchive13t64]Affected
Source package: [libarchive]
Details (2)
3.7.4-4+deb13u1· amd64 · trixieAffected
nvd · libarchive · debian · 13
3.7.4-4+deb13u1· arm64 · trixieAffected
nvd · libarchive · debian · 13
- [libarchive-dev]Affected
Source package: [libarchive]
Details (2)
3.7.4-4+deb13u1· amd64 · trixieAffected
nvd · libarchive · debian · 13
3.7.4-4+deb13u1· arm64 · trixieAffected
nvd · libarchive · debian · 13
- [libarchive-tools]Affected
Source package: [libarchive]
Details (2)
3.7.4-4+deb13u1· amd64 · trixieAffected
nvd · libarchive · debian · 13
3.7.4-4+deb13u1· arm64 · trixieAffected
nvd · libarchive · debian · 13
Observed:
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]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-5745]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-5745]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-5745]
- [https://security-tracker.debian.org/tracker/CVE-2026-5745]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-5745.json]
- [https://ubuntu.com/security/notices/USN-8581-1]
- [https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-0986.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [Ubuntu Security Notices (USN)]