Skip to content
OpenAdvisories
High · 7.8 Public exploit CVE-2024-11477 EUVD-2024-34129GHSA-882h-ff2x-f86q

7-Zip Zstandard Decompression Integer Underflow Remote Code Execution Vulnerability

Published Nov 22, 2024 · Updated Feb 15, 2025 · Assigned by zdi

Description

7-Zip Zstandard Decompression Integer Underflow Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of 7-Zip. Interaction with this library is required to exploit this vulnerability but attack vectors may vary depending on the implementation.

The specific flaw exists within the implementation of Zstandard decompression. The issue results from the lack of proper validation of user-supplied data, which can result in an integer underflow before writing to memory. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-24346.

Affected products

VendorProductAffectedFixed
7-Zip 7-Zip 24.06 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 7zip 24.07+dfsg-1 —
Debian 13 7zip 24.07+dfsg-1 —
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS p7zip No fix yet —
Ubuntu 20.04 LTS p7zip No fix yet —
Ubuntu 18.04 LTS p7zip No fix yet —
Ubuntu 16.04 LTS p7zip No fix yet —
Ubuntu 14.04 LTS p7zip No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed libqt5-qtwebengine 5.15.19-1.1 openSUSE-SU-2025:15531-1
ReleasePackageFixed inAdvisory
Alpine v3.24 qt6-qtwebengine 6.8.2-r3 —
Alpine v3.23 qt5-qtwebengine 5.15.17-r10 —
Alpine v3.23 qt6-qtwebengine 6.8.2-r3 —
Alpine v3.22 qt5-qtwebengine 5.15.17-r10 —
Alpine v3.22 qt6-qtwebengine 6.8.2-r3 —
Alpine v3.21 qt5-qtwebengine 5.15.17-r7 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 4

References