CVE-2023-40481: 7-Zip SquashFS File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability

Published May 3, 2024
·
Updated

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 Software

2 affected components
7-Zip 7-Zip
7-Zip 7-Zip=22.01

Event History

May 3, 2024
CVE Published
via MITRE·02:11 AM
Data Sourced
via MITRE·02:11 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 AM
DescriptionSeverityWeaknessAffected Software
Feb 27, 2025
Advisory Published
via ZDI·05:06 AM

Frequently Asked Questions

1

What is the severity of CVE-2023-40481?

CVE-2023-40481 is classified as a critical vulnerability due to its potential for remote code execution.

2

How do I fix CVE-2023-40481?

To mitigate CVE-2023-40481, users should update to the latest version of 7-Zip that addresses this vulnerability.

3

What are the risks associated with CVE-2023-40481?

The main risk of CVE-2023-40481 is that an attacker can execute arbitrary code on the affected system if a user interacts with a maliciously crafted SquashFS file.

4

Is user interaction required to exploit CVE-2023-40481?

Yes, user interaction is required as the target must open a specially crafted SquashFS file to trigger the vulnerability.

5

Which versions of 7-Zip are affected by CVE-2023-40481?

CVE-2023-40481 affects specific versions of 7-Zip that contain the vulnerable file parsing functionality.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203