Every CVE Search/ Get API key

CVE-2024-20696

Windows libarchive Remote Code Execution Vulnerability

7.3 HighPublic exploitFix available

Windows libarchive Remote Code Execution Vulnerability

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
Required

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

3.15%Up 3.1 points since Jan 18, 2024
90%50%10%1%

What each source reports

CVE List Score used 7.3

Windows libarchive Remote Code Execution Vulnerability

Windows libarchive Remote Code Execution Vulnerability

Record
CVE-2024-20696
CVSS 3.1
7.3 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
Weakness
CWE-122
Updated
2026-11-02
EUVDEUVD-2024-18411 7.3

Windows libarchive Remote Code Execution Vulnerability

Record
EUVD-2024-18411
CVSS 3.1
7.3 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
Updated
2026-11-02
GitHub AdvisoriesGHSA-g5xc-jv8h-2232 7.3

Windows Libarchive Remote Code Execution Vulnerability

Windows Libarchive Remote Code Execution Vulnerability

Record
GHSA-g5xc-jv8h-2232
CVSS 3.1
7.3 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-122
Updated
2026-11-02
NVD 7.3

Windows libarchive Remote Code Execution Vulnerability

Record
CVE-2024-20696
CVSS 3.1
7.3 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Weakness
CWE-122
Updated
2026-11-02
OSVALPINE-CVE-2024-20696 7.3

Windows libarchive Remote Code Execution Vulnerability

Record
ALPINE-CVE-2024-20696
CVSS 3.1
7.3 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSV 7.3

Windows libarchive Remote Code Execution Vulnerability

Record
CVE-2024-20696
CVSS 3.1
7.3 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
Show 16 moreShow less
OSVDEBIAN-CVE-2024-20696 7.3

Windows libarchive Remote Code Execution Vulnerability

Record
DEBIAN-CVE-2024-20696
CVSS 3.1
7.3 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2024-1715 7.3

libarchive security update

is an open-source BSD-licensed C programming library that provides streaming access to a variety of different archive formats, including tar, cpio, pax, zip, and ISO9660 images. The distribution also includes bsdtar and bsdcpio, full-featured implementations of tar and cpio that use .

Security Fix(es):

Windows Libarchive Remote Code Execution Vulnerability(CVE-2024-20696)

Record
OESA-2024-1715
CVSS 3.1
7.3 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2024-20696 7.3

Windows libarchive Remote Code Execution Vulnerability

Record
UBUNTU-CVE-2024-20696
CVSS 3.1
7.3 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVCLSA-2026-1775647149 No score

libarchive: Fix of CVE-2024-20696

  • CVE-2024-20696: fix heap buffer overflow via negative copy length in RAR4 reader
Record
CLSA-2026-1775647149
Updated
2026-11-02
OSVCLSA-2026-1775689506 No score

libarchive: Fix of CVE-2024-20696

  • CVE-2024-20696: fix heap buffer overflow via negative copy length in RAR4 reader
Record
CLSA-2026-1775689506
Updated
2026-11-02
OSVCLSA-2026-1787908647 No score

Fix of 8 CVEs

  • SECURITY UPDATE: ACLs applied to a symbolic link modified the link target instead
    • debian/patches/CVE-2021-23177.patch: ACLs applied to a symbolic link modified the link target instead
    • CVE-2021-23177
  • SECURITY UPDATE: symbolic links followed when changing modes, times, ACLs and flags while extracting an archive
    • debian/patches/CVE-2021-31566.patch: symbolic links followed when changing modes, times, ACLs and flags while extracting an archive
    • CVE-2021-31566
  • SECURITY UPDATE: NULL pointer dereference when calloc() fails while allocating a write filter
    • debian/patches/CVE-2022-36227.patch: NULL pointer dereference when calloc() fails while allocating a write filter
    • CVE-2022-36227
  • SECURITY UPDATE: integer overflow in the RAR4 reader allowing an oversized memcpy in copy_from_lzss_window()
    • debian/patches/CVE-2024-20696.patch: integer overflow in the RAR4 reader allowing an oversized memcpy in copy_from_lzss_window()
    • CVE-2024-20696
  • SECURITY UPDATE: LZSS window size mismatch after a PPMd block in the RAR4 reader allowing an out-of-bounds read
    • debian/patches/CVE-2026-4424.patch: LZSS window size mismatch after a PPMd block in the RAR4 reader allowing an out-of-bounds read
    • CVE-2026-4424
  • SECURITY UPDATE: unvalidated zisofs block size exponent in the ISO9660 Rock Ridge ZF parser
    • debian/patches/CVE-2026-5121.patch: unvalidated zisofs block size exponent in the ISO9660 Rock Ridge ZF parser
    • CVE-2026-5121
  • SECURITY UPDATE: double free in the RAR4 reader with over 4 billion nodes
    • debian/patches/CVE-2025-5914.patch: double free in the RAR4 reader with over 4 billion nodes
    • CVE-2025-5914
  • SECURITY UPDATE: unchecked strftime() return and localtime() NULL dereference in the bsdtar verbose listing
    • debian/patches/CVE-2025-25724.patch: check the strftime() result so a custom locale whose expansion exceeds the 100-byte buffer cannot leave stale content in it, and guard localtime() returning NULL; backports upstream c9bc934e and ecce4674
    • CVE-2025-25724
  • Guard the RAR seek cursor before the previous-block lookup
    • debian/patches/rar-guard-seek-cursor.patch: reject a zero cursor in archive_read_format_rar_seek_data() before reading dbo[cursor - 1], which would otherwise underflow; backports upstream e548c994
  • Check the ISO9660 ZF entry length before reading its data bytes
    • debian/patches/iso9660-zf-length-check.patch: test data_length before data[0]/data[1] in parse_rockridge_ZF1(), so a zero-length ZF entry cannot be read past the SUSP region bound; backports upstream a9a73c0e
