CVE-2023-40481: 7-zip Out-of-bounds Write
Vulnerability summary
CVE-2023-40481 is a high (CVSS 7.8) Out-of-bounds Write vulnerability in 7-zip. EPSS estimates a 13.95% chance of exploitation in the next 30 days, higher than 96.5% of scored vulnerabilities.
Timeline
- 03-05-2024PublishedVulnerability first disclosed.
- 02-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
13.95%
Chance of exploitation in the next 30 days
Percentile
97%
Versus all other CVEs
30-day change
0.00 pp
From 13.95% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Debian2 products
- 7zip< 22.01+really25.01+dfsg-0+deb12u1 | < 23.01+dfsg-1
- p7zip< 16.02+really25.01+dfsg-0+deb12u1 | < 16.02+transitional.1
7-zip1 product
- 7-zip22.01
Ubuntu1 product
- 7zipAll versions (No fix recorded)
3 vendors · 4 products
References
5 links- sourceforge.net/p/sevenzip/discussion/45797/thread/713c8a8269/Vendor AdvisoryREPORTProductRelease Notes