Vulnerabilities/CVE-2024-26256, published 9 April 2024

CVE-2024-26256: Libarchive heap buffer overflow enables remote code execution

Libarchive, Libarchive

Libarchive contains a heap-based buffer overflow (CWE-122) and out-of-bounds write (CWE-787) that can lead to remote code execution. The flaw is reachable when processing a crafted archive, and it affects libarchive itself plus Fedora and several Windows 11 and Windows Server 2022 releases that bundle it. Because the library is widely embedded, the practical exposure is broad.

  • 7.8 CVSS 3.1 High
  • EPSS 88%, top 0.2%
  • CWE-122, Heap-based buffer overflow
  • CWE-787, Out-of-bounds write

Description

Libarchive Remote Code Execution Vulnerability

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: medium.

High priorityCVSS 7.8 with high confidentiality, integrity and availability impact, broad embedded-library exposure, and a very high EPSS score justify high priority despite no KEV listing.

What it is

Libarchive contains a heap-based buffer overflow (CWE-122) and out-of-bounds write (CWE-787) that can lead to remote code execution. The flaw is reachable when processing a crafted archive, and it affects libarchive itself plus Fedora and several Windows 11 and Windows Server 2022 releases that bundle it. Because the library is widely embedded, the practical exposure is broad.

Impact

An attacker who gets a victim to open a malicious archive can corrupt heap memory and potentially execute code in the context of the process using libarchive. That can mean full compromise of confidentiality, integrity and availability for the affected application.

Attack surface

The CVSS vector is local (AV:L) with user interaction required (UI:R) and no privileges required (PR:N), so the attacker must deliver a crafted archive that the victim opens with a libarchive-based tool. No authentication is needed, but the victim must take the action of processing the file.

Exploitation

CISA KEV does not list this CVE, but EPSS is very high (0.848 probability, 99.7th percentile), indicating strong predicted exploitation activity. The references include patch commits and release notes, not public exploit code.

What to do

  • Update libarchive to version 3.7.4 or later, and apply the corresponding Microsoft, Fedora and Nixpkgs patches.
  • Inventory applications and services that embed libarchive and confirm each is rebuilt against the fixed library.
  • Restrict processing of untrusted archives to sandboxed or low-privilege processes.
  • Warn users not to open archives from untrusted sources until all dependent software is patched.

Detection

  • Monitor for crashes or abnormal process terminations in applications that parse archives.
  • Hunt for archive files delivered via email or web downloads that are subsequently opened by libarchive-based tools.
  • Check endpoint logs for heap corruption indicators or unexpected child processes spawned by archive-handling applications.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

5 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

8.8CVE-2023-36025Windows SmartScreen security feature bypassCVE-2023-36025 is a security feature bypass in Microsoft Windows SmartScreen, the component that warns users before running files downloaded from the…KEVEPSS 90%analysed8.8CVE-2023-21674Windows ALPC use-after-free privilege escalationCVE-2023-21674 is a use-after-free (CWE-416) in the Windows Advanced Local Procedure Call (ALPC) subsystem that allows elevation of privilege. It aff…KEVEPSS 34%analysed8.8CVE-2022-41128Windows Scripting Languages out-of-bounds write allows remote code executionCVE-2022-41128 is an out-of-bounds write (CWE-787) in Windows Scripting Languages that leads to remote code execution. Microsoft rates it 8.8 HIGH wi…KEVEPSS 25%analysed8.8CVE-2021-34527Windows Print Spooler privileged file operation RCE (PrintNightmare)The Windows Print Spooler service improperly performs privileged file operations, allowing an attacker to execute arbitrary code as SYSTEM. This is t…KEVEPSS 100%analysed7.8CVE-2024-21338Windows Kernel IOCTL access control flaw allows privilege escalationCVE-2024-21338 is an elevation of privilege vulnerability in the Windows kernel caused by an exposed IOCTL with insufficient access control (CWE-822)…KEVEPSS 62%analysed7.8CVE-2023-36424Windows Common Log File System Driver out-of-bounds read privilege escalationCVE-2023-36424 is an out-of-bounds read (CWE-125) in the Windows Common Log File System (CLFS) driver that allows elevation of privilege. It affects …KEVEPSS 12%analysed7.8CVE-2023-36036Windows Cloud Files Mini Filter Driver heap overflow privilege escalationCVE-2023-36036 is a heap-based buffer overflow and out-of-bounds write in the Windows Cloud Files Mini Filter Driver that allows a local user to elev…KEVEPSS 10%analysed7.8CVE-2023-36033Windows DWM Core Library elevation of privilege via memory corruptionCVE-2023-36033 is an elevation of privilege flaw in the Windows Desktop Window Manager (DWM) Core Library, classified as a memory buffer overflow (CW…KEVEPSS 11%analysed

Source: NIST National Vulnerability Database (record CVE-2024-26256), CISA KEV, FIRST EPSS (scores of 2026-12-04). This page is refreshed as NVD updates the record.