Record
CLSA-2026-1787908647
Updated
2026-11-02
OSVMGASA-2024-0363 No score

Updated libarchive packages fix security vulnerability

A heap-based out-of-bounds write vulnerability was discovered in libarchive, a multi-format archive and compression library, which may result in the execution of arbitrary code if a specially crafted RAR archive is processed. (CVE-2024-20696)

Record
MGASA-2024-0363
Updated
2026-11-02
OSVopenSUSE-SU-2024:14378-1 No score

bsdtar-3.7.6-1.1 on GA media

These are all security issues fixed in the bsdtar-3.7.6-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:14378-1
Updated
2026-11-02
OSVSUSE-SU-2024:2081-1 No score

Security update for libarchive

This update for libarchive fixes the following issues:

  • CVE-2024-20696: Fixed heap based out-of-bounds write (bsc#1225971).
Record
SUSE-SU-2024:2081-1
Updated
2026-11-02
OSVSUSE-SU-2024:2082-1 No score

Security update for libarchive

This update for libarchive fixes the following issues:

  • CVE-2024-20696: Fixed heap based out-of-bounds write (bsc#1225971).
Record
SUSE-SU-2024:2082-1
Updated
2026-11-02
OSVSUSE-SU-2024:2083-1 No score

Security update for libarchive

This update for libarchive fixes the following issues:

  • CVE-2024-20697: Fixed Out of bounds Remote Code Execution Vulnerability (bsc#1225972).
  • CVE-2024-20696: Fixed heap based out-of-bounds write (bsc#1225971).
Record
SUSE-SU-2024:2083-1
Updated
2026-11-02
OSVSUSE-SU-2024:2171-1 No score

Security update for libarchive

This update for libarchive fixes the following issues:

  • CVE-2024-20696: Fixed heap based out-of-bounds write (bsc#1225971).
Record
SUSE-SU-2024:2171-1
Updated
2026-11-02
OSVSUSE-SU-2024:2171-2 No score

Security update for libarchive

This update for libarchive fixes the following issues:

  • CVE-2024-20696: Fixed heap based out-of-bounds write (bsc#1225971).
Record
SUSE-SU-2024:2171-2
Updated
2026-11-02
OSVSUSE-SU-2025:20050-1 No score

Security update for libarchive

This update for libarchive fixes the following issues:

  • CVE-2024-20696: Fixed out-of-bounds access in in copy_from_lzss_window_to_unp() (bsc#1225971)
  • CVE-2024-20697: Fixed heap based buffer overflow in rar e8 filter (bsc#1225972)
Record
SUSE-SU-2025:20050-1
Updated
2026-11-02
OSVSUSE-SU-2025:20257-1 No score

Security update for libarchive

This update for libarchive fixes the following issues:

  • CVE-2025-1632: Fixed null pointer dereference in bsdunzip.c (bsc#1237606)
  • CVE-2025-25724: Fixed Buffer Overflow vulnerability in libarchive (bsc#1238610)
  • CVE-2024-48958: Fixed out-of-bounds access in execute_filter_delta (bsc#1231624)
  • CVE-2024-20697: Fixed Out of bounds Remote Code Execution Vulnerability (also attributed CVE-2024-26256) (CVE-2024-26256, bsc#1225972)
  • CVE-2024-48957: Fixed out-of-bounds access in execute_filter_audio (bsc#1231544)
  • CVE-2024-20696: Fixed heap based out-of-bounds write (bsc#1225971)
Record
SUSE-SU-2025:20257-1
Updated
2026-11-02
OSVUSN-7087-1 No score

libarchive vulnerability

It was discovered that libarchive incorrectly handled certain RAR archive files. If a user or automated system were tricked into processing a specially crafted RAR archive, an attacker could use this issue to cause libarchive to crash, resulting in a denial of service, or possibly execute arbitrary code.

Record
USN-7087-1
Updated
2026-11-02

Affected products

Show 6 moreShow less

Affected packages

Affected packages
PackageAffectedFixed
libarchive
Alpine:v3.17
before 3.7.5-r0
3.7.5-r0
libarchive
Alpine:v3.18
before 3.7.5-r0
3.7.5-r0
libarchive
Alpine:v3.19
before 3.7.5-r0
3.7.5-r0
libarchive
Alpine:v3.20
before 3.7.5-r0
3.7.5-r0
libarchive
Alpine:v3.21
before 3.7.5-r0
3.7.5-r0
libarchive
Alpine:v3.22
before 3.7.5-r0
3.7.5-r0
libarchive
Alpine:v3.23
before 3.7.5-r0
3.7.5-r0
libarchive
Alpine:v3.24
before 3.7.5-r0
3.7.5-r0
bsdcat
TuxCare:AlmaLinux:9.2
before 3.5.3-6.el9_2.tuxcare.els3
3.5.3-6.el9_2.tuxcare.els3
bsdcpio
TuxCare:AlmaLinux:9.2
before 3.5.3-6.el9_2.tuxcare.els3
3.5.3-6.el9_2.tuxcare.els3
Show 58 moreShow less
Affected packages
PackageAffectedFixed
bsdtar
TuxCare:AlmaLinux:9.2
before 3.5.3-6.el9_2.tuxcare.els3
3.5.3-6.el9_2.tuxcare.els3
libarchive
TuxCare:AlmaLinux:9.2
before 3.5.3-6.el9_2.tuxcare.els3
3.5.3-6.el9_2.tuxcare.els3
libarchive-devel
TuxCare:AlmaLinux:9.2
before 3.5.3-6.el9_2.tuxcare.els3
3.5.3-6.el9_2.tuxcare.els3
bsdcat
TuxCare:AlmaLinux:9.6
before 3.5.3-6.el9_6.tuxcare.els3
3.5.3-6.el9_6.tuxcare.els3
bsdcpio
TuxCare:AlmaLinux:9.6
before 3.5.3-6.el9_6.tuxcare.els3
3.5.3-6.el9_6.tuxcare.els3
bsdtar
TuxCare:AlmaLinux:9.6
before 3.5.3-6.el9_6.tuxcare.els3
3.5.3-6.el9_6.tuxcare.els3
libarchive
TuxCare:AlmaLinux:9.6
before 3.5.3-6.el9_6.tuxcare.els3
3.5.3-6.el9_6.tuxcare.els3
libarchive-devel
TuxCare:AlmaLinux:9.6
before 3.5.3-6.el9_6.tuxcare.els3
3.5.3-6.el9_6.tuxcare.els3
bsdcpio
TuxCare:Ubuntu:18.04
From an advisory covering 8 CVEs
before 3.2.2-3.1ubuntu0.7+tuxcare.els1
3.2.2-3.1ubuntu0.7+tuxcare.els1
bsdtar
TuxCare:Ubuntu:18.04
From an advisory covering 8 CVEs
before 3.2.2-3.1ubuntu0.7+tuxcare.els1
3.2.2-3.1ubuntu0.7+tuxcare.els1
libarchive-dev
TuxCare:Ubuntu:18.04
From an advisory covering 8 CVEs
before 3.2.2-3.1ubuntu0.7+tuxcare.els1
3.2.2-3.1ubuntu0.7+tuxcare.els1
libarchive-tools
TuxCare:Ubuntu:18.04
From an advisory covering 8 CVEs
before 3.2.2-3.1ubuntu0.7+tuxcare.els1
3.2.2-3.1ubuntu0.7+tuxcare.els1
libarchive13
TuxCare:Ubuntu:18.04
From an advisory covering 8 CVEs
before 3.2.2-3.1ubuntu0.7+tuxcare.els1
3.2.2-3.1ubuntu0.7+tuxcare.els1
libarchive
Debian:12
before 3.6.2-1+deb12u2, plus listed versions
3.6.2-13.6.2-1+deb12u1
3.6.2-1+deb12u2
libarchive
Debian:13
before 3.7.4-1.1
3.7.4-1.1
libarchive
Debian:14
before 3.7.4-1.1
3.7.4-1.1
libarchive
Debian:11
From an advisory covering 4 CVEs
before 3.4.3-2+deb11u2, plus listed versions
3.4.3-23.4.3-2+deb11u1
3.4.3-2+deb11u2
libarchive
Mageia:9
before 3.6.2-5.3.mga9
3.6.2-5.3.mga9
libarchive
openEuler:20.03-LTS-SP4
before 3.4.3-8.oe2003sp4
3.4.3-8.oe2003sp4
libarchive
openEuler:22.03-LTS-SP1
before 3.5.2-7.oe2203sp1
3.5.2-7.oe2203sp1
libarchive
openEuler:22.03-LTS-SP3
before 3.5.2-7.oe2203sp3
3.5.2-7.oe2203sp3
libarchive
openEuler:24.03-LTS
before 3.7.1-3.oe2403
3.7.1-3.oe2403
libarchive
SUSE:Linux Enterprise Software Development Kit 12 SP5
before 3.3.3-32.11.1
3.3.3-32.11.1
libarchive
SUSE:Linux Enterprise Server 12 SP5
before 3.3.3-32.11.1
3.3.3-32.11.1
libarchive
SUSE:Linux Enterprise Server for SAP Applications 12 SP5
before 3.3.3-32.11.1
3.3.3-32.11.1
libarchive
SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS
before 3.4.2-150200.4.18.1
3.4.2-150200.4.18.1
libarchive
SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS
before 3.4.2-150200.4.18.1
3.4.2-150200.4.18.1
libarchive
SUSE:Linux Enterprise Server 15 SP2-LTSS
before 3.4.2-150200.4.18.1
3.4.2-150200.4.18.1
libarchive
SUSE:Linux Enterprise Server 15 SP3-LTSS
before 3.4.2-150200.4.18.1
3.4.2-150200.4.18.1
libarchive
SUSE:Linux Enterprise Server for SAP Applications 15 SP2
before 3.4.2-150200.4.18.1
3.4.2-150200.4.18.1
libarchive
SUSE:Linux Enterprise Server for SAP Applications 15 SP3
before 3.4.2-150200.4.18.1
3.4.2-150200.4.18.1
libarchive
SUSE:Enterprise Storage 7.1
before 3.4.2-150200.4.18.1
3.4.2-150200.4.18.1
libarchive
SUSE:Linux Enterprise Module for Basesystem 15 SP6
From an advisory covering 2 CVEs
before 3.7.2-150600.3.3.1
3.7.2-150600.3.3.1
libarchive
SUSE:Linux Enterprise Module for Development Tools 15 SP6
From an advisory covering 2 CVEs
before 3.7.2-150600.3.3.1
3.7.2-150600.3.3.1
libarchive
openSUSE:Leap 15.6
From an advisory covering 2 CVEs
before 3.7.2-150600.3.3.1
3.7.2-150600.3.3.1
libarchive
SUSE:Linux Enterprise Micro 5.3
before 3.5.1-150400.3.15.1
3.5.1-150400.3.15.1
libarchive
SUSE:Linux Enterprise Micro 5.4
before 3.5.1-150400.3.15.1
3.5.1-150400.3.15.1
libarchive
SUSE:Linux Enterprise Micro 5.5
before 3.5.1-150400.3.15.1
3.5.1-150400.3.15.1
libarchive
SUSE:Linux Enterprise Module for Basesystem 15 SP5
before 3.5.1-150400.3.15.1
3.5.1-150400.3.15.1
libarchive
SUSE:Linux Enterprise Module for Development Tools 15 SP5
before 3.5.1-150400.3.15.1
3.5.1-150400.3.15.1
libarchive
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS
before 3.5.1-150400.3.15.1
3.5.1-150400.3.15.1
libarchive
SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS
before 3.5.1-150400.3.15.1
3.5.1-150400.3.15.1
libarchive
SUSE:Linux Enterprise Server 15 SP4-LTSS
before 3.5.1-150400.3.15.1
3.5.1-150400.3.15.1
libarchive
SUSE:Linux Enterprise Server for SAP Applications 15 SP4
before 3.5.1-150400.3.15.1
3.5.1-150400.3.15.1
libarchive
SUSE:Manager Proxy 4.3
before 3.5.1-150400.3.15.1
3.5.1-150400.3.15.1
libarchive
SUSE:Manager Server 4.3
before 3.5.1-150400.3.15.1
3.5.1-150400.3.15.1
libarchive
openSUSE:Leap Micro 5.3
before 3.5.1-150400.3.15.1
3.5.1-150400.3.15.1
libarchive
openSUSE:Leap Micro 5.4
before 3.5.1-150400.3.15.1
3.5.1-150400.3.15.1
libarchive
openSUSE:Leap 15.5
before 3.5.1-150400.3.15.1
3.5.1-150400.3.15.1
libarchive
SUSE:Linux Micro 6.0
From an advisory covering 2 CVEs
before 3.6.2-3.1
3.6.2-3.1
libarchive
SUSE:Linux Micro 6.1
From an advisory covering 7 CVEs
before 3.7.4-slfo.1.1_2.1
3.7.4-slfo.1.1_2.1
libarchive
Ubuntu:Pro:14.04:LTS
before 3.1.2-7ubuntu2.8+esm4, plus listed versions
3.1.2-5ubuntu13.1.2-7ubuntu13.1.2-7ubuntu23.1.2-7ubuntu2.13.1.2-7ubuntu2.2
Show 7 moreShow less
3.1.2-7ubuntu2.33.1.2-7ubuntu2.43.1.2-7ubuntu2.63.1.2-7ubuntu2.73.1.2-7ubuntu2.83.1.2-7ubuntu2.8+esm13.1.2-7ubuntu2.8+esm3
3.1.2-7ubuntu2.8+esm4
libarchive
Ubuntu:Pro:16.04:LTS
before 3.1.2-11ubuntu0.16.04.8+esm2, plus listed versions
3.1.2-11build13.1.2-11ubuntu0.16.04.13.1.2-11ubuntu0.16.04.23.1.2-11ubuntu0.16.04.33.1.2-11ubuntu0.16.04.4
Show 5 moreShow less
3.1.2-11ubuntu0.16.04.53.1.2-11ubuntu0.16.04.63.1.2-11ubuntu0.16.04.73.1.2-11ubuntu0.16.04.83.1.2-11ubuntu0.16.04.8+esm1
3.1.2-11ubuntu0.16.04.8+esm2
libarchive
Ubuntu:Pro:18.04:LTS
before 3.2.2-3.1ubuntu0.7+esm2, plus listed versions
3.2.2-3.13.2.2-3.1ubuntu0.13.2.2-3.1ubuntu0.23.2.2-3.1ubuntu0.33.2.2-3.1ubuntu0.4
Show 4 moreShow less
3.2.2-3.1ubuntu0.53.2.2-3.1ubuntu0.63.2.2-3.1ubuntu0.73.2.2-3.1ubuntu0.7+esm1
3.2.2-3.1ubuntu0.7+esm2
libarchive
Ubuntu:20.04:LTS
before 3.4.0-2ubuntu1.4, plus listed versions
3.4.0-13.4.0-1build13.4.0-1ubuntu23.4.0-2ubuntu13.4.0-2ubuntu1.13.4.0-2ubuntu1.23.4.0-2ubuntu1.3
3.4.0-2ubuntu1.4
libarchive
Ubuntu:22.04:LTS
before 3.6.0-1ubuntu1.3, plus listed versions
3.4.3-23.4.3-2build13.5.2-13.5.2-1ubuntu13.6.0-1ubuntu13.6.0-1ubuntu1.13.6.0-1ubuntu1.2
3.6.0-1ubuntu1.3
libarchive
Ubuntu:24.04:LTS
before 3.7.2-2ubuntu0.3, plus listed versions
3.6.2-1ubuntu13.7.2-1ubuntu13.7.2-1ubuntu23.7.2-1.1ubuntu23.7.2-23.7.2-2ubuntu0.13.7.2-2ubuntu0.2
3.7.2-2ubuntu0.3
libarchive
openSUSE:Tumbleweed
before 3.7.6-1.1
3.7.6-1.1

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubclearbluejar/CVE-2024-206962024-03-08

History

History
RecordedChangedSources
affected, facts
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2024-20696 is a high vulnerability (CVSS 7.3) in Microsoft Windows 10 Version 1809, published January 9, 2024. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 3.15%, the 88th percentile. Fixed in libarchive 3.7.5-r0.

References

Show 42 moreShow less
MoveEnter Open