CVE catalog

CVE-2023-40481

7zip: CVE-2023-40481

[CVE catalog]

Severity
High · CVSS 7.8CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
13.95% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debian7zipsid26.05+dfsg-1fixed
Debian7zipforky26.05+dfsg-1fixed
Debian7ziptrixie25.01+dfsg-1~deb13u2fixed
Debian7zipbookworm22.01+really26.01+dfsg-0+deb12u1fixed
Debian7zipbookworm-security22.01+really26.02+dfsg-0+deb12u1fixed
Debianp7ziptrixie16.02+transitional.1fixed
Debianp7zipbookworm16.02+really26.01+dfsg-0+deb12u1fixed
Debianp7zipbookworm-security16.02+really26.02+dfsg-0+deb12u1fixed
Ubuntu7zippro21.03~beta+dfsg-6vulnerable
Ubuntu7zippro21.04~beta+dfsg-1vulnerable
Ubuntu7zippro21.06+dfsg-1vulnerable
Ubuntu7zippro21.07+dfsg-1vulnerable
Ubuntu7zippro21.07+dfsg-2vulnerable
Ubuntu7zippro21.07+dfsg-3vulnerable
Ubuntu7zippro21.07+dfsg-4vulnerable
Ubuntu7zippro21.07+dfsg-4ubuntu0.1~esm1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debian7zipsourcesid23.01+dfsg-1not yet assignedNot reportedNot reported
Debian7zipsourceforky23.01+dfsg-1not yet assignedNot reportedNot reported
Debian7zipsourcetrixie23.01+dfsg-1not yet assignedNot reportedNot reported
Debian7zipsourcebookworm22.01+really25.01+dfsg-0+deb12u1not yet assignedNot reportedNot reported
Debianp7zipsourcetrixie16.02+transitional.1not yet assignedNot reportedNot reported
Debianp7zipsourcebookworm16.02+really25.01+dfsg-0+deb12u1not yet assignedNot reportedNot reported

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References