{"id":"UBUNTU-CVE-2023-52168","details":"The NtfsHandler.cpp NTFS handler in 7-Zip before 24.01 (for 7zz) contains a heap-based buffer overflow that allows an attacker to overwrite two bytes at multiple offsets beyond the allocated buffer size: buffer+512*i-2, for i=9, i=10, i=11, etc.","modified":"2026-02-04T03:32:22.932400Z","published":"2024-07-03T18:15:00Z","related":["USN-7438-1"],"upstream":["CVE-2023-52168"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-52168"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-52168"},{"type":"REPORT","url":"https://sourceforge.net/p/sevenzip/bugs/2402/"},{"type":"REPORT","url":"https://www.openwall.com/lists/oss-security/2024/07/03/10"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7438-1"}],"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"},{"fixed":"21.07+dfsg-4ubuntu0.1~esm1"}]}],"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"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","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-52168.json"}},{"package":{"name":"7zip","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/7zip@23.01+dfsg-11ubuntu0.1~esm1?arch=source&distro=esm-apps/noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"23.01+dfsg-11ubuntu0.1~esm1"}]}],"versions":["23.01+dfsg-3","23.01+dfsg-7","23.01+dfsg-8","23.01+dfsg-11"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_name":"7zip","binary_version":"23.01+dfsg-11ubuntu0.1~esm1"},{"binary_name":"7zip-standalone","binary_version":"23.01+dfsg-11ubuntu0.1~esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-52168.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}