CVE-2024-11477

NameCVE-2024-11477
Description7-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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
7zip (PTS)bookworm22.01+dfsg-8+deb12u1fixed
sid, trixie24.09+dfsg-2fixed
p7zip (PTS)bookworm, bullseye16.02+dfsg-8fixed
sid, trixie16.02+transitional.1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
7zipsourcebookworm(not affected)
7zipsource(unstable)24.07+dfsg-1
p7zipsource(unstable)(not affected)

Notes

[bookworm] - 7zip <not-affected> (Vulnerable code introduced in 24.01)
- p7zip <not-affected> (Vulnerable code not present)
https://www.zerodayinitiative.com/advisories/ZDI-24-1532/

Search for package or bug name: Reporting problems