← Vulnerability feed

Vulnerability record · CVE-2024-20697 · published 9 January 2024

CVE-2024-20697: Windows libarchive heap buffer overflow enables remote code execution

Microsoft · Windows 11 22h2

CVE-2024-20697 is a heap-based buffer overflow in Windows libarchive, the library Windows uses to handle archive formats. A crafted archive can corrupt heap memory and lead to code execution in the context of the affected process. Microsoft rates it high severity, and the flaw affects Windows 11 22H2/23H2 and Windows Server 2022 23H2.

7.3 CVSS 3.1 High EPSS 72% · top 0.6% CWE-122 · Heap-based buffer overflow
7.3CVSS 3.1 base score
72%EPSS exploitation probability, 30 days
NoNot in CISA KEV
3Affected product versions listed by NVD
6References
17 Jun 2026Last modified by NVD

Description

Windows libarchive Remote Code Execution Vulnerability

CVSS:3.1/AV:L/AC:L/PR:L/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 priorityHigh CVSS (7.3) and very high EPSS (99.4th percentile) indicate meaningful risk, though local access and user interaction reduce ease of exploitation.

What it is

CVE-2024-20697 is a heap-based buffer overflow in Windows libarchive, the library Windows uses to handle archive formats. A crafted archive can corrupt heap memory and lead to code execution in the context of the affected process. Microsoft rates it high severity, and the flaw affects Windows 11 22H2/23H2 and Windows Server 2022 23H2.

Impact

An attacker who gets a victim to open a malicious archive can execute code with the privileges of the process handling it, giving full compromise of confidentiality, integrity and availability within that context.

Attack surface

The CVSS vector is local (AV:L) with low privileges (PR:L) and required user interaction (UI:R), so the attacker must already have a foothold on the host and convince a user to open a crafted archive. It is not remotely reachable without that local access and user action.

Exploitation

Not listed in CISA KEV and no ransomware association is documented, but EPSS is very high at 0.72163 (99.4th percentile), indicating elevated predicted exploitation activity. References include a vendor patch and a Zero Day Initiative write-up, but no public exploit is confirmed in the record.

What to do

  • Apply the Microsoft update for CVE-2024-20697 on all affected Windows 11 22H2/23H2 and Windows Server 2022 23H2 systems.
  • Restrict which users and processes can open untrusted archive files, and block archive attachments at email and web gateways where feasible.
  • Run archive-handling and extraction tasks with least privilege and in sandboxed or isolated contexts.
  • Monitor for and remove unnecessary software that parses archives using the affected libarchive component.

Detection

  • Alert on processes that load libarchive-related DLLs and then spawn child processes or make unexpected network connections.
  • Hunt for archive files written to disk shortly before crashes or anomalous process behavior in Windows Error Reporting and endpoint telemetry.
  • Correlate user opening of archive attachments from email or downloads with subsequent suspicious process creation on the same host.

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

Affected products

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

References

Track CVE-2024-20697 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

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

9.8CVE-2026-33824Double free in Windows IKE Extension enables remote code executionA double free flaw (CWE-415) exists in the Windows IKE Extension, reachable over the network by an unauthenticated attacker. Successful exploitation …KEVEPSS 1.6%analysed9.8CVE-2025-59287Microsoft WSUS deserialization flaw allows unauthenticated remote code executionWindows Server Update Service (WSUS) deserializes untrusted data, letting an unauthenticated network attacker run code on the server. The flaw is rat…KEVEPSS 100%analysed8.8CVE-2026-21510Windows Shell protection mechanism failure allows security feature bypassWindows Shell contains a protection mechanism failure (CWE-693) that lets an unauthorized attacker bypass a security feature over a network. The flaw…KEVEPSS 24%analysed8.8CVE-2026-21513Microsoft MSHTML security feature bypass on WindowsCVE-2026-21513 is a protection mechanism failure (CWE-693) in the Microsoft MSHTML Framework that lets an unauthorized attacker bypass a security fea…KEVEPSS 16%analysed8.8CVE-2025-33073Windows SMB improper access control allows privilege elevationWindows SMB contains an improper access control flaw (CWE-284) that lets an authorized attacker elevate privileges over the network. Microsoft rates …KEVEPSS 83%analysed8.8CVE-2025-33053Microsoft Windows WebDAV Internet Shortcut File Path Control RCEWindows Internet Shortcut (.url) files allow external control of a file name or path, which an unauthorized attacker can abuse to execute code over a…KEVEPSS 87%analysed8.8CVE-2024-49039Windows Task Scheduler elevation of privilege via improper authenticationCVE-2024-49039 is an elevation of privilege flaw in the Windows Task Scheduler, classified as improper authentication (CWE-287). A local attacker wit…KEVEPSS 14%analysed8.8CVE-2024-43461Windows MSHTML Platform spoofing flaw enables code executionCVE-2024-43461 is a spoofing vulnerability in the Windows MSHTML platform, the legacy rendering engine still reachable through Windows components. Th…KEVEPSS 54%analysed

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