| Name | CVE-2023-40481 |
| 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. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DLA-4576-1 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| 7zip (PTS) | bookworm | 22.01+really26.01+dfsg-0+deb12u1 | fixed |
| bookworm (security) | 22.01+really26.02+dfsg-0+deb12u1 | fixed | |
| trixie | 25.01+dfsg-1~deb13u2 | fixed | |
| forky, sid | 26.02+dfsg-2 | fixed | |
| p7zip (PTS) | bullseye | 16.02+dfsg-8 | vulnerable |
| bullseye (security) | 16.02+really26.02+dfsg-0+deb11u1 | fixed | |
| bookworm | 16.02+really26.01+dfsg-0+deb12u1 | fixed | |
| bookworm (security) | 16.02+really26.02+dfsg-0+deb12u1 | fixed | |
| trixie | 16.02+transitional.1 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| 7zip | source | bookworm | 22.01+really25.01+dfsg-0+deb12u1 | |||
| 7zip | source | (unstable) | 23.01+dfsg-1 | |||
| p7zip | source | bullseye | 16.02+really25.01+dfsg-0+deb11u1 | DLA-4576-1 | ||
| p7zip | source | bookworm | 16.02+really25.01+dfsg-0+deb12u1 | |||
| p7zip | source | (unstable) | 16.02+transitional.1 |
https://www.zerodayinitiative.com/advisories/ZDI-23-1164/
https://sourceforge.net/p/sevenzip/discussion/45797/thread/713c8a8269/
Since p7zip/16.02+transitional.1 src:p7zip is only a empty source package
depending on 7zip. Mark this version as fixed version.