CVE-2023-40481
7-Zip SquashFS File Parsing Out-of-Bounds Write Remote Code Execution
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.
INFO
Published Date :
May 3, 2024, 3:15 a.m.
Last Modified :
Aug. 12, 2025, 7:48 p.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 3.0 | HIGH | [email protected] |
Solution
- There is no known solution at this time.
Public PoC/Exploit Available at Github
CVE-2023-40481 has a 2 public
PoC/Exploit
available at Github.
Go to the Public Exploits
tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2023-40481
.
URL | Resource |
---|---|
https://sourceforge.net/p/sevenzip/discussion/45797/thread/713c8a8269/ | Product Release Notes |
https://www.zerodayinitiative.com/advisories/ZDI-23-1164/ | Third Party Advisory |
https://sourceforge.net/p/sevenzip/discussion/45797/thread/713c8a8269/ | Product Release Notes |
https://www.zerodayinitiative.com/advisories/ZDI-23-1164/ | Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2023-40481
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2023-40481
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Here I store my proof of concepts
CMake C++ HTML C
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2023-40481
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2023-40481
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Aug. 12, 2025
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:7-zip:7-zip:22.01:*:*:*:*:*:*:* Added Reference Type CVE: https://sourceforge.net/p/sevenzip/discussion/45797/thread/713c8a8269/ Types: Product, Release Notes Added Reference Type Zero Day Initiative: https://sourceforge.net/p/sevenzip/discussion/45797/thread/713c8a8269/ Types: Product, Release Notes Added Reference Type CVE: https://www.zerodayinitiative.com/advisories/ZDI-23-1164/ Types: Third Party Advisory Added Reference Type Zero Day Initiative: https://www.zerodayinitiative.com/advisories/ZDI-23-1164/ Types: Third Party Advisory -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://sourceforge.net/p/sevenzip/discussion/45797/thread/713c8a8269/ Added Reference https://www.zerodayinitiative.com/advisories/ZDI-23-1164/ -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Received by [email protected]
May. 03, 2024
Action Type Old Value New Value Added 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. Added Reference Zero Day Initiative https://www.zerodayinitiative.com/advisories/ZDI-23-1164/ [No types assigned] Added Reference Zero Day Initiative https://sourceforge.net/p/sevenzip/discussion/45797/thread/713c8a8269/ [No types assigned] Added CWE Zero Day Initiative CWE-787 Added CVSS V3 Zero Day Initiative AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H