What’s Vulnerable › Vulnerabilities
CVE-2023-40481: 7-Zip SquashFS File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability
- Severity: high (CVSS 7.8 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 13.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-03 · updated 2026-06-17
- Weakness: CWE-787
Description
7-Zip SquashFS File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability. This vulnerability allows remote attackers to execute arbitrary code on affected installations of 7-Zip. User interaction is required to exploit this vulnerability in that the target must visit a malicious page or open a malicious file. The specific flaw exists within the parsing of SQFS files. The issue results from the lack of proper validation of user-supplied data, which can result in a write past the end of an allocated buffer. An attacker can leverage this vulnerability to execute code in the context of the current process. Was ZDI-CAN-18589.
Affected products
- 7-Zip: 22.01
References
- https://sourceforge.net/p/sevenzip/discussion/45797/thread/713c8a8269/
- https://www.zerodayinitiative.com/advisories/ZDI-23-1164/
- https://sourceforge.net/p/sevenzip/discussion/45797/thread/713c8a8269/
- https://www.zerodayinitiative.com/advisories/ZDI-23-1164/
Get alerted when CVE-2023-40481 or the next vulnerability affects your stack