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 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).
Security readout for executives and security teams
Plain-English summary
A malformed archive can crash software that uses libarchive to parse access-control lists. The result is service disruption, not disclosed data theft or modification. Risk is greatest where users or automated services process untrusted archives.
Executive priority
Treat as a targeted availability issue. Prioritize internet-facing upload services, automated extraction pipelines, and operationally critical systems. Routine patching is reasonable elsewhere unless repeated crashes could materially disrupt business operations.
Technical view
archive_acl_from_text_nl() inadequately validates malformed ACL text before advancing a pointer, causing a NULL pointer dereference. The supplied CVSS 3.1 score is 5.5: local access, low complexity, no privileges, user interaction required, and high availability impact only.
Likely exposure
The bundle identifies affected libarchive packages across Red Hat Enterprise Linux 6–10, OpenShift Container Platform 4, and Red Hat Hardened Images 3.8.7-1.hum1. Exact affected and fixed upstream libarchive versions are not provided.
Exploitation context
Exploitation requires a crafted archive to be processed by a libarchive-based application, such as bsdtar. The expected effect is a crash and denial of service. The CVE is not listed in KEV, and the supplied sources provide no evidence of active exploitation.
Researcher notes
The failure concerns parsing incomplete ACL tags, including bare "d" or "default" values. Evidence supports CWE-476 and denial of service through NULL dereference. It does not support code execution, privilege escalation, confidentiality loss, integrity loss, or exploitation in the wild.
Mitigation direction
Review RHSA-2026:8944 and apply the applicable Red Hat update.
Check Red Hat guidance for products not explicitly covered by that advisory.
Restrict automated processing of archives from untrusted or unauthenticated sources.
Use process isolation and restart controls to limit availability impact.
Validation and detection
Inventory systems and containers containing libarchive or libarchive-main.
Map installed packages against Red Hat's CVE and errata status.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-476: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The affected technology mentions containers, so container-specific ATT&CK technique review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-476 · source CWE mapping
NULL Pointer Dereference
NULL Pointer Dereference represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.