CVEfocus › CVE database › CVE-2023-40481

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

CVSS 7.8 HighEPSS 13.8% (higher than 97% of CVEs)Published 2024-05-03Updated 2024-08-02Assigner: zdi

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.

CWE-787

What to do

Likely to be exploited: EPSS gives a 14% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
1Fix pending
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.047zipNot affected
vulnerable_code_not_present
Ubuntu 25.107zipNot affected
vulnerable_code_not_present
Ubuntu 22.047zipFix pendingUBUNTU-CVE-2023-40481
Debian 147zipFixed23.01+dfsg-1DEBIAN-CVE-2023-40481
Debian 137zipFixed23.01+dfsg-1DEBIAN-CVE-2023-40481
Debian 13p7zipFixed16.02+transitional.1DEBIAN-CVE-2023-40481
Debian 127zipFixed22.01+really25.01+dfsg-0+deb12u1DEBIAN-CVE-2023-40481
Debian 12p7zipFixed16.02+really25.01+dfsg-0+deb12u1DEBIAN-CVE-2023-40481

What the vendor says

As published in the CVE record by zdi, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.