Skip to content

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

HighCVSS 7.8 EPSS 22.4%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total
Technology
UbuntuDebian

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.

Upgrade path

15 packages: 10 fixed, 5 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/p7zip(Ubuntu 14.04) = 9.20.1~dfsg.1-4; = 9.20.1~dfsg.1-4+deb7u1build0.14.04.1; = 9.20.1~dfsg.1-4+deb7u2build0.14.04.1; = 9.20.1~dfsg.1-4+deb7u3build0.14.04.1 +1 more No fix listed No fix yet
ubuntu/p7zip(Ubuntu 16.04) = 9.20.1~dfsg.1-4.2; = 9.20.1~dfsg.1-4.2ubuntu0.1; All versions No fix listed No fix yet
ubuntu/p7zip(Ubuntu 18.04) = 16.02+dfsg-4; = 16.02+dfsg-5; = 16.02+dfsg-6; All versions No fix listed No fix yet
ubuntu/p7zip(Ubuntu 20.04) = 16.02+dfsg-7; = 16.02+dfsg-7build1; All versions No fix listed No fix yet
ubuntu/p7zip(Ubuntu 22.04) = 16.02+dfsg-8; All versions No fix listed No fix yet
7-Zip < 24.07; = 24.06 24.07 Fixed
7-Zip 7zip >= 24.06, < 24.07 24.07 Fixed
alpine/qt5-qtwebengine(Alpine v3.21) < 5.15.17-r7 5.15.17-r7 Fixed
alpine/qt5-qtwebengine(Alpine v3.22) < 5.15.17-r10 5.15.17-r10 Fixed
alpine/qt5-qtwebengine(Alpine v3.23) < 5.15.17-r10 5.15.17-r10 Fixed
alpine/qt6-qtwebengine(Alpine v3.22) < 6.8.2-r3 6.8.2-r3 Fixed
alpine/qt6-qtwebengine(Alpine v3.23) < 6.8.2-r3 6.8.2-r3 Fixed
alpine/qt6-qtwebengine(Alpine v3.24) < 6.8.2-r3 6.8.2-r3 Fixed
debian/7zip(Debian 13) < 24.07+dfsg-1 24.07+dfsg-1 Fixed
debian/7zip(Debian 14) < 24.07+dfsg-1 24.07+dfsg-1 Fixed

Affected products

ProductAffected versionsFixed in
debian/7zip(Debian:13) < 24.07+dfsg-1 24.07+dfsg-1
debian/7zip(Debian:14) < 24.07+dfsg-1 24.07+dfsg-1
ubuntu/p7zip(Ubuntu:22.04) All versions No fix listed
7-Zip = 24.06 No fix listed
7-Zip 7zip >= 24.06, < 24.07 24.07
alpine/qt5-qtwebengine(Alpine:v3.21) < 5.15.17-r7 5.15.17-r7
alpine/qt5-qtwebengine(Alpine:v3.22) < 5.15.17-r10 5.15.17-r10
alpine/qt5-qtwebengine(Alpine:v3.23) < 5.15.17-r10 5.15.17-r10
alpine/qt6-qtwebengine(Alpine:v3.22) < 6.8.2-r3 6.8.2-r3
alpine/qt6-qtwebengine(Alpine:v3.23) < 6.8.2-r3 6.8.2-r3
alpine/qt6-qtwebengine(Alpine:v3.24) < 6.8.2-r3 6.8.2-r3
7-Zip < 24.07 24.07
ubuntu/p7zip(Ubuntu:14.04) All versions No fix listed
ubuntu/p7zip(Ubuntu:14.04) = 9.20.1~dfsg.1-4 No fix listed
ubuntu/p7zip(Ubuntu:14.04) = 9.20.1~dfsg.1-4+deb7u1build0.14.04.1 No fix listed
ubuntu/p7zip(Ubuntu:14.04) = 9.20.1~dfsg.1-4+deb7u2build0.14.04.1 No fix listed
ubuntu/p7zip(Ubuntu:14.04) = 9.20.1~dfsg.1-4+deb7u3build0.14.04.1 No fix listed
ubuntu/p7zip(Ubuntu:16.04) All versions No fix listed
ubuntu/p7zip(Ubuntu:16.04) = 9.20.1~dfsg.1-4.2 No fix listed
ubuntu/p7zip(Ubuntu:16.04) = 9.20.1~dfsg.1-4.2ubuntu0.1 No fix listed
ubuntu/p7zip(Ubuntu:18.04) All versions No fix listed
ubuntu/p7zip(Ubuntu:18.04) = 16.02+dfsg-4 No fix listed
ubuntu/p7zip(Ubuntu:18.04) = 16.02+dfsg-5 No fix listed
ubuntu/p7zip(Ubuntu:18.04) = 16.02+dfsg-6 No fix listed
ubuntu/p7zip(Ubuntu:20.04) All versions No fix listed
Show 3 more
ProductAffected versionsFixed in
ubuntu/p7zip(Ubuntu:20.04) = 16.02+dfsg-7 No fix listed
ubuntu/p7zip(Ubuntu:20.04) = 16.02+dfsg-7build1 No fix listed
ubuntu/p7zip(Ubuntu:22.04) = 16.02+dfsg-8 No fix listed

References