7-zip up to 18.03 SquashFS File Parser out-of-bounds write

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.9$0-$5k0.00

Summaryinfo

A vulnerability categorized as critical has been discovered in 7-zip. The impacted element is an unknown function of the component SquashFS File Parser. The manipulation results in out-of-bounds write. This vulnerability is reported as CVE-2023-40481. The attack can be launched remotely. No exploit exists. A patch should be applied to remediate this issue.

Detailsinfo

A vulnerability, which was classified as critical, was found in 7-zip (File Compression Software). Affected is an unknown functionality of the component SquashFS File Parser. The manipulation with an unknown input leads to a out-of-bounds write vulnerability. CWE is classifying the issue as CWE-787. The product writes data past the end, or before the beginning, of the intended buffer. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:

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.

The weakness was disclosed 08/23/2023 as ZDI-23-1164. The advisory is available at zerodayinitiative.com. This vulnerability is traded as CVE-2023-40481 since 08/14/2023. Successful exploitation requires user interaction by the victim. The technical details are unknown and an exploit is not available.

The vulnerability scanner Nessus provides a plugin with the ID 314237 (Debian dla-4576 : p7zip - security update), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 23.00 eliminates this vulnerability. The upgrade is hosted for download at sourceforge.net. Applying a patch is able to eliminate this problem. The best possible mitigation is suggested to be patching the affected component. Old 7-Zip vulnerability. Seems that the patch was missed.

The vulnerability is also documented in the vulnerability database at Tenable (314237). If you want to get best quality of vulnerability data, you may have to visit VulDB.

Productinfo

Type

Name

Version

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 7.0
VulDB Meta Temp Score: 6.9

VulDB Base Score: 6.3
VulDB Temp Score: 6.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

CNA Base Score: 7.8
CNA Vector: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Out-of-bounds write
CWE: CWE-787 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 314237
Nessus Name: Debian dla-4576 : p7zip - security update

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Upgrade: 7-zip 23.00

Timelineinfo

08/14/2023 🔍
08/23/2023 +9 days 🔍
08/23/2023 +0 days 🔍
05/12/2026 +993 days 🔍

Sourcesinfo

Advisory: ZDI-23-1164
Status: Confirmed

CVE: CVE-2023-40481 (🔍)
GCVE (CVE): GCVE-0-2023-40481
GCVE (VulDB): GCVE-100-237882

Entryinfo

Created: 08/23/2023 23:39
Updated: 05/12/2026 10:25
Changes: 08/23/2023 23:39 (37), 02/27/2025 16:16 (2), 02/27/2025 16:17 (2), 02/27/2025 16:20 (22), 08/13/2025 03:33 (14), 05/12/2026 10:25 (2)
Complete: 🔍
Committer: lywand
Cache ID: 216::103

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!