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

High 7.8 Published Updated

Remote attackers can execute arbitrary code via integer underflow in 7-Zip's Zstandard decompression when processing malicious archives.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2024-11477?

CVE-2024-11477 is a high-severity vulnerability in 7-Zip, published on 22 Nov 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

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.

Weakness: CWE-191

Which versions are affected by CVE-2024-11477?

It affects 1 product.

Products include 7-Zip 7-Zip.

How do I fix CVE-2024-11477?

Upgrade to a fixed version.

Is CVE-2024-11477 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-11477 exists.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as DEBIAN-CVE-2024-11477, GHSA-882h-ff2x-f86q, UBUNTU-CVE-2024-11477.

Is CVE-2024-11477 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free