Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft tar archive with malformed SUN.holesdata PAX header
-
DeliveryDeliver archive to target via download, upload, or repository
-
ExploitVictim or process opens archive with libarchive
-
ExecutionHeap overflow triggered in PAX header parser
-
ImpactHeap corruption causes crash (DoS) or enables code execution
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK
1 technique across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that a victim process invokes libarchive to parse a tar archive containing a PAX extended header with a crafted SUN.holesdata sparse-file attribute. The CVSS vector specifies UI:R (user interaction required), meaning the vulnerable code path is not reached without a user or process actively opening or extracting the archive - automated background processing without user initiation would not satisfy this unless the application itself triggers parsing without explicit user action. PR:L in the official vector suggests some level of authenticated or low-privileged context is assumed, though processing a tar archive does not inherently require elevated privileges. Exploitation is limited by: (1) the requirement that the archive contain a PAX extended header with the SUN.holesdata attribute - a non-default, Solaris-origin extension not present in standard tar archives; (2) user interaction to trigger parsing; and (3) the need for a heap layout favorable to controlled corruption for RCE, making reliable code execution more complex than reliable denial of service. Environments that only process trusted, internally generated archives are not practically at risk. |
| Impact | The official CVSS 3.1 vector (AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:L) and the resulting score of 3.9 suggest a low-severity, locally-exploitable issue with limited impact. However, this conflicts sharply with two signals: (1) the vendor-applied tag of 'RCE' implies exploitation beyond mere denial of service was evaluated, and (2) the description explicitly states 'potentially allow for arbitrary code execution, giving the attacker control over the affected system.' The CVSS impact metrics (C:L/I:N/A:L) do not reflect RCE, suggesting the assigned vector may be conservative or based on exploitation difficulty rather than theoretical impact ceiling. The AV:L designation is technically defensible - libarchive is a parsing library and exploitation occurs in the local process context regardless of how the archive was delivered - but may mislead defenders into treating this as lower risk than warranted when libarchive is used to process untrusted, remotely-sourced archives (package managers, backup agents, file upload processors). EPSS data was not provided, preventing probabilistic exploitation forecasting. No KEV listing means active exploitation is not confirmed by CISA. The upstream GitHub PR indicates the flaw is reproducible and patch-ready, which elevates the likelihood that POC-level knowledge exists within the research community. Overall: lower automated exploitation risk given UI:R, but meaningful real-world risk in environments where libarchive auto-processes untrusted archives. The RCE tag and heap overflow mechanism together warrant treatment above the raw CVSS score implies. |
| Exploit ScenarioDerived | An attacker hosts or delivers a specially crafted tar archive containing a PAX extended header with a malformed SUN.holesdata attribute value designed to overflow the heap buffer during parsing. A user or automated process (package manager, backup agent, file extraction pipeline) using a vulnerable libarchive build processes the archive, triggering the overflow. Depending on heap layout at runtime, the outcome ranges from a crash (denial of service) to controlled heap corruption enabling arbitrary code execution within the process's privilege context. No public proof-of-concept exploit code has been confirmed at time of analysis, though the upstream issue and PR indicate the crash condition is reproducible. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 10, 2026
Heap overflow in libarchive's PAX extended header parser allows exploitation via a maliciously crafted tar archive containing a malformed SUN.holesdata sparse-file attribute. Successful exploitation of the affected system could result in a denial of service condition or, in more serious cases, arbitrary code execution under the privileges of the process invoking libarchive. No public exploit code or active exploitation has been confirmed at time of analysis, though a GitHub pull request (#3253) indicating an upstream fix is available suggests the issue is reproducible and patch-ready. The official CVSS score of 3.9 (Low) conflicts materially with the vendor-applied RCE tag, a discrepancy that warrants independent validation.
RemediationAI
The primary fix is applying the upstream patch available via GitHub pull request #3253 (https://github.com/libarchive/libarchive/pull/3253); a formal tagged release version was not independently confirmed from the available data, so downstream consumers should monitor the libarchive release page and their distribution's security advisories for a packaged update. Red Hat subscribers should track https://access.redhat.com/security/cve/CVE-2026-15028 for RHEL-specific errata. Until a patch is applied, compensating controls include restricting the processing of externally sourced tar archives to isolated, sandboxed processes (e.g., via seccomp, namespaces, or dedicated low-privilege containers), which limits the blast radius of heap corruption to the sandboxed process rather than the host system. Disabling or filtering support for PAX extended header processing at the application layer is theoretically possible but would require application-level changes and may break legitimate sparse-file archive handling. Blocking untrusted archive input at ingestion boundaries (upload filters, content inspection) reduces attacker-controlled input reaching the vulnerable parser but does not eliminate risk from supply-chain or repository-sourced archives.
Affected ProductsAI
The vulnerability affects the libarchive library, specifically its tar PAX extended header parsing component. Exact affected version ranges are not enumerated in the available NVD CPE data or referenced advisories; the Red Hat security advisory at https://access.redhat.com/security/cve/CVE-2026-15028 and associated Bugzilla entry at https://bugzilla.redhat.com/show_bug.cgi?id=2497970 should be consulted for Red Hat Enterprise Linux and derivative distribution specifics. Upstream tracking is at https://github.com/libarchive/libarchive/issues/3251. Any software that embeds or links against a vulnerable version of libarchive and processes untrusted tar archives with PAX extended headers is transitively affected, including distribution package managers, backup utilities, and archive extraction tooling.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
libarchive is a widely adopted open-source C library providing streaming archive read/write support for formats including tar, cpio, zip, and others. The vulnerability resides specifically in the parsing logic for PAX extended headers, a POSIX.1-2001 tar extension that supports arbitrary key-value metadata. The affected path processes the SUN.holesdata attribute, which encodes sparse-file hole data used by Solaris tar implementations. A malformed value in this attribute triggers a heap buffer overflow - a memory safety error where data written exceeds the bounds of the allocated heap region. This class of flaw (heap overflow) can result in heap metadata corruption, adjacent allocation corruption, or, under favorable heap layout conditions, controlled write primitives enabling code execution. No CWE was formally assigned in the NVD entry; the most applicable CWEs would be CWE-122 (Heap-based Buffer Overflow) and CWE-787 (Out-of-bounds Write). The issue was tracked at GitHub issue #3251 and remediated via pull request #3253.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:N/A:L
No privileges needed to process an archive; UI:R reflects required file-open interaction; C:H/I:H/A:H reflects the credible RCE claim from the vendor description, which the official low-impact metrics do not capture.
Primary rating from Vendor (redhat).
CVSS VectorVendor: redhat
DescriptionCVE.org
A flaw was found in libarchive. This vulnerability allows a remote attacker to trigger a heap overflow by providing a specially crafted tar archive. The issue occurs during the parsing of a PAX extended header containing a malformed SUN.holesdata sparse-file attribute. Successful exploitation could lead to a denial of service, making the system unavailable, or potentially allow for arbitrary code execution, giving the attacker control over the affected system.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.
A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-42865
GHSA-p59g-85vj-3mvf
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB