Vulnerability · Published Nov 22, 2024 · Assigned by zdi

CVE-2024-114777-Zip Zstandard Decompression Integer Underflow Remote Code Execution Vulnerability

High 7.8

In plain English

A high-severity security flaw in 7-Zip from 7-Zip. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 22.4% (higher than 98% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.0)7.8High
Exploit odds (30 days)22.4%top 2.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack tooling1Public PoC

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.21qt5-qtwebengine5.15.17-r7ALPINE-CVE-2024-11477
Alpine:v3.22qt5-qtwebengine5.15.17-r10ALPINE-CVE-2024-11477
Alpine:v3.23qt5-qtwebengine5.15.17-r10ALPINE-CVE-2024-11477
Alpine:v3.22qt6-qtwebengine6.8.2-r3ALPINE-CVE-2024-11477
Alpine:v3.23qt6-qtwebengine6.8.2-r3ALPINE-CVE-2024-11477
Alpine:v3.24qt6-qtwebengine6.8.2-r3ALPINE-CVE-2024-11477
Debian:137zip24.07+dfsg-1DEBIAN-CVE-2024-11477
Debian:147zip24.07+dfsg-1DEBIAN-CVE-2024-11477
Ubuntu:22.04:LTSp7zipno fix listedUBUNTU-CVE-2024-11477

Affected products (as reported)

VendorProductVersions
7-Zip 7-Zip 24.06

Weakness: CWE-191 · Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References