Vulnerability · Published May 3, 2024 · Assigned by zdi

CVE-2023-404817-Zip SquashFS File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability

High 7.8

In plain English

A high-severity out-of-bounds write in 7-Zip from 7-Zip. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 13.8% (higher than 97% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.0)7.8High
Exploit odds (30 days)13.8%top 3.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:127zip22.01+really25.01+dfsg-0+deb12u1DEBIAN-CVE-2023-40481
Debian:137zip23.01+dfsg-1DEBIAN-CVE-2023-40481
Debian:147zip23.01+dfsg-1DEBIAN-CVE-2023-40481
Debian:12p7zip16.02+really25.01+dfsg-0+deb12u1DEBIAN-CVE-2023-40481
Debian:13p7zip16.02+transitional.1DEBIAN-CVE-2023-40481

Affected products (as reported)

VendorProductVersions
7-Zip 7-Zip 22.01

Weakness: CWE-787 · Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

References