CVE-2023-40481 in 7-Zip
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.
Affects 1 product from 2 vendors. Description from NVD and MITRE.
Requires local access, low complexity, no authentication required, requires user interaction, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| 7-Zip | 7-Zip | 22.01 |
| Rockwell Automation | — | — |
| Abb | 800Xa | ≤ 7.0 |
| Abb | 800Xa Batch Management | ≤ 6.2 |
| Abb | Application Change Management | ≤ 6.2 |
| Abb | Production Response Batch History | ≤ 6.2 |
Fix and vendor advisory
- Rockwell Automation AADvance Trusted SIS Workstation: 2.00.01 and earlier: AADvance Trusted SIS Workstation: Update to version 2.00.02 or later
Source: ICSA-24-256-20
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2023-40481 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-343547-H |
| CVSS vector | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| Published | 2024-05-03 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Compensating controls AI-drafted, review before use
Implement strict file type and content filtering on all systems where 7-Zip is used to prevent the execution of untrusted SQFS files. Ensure that users are educated about the risks of opening files from untrusted sources.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Check devices from your own code or AI agent: free 14-day trial
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.