
CVE catalog
CVE-2023-40481
7zip: CVE-2023-40481
- Severity
- High · CVSS 7.8
CVSS: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.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | 7zip | sid | 26.05+dfsg-1 | fixed |
| Debian | 7zip | forky | 26.05+dfsg-1 | fixed |
| Debian | 7zip | trixie | 25.01+dfsg-1~deb13u2 | fixed |
| Debian | 7zip | bookworm | 22.01+really26.01+dfsg-0+deb12u1 | fixed |
| Debian | 7zip | bookworm-security | 22.01+really26.02+dfsg-0+deb12u1 | fixed |
| Debian | p7zip | trixie | 16.02+transitional.1 | fixed |
| Debian | p7zip | bookworm | 16.02+really26.01+dfsg-0+deb12u1 | fixed |
| Debian | p7zip | bookworm-security | 16.02+really26.02+dfsg-0+deb12u1 | fixed |
| Ubuntu | 7zip | pro | 21.03~beta+dfsg-6 | vulnerable |
| Ubuntu | 7zip | pro | 21.04~beta+dfsg-1 | vulnerable |
| Ubuntu | 7zip | pro | 21.06+dfsg-1 | vulnerable |
| Ubuntu | 7zip | pro | 21.07+dfsg-1 | vulnerable |
| Ubuntu | 7zip | pro | 21.07+dfsg-2 | vulnerable |
| Ubuntu | 7zip | pro | 21.07+dfsg-3 | vulnerable |
| Ubuntu | 7zip | pro | 21.07+dfsg-4 | vulnerable |
| Ubuntu | 7zip | pro | 21.07+dfsg-4ubuntu0.1~esm1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | 7zip | source | sid | 23.01+dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | 7zip | source | forky | 23.01+dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | 7zip | source | trixie | 23.01+dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | 7zip | source | bookworm | 22.01+really25.01+dfsg-0+deb12u1 | not yet assigned | Not reported | Not reported |
| Debian | p7zip | source | trixie | 16.02+transitional.1 | not yet assigned | Not reported | Not reported |
| Debian | p7zip | source | bookworm | 16.02+really25.01+dfsg-0+deb12u1 | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
References
- [https://osv.dev/vulnerability/DEBIAN-CVE-2023-40481]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2023-40481]
- [https://raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/OT/white/2024/icsa-24-256-20.json]
- [https://security-tracker.debian.org/tracker/CVE-2023-40481]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-2183.json]
[CERT-Bund public advisories] · [CISA cybersecurity advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database]