--- licence_title: Creative Commons Attribution 4.0 International (CC-BY 4.0) licence_link: https://creativecommons.org/licenses/by/4.0/ licence_restrictions: https://cert.europa.eu/legal-notice licence_author: CERT-EU, The Cybersecurity Service for the European Union institutions, bodies, offices and agencies title: 'Critical Vulnerability in 7-Zip' number: '2024-118' version: '1.0' original_date: '2024-11-20' date: '2024-11-25' --- _History:_ * _25/11/2024 --- v1.0 -- Initial publication_ # Summary A severe security vulnerability has been discovered in 7-Zip, the popular file compression utility, allowing remote attackers to execute malicious code through specially crafted archives. The vulnerability tracked as **CVE-2024-11477** has received a high CVSS score of 7.8 [1]. # Technical Details 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 [2]. 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 [2]. # Affected Products The vulnerability was fixed in 7-Zip 24.07 [2]. # Recommendations CERT-EU recommends updating the software to the latest version. # References [1] [2]