Advisory Details

November 20th, 2024

7-Zip Zstandard Decompression Integer Underflow Remote Code Execution Vulnerability

ZDI-24-1532
ZDI-CAN-24346

CVE ID CVE-2024-11477
CVSS SCORE 7.8, AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
AFFECTED VENDORS 7-Zip
AFFECTED PRODUCTS 7-Zip
VULNERABILITY 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.

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.

ADDITIONAL DETAILS

Fixed in fixed in 7-Zip 24.07


DISCLOSURE TIMELINE
  • 2024-06-12 - Vulnerability reported to vendor
  • 2024-11-20 - Coordinated public release of advisory
  • 2024-11-20 - Advisory Updated
CREDIT Nicholas Zubrisky (@NZubrisky) of Trend Micro Security Research
BACK TO ADVISORIES