{"id":"CVE-2023-40481","state":"PUBLISHED","title":"7-Zip SquashFS File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability","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.\n\nThe 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.","publishedAt":"2024-05-03T02:11:15.923Z","updatedAt":"2024-08-02T18:31:53.795Z","severity":{"score":7.8,"label":"High","version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"zdi"},"assigner":"zdi","products":["7-Zip 7-Zip"],"affected":[{"vendor":"7-Zip","product":"7-Zip","defaultStatus":"unknown","versions":[{"version":"22.01","status":"affected"}]}],"references":["https://www.zerodayinitiative.com/advisories/ZDI-23-1164/","https://sourceforge.net/p/sevenzip/discussion/45797/thread/713c8a8269/"],"weaknesses":["CWE-787"],"ingestedAt":"2026-10-29T20:06:17.512Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/40xxx/CVE-2023-40481.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-40481","state":"PUBLISHED","datePublished":"2024-05-03T02:11:15.923Z","dateUpdated":"2024-08-02T18:31:53.795Z","assignerShortName":"zdi","assignerOrgId":"99f1926a-a320-47d8-bbb5-42feb611262e","dateReserved":"2023-08-14T21:06:28.913Z"},"containers":{"cna":{"title":"7-Zip SquashFS File Parsing Out-Of-Bounds Write Remote Code Execution Vulnerability","descriptions":[{"lang":"en","value":"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.\n\nThe 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."}],"affected":[{"vendor":"7-Zip","product":"7-Zip","defaultStatus":"unknown","versions":[{"version":"22.01","status":"affected"}]}],"references":[{"url":"https://www.zerodayinitiative.com/advisories/ZDI-23-1164/","name":"ZDI-23-1164","tags":["x_research-advisory"]},{"url":"https://sourceforge.net/p/sevenzip/discussion/45797/thread/713c8a8269/","name":"vendor-provided URL","tags":["vendor-advisory"]}],"metrics":[{"format":"CVSS","cvssV3_0":{"version":"3.0","vectorString":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-787","lang":"en","description":"CWE-787: Out-of-bounds Write","type":"CWE"}]}],"providerMetadata":{"shortName":"zdi","orgId":"99f1926a-a320-47d8-bbb5-42feb611262e","dateUpdated":"2024-05-03T02:11:15.923Z"},"dateAssigned":"2023-08-14T21:14:46.703Z","datePublic":"2023-08-23T19:39:33.970Z","source":{"lang":"en","value":"goodbyeselene"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"7-zip","product":"7-zip","defaultStatus":"unknown","versions":[{"version":"22.01","status":"affected"}],"cpes":["cpe:2.3:a:7-zip:7-zip:22.01:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-05T19:54:59.839999Z","id":"CVE-2023-40481","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-05T20:02:31.156Z"}},{"title":"CVE Program Container","references":[{"url":"https://www.zerodayinitiative.com/advisories/ZDI-23-1164/","name":"ZDI-23-1164","tags":["x_research-advisory","x_transferred"]},{"url":"https://sourceforge.net/p/sevenzip/discussion/45797/thread/713c8a8269/","name":"vendor-provided URL","tags":["vendor-advisory","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T18:31:53.795Z"}}]}}}