{"id":"UBUNTU-CVE-2023-40481","details":"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.","modified":"2025-10-24T05:02:15Z","published":"2024-05-03T03:15:00Z","upstream":["CVE-2023-40481"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-40481"},{"type":"REPORT","url":"https://www.zerodayinitiative.com/advisories/ZDI-23-1164/"},{"type":"REPORT","url":"https://sourceforge.net/p/sevenzip/discussion/45797/thread/713c8a8269/"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-40481"}],"affected":[{"package":{"name":"7zip","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/7zip@21.07+dfsg-4ubuntu0.1~esm1?arch=source&distro=esm-apps/jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["21.03~beta+dfsg-6","21.04~beta+dfsg-1","21.06+dfsg-1","21.07+dfsg-1","21.07+dfsg-2","21.07+dfsg-3","21.07+dfsg-4","21.07+dfsg-4ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"7zip","binary_version":"21.07+dfsg-4ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-40481.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}