CVE-2023-52169
The NtfsHandler.cpp NTFS handler in 7-Zip before 24.01 (for 7zz) contains an out-of-bounds read that allows an attacker to read beyond the intended buffer. The bytes read beyond the intended buffer are presented as a part of a filename listed in the file system image. This has security relevance in some known web-service use cases where untrusted users can upload files and have them extracted by a server-side 7-Zip process.
What to do
Fixed builds are available from Debian: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | 7zip | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | 7zip | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | 7zip | Fix pending | 23.01+dfsg-11ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2023-52169 |
| Ubuntu 22.04 | 7zip | Fix pending | 21.07+dfsg-4ubuntu0.1~esm1 (Ubuntu Pro) | UBUNTU-CVE-2023-52169 |
| Debian 14 | 7zip | Fixed | 24.05+dfsg-1 | DEBIAN-CVE-2023-52169 |
| Debian 13 | 7zip | Fixed | 24.05+dfsg-1 | DEBIAN-CVE-2023-52169 |
| Debian 13 | p7zip | Fixed | 16.02+transitional.1 | DEBIAN-CVE-2023-52169 |
| Debian 12 | 7zip | Fixed | 22.01+dfsg-8+deb12u1 | DEBIAN-CVE-2023-52169 |
| Debian 12 | p7zip | Fixed | 16.02+really25.01+dfsg-0+deb12u1 | DEBIAN-CVE-2023-52169 |
References
- https://sourceforge.net/p/sevenzip/bugs/2402/
- https://www.openwall.com/lists/oss-security/2024/07/03/10
- http://www.openwall.com/lists/oss-security/2024/07/03/10
- https://dfir.ru/2024/06/19/vulnerabilities-in-7-zip-and-ntfs3/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.