Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | 7zip | 24.05+dfsg-1 | — |
| Debian 13 | 7zip | 24.05+dfsg-1 | — |
| Debian 13 | p7zip | 16.02+transitional.1 | — |
| Debian 12 | 7zip | 22.01+dfsg-8+deb12u1 | — |
| Debian 12 | p7zip | 16.02+really25.01+dfsg-0+deb12u1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 24.04 LTS | 7zip | 23.01+dfsg-11ubuntu0.1~esm1 | USN-7438-1 |
| Ubuntu Pro 22.04 LTS | 7zip | 21.07+dfsg-4ubuntu0.1~esm1 | USN-7438-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP6 | p7zip | 16.02-150200.14.12.1 | SUSE-SU-2024:2625-1 |
| SLES 15 SP5 | p7zip | 16.02-150200.14.12.1 | SUSE-SU-2024:2625-1 |
| SLES 15 SP4 | p7zip | 16.02-150200.14.12.1 | SUSE-SU-2024:2625-1 |
| SLES 15 SP3 | p7zip | 16.02-150200.14.12.1 | SUSE-SU-2024:2625-1 |
| SLES 15 SP2 | p7zip | 16.02-150200.14.12.1 | SUSE-SU-2024:2625-1 |
Show 11 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 SP5 | p7zip | 9.20.1-7.6.1 | SUSE-SU-2024:2475-1 |
| SLES for SAP 15 SP4 | p7zip | 16.02-150200.14.12.1 | SUSE-SU-2024:2625-1 |
| SLES for SAP 15 SP3 | p7zip | 16.02-150200.14.12.1 | SUSE-SU-2024:2625-1 |
| SLES for SAP 15 SP2 | p7zip | 16.02-150200.14.12.1 | SUSE-SU-2024:2625-1 |
| SLES for SAP 12 SP5 | p7zip | 9.20.1-7.6.1 | SUSE-SU-2024:2475-1 |
| SLE HPC 15 SP4 | p7zip | 16.02-150200.14.12.1 | SUSE-SU-2024:2625-1 |
| SLE HPC 15 SP3 | p7zip | 16.02-150200.14.12.1 | SUSE-SU-2024:2625-1 |
| SLE HPC 15 SP2 | p7zip | 16.02-150200.14.12.1 | SUSE-SU-2024:2625-1 |
| SUSE Manager Server 4.3 | p7zip | 16.02-150200.14.12.1 | SUSE-SU-2024:2625-1 |
| SUSE Manager Proxy 4.3 | p7zip | 16.02-150200.14.12.1 | SUSE-SU-2024:2625-1 |
| SUSE Enterprise Storage 7.1 | p7zip | 16.02-150200.14.12.1 | SUSE-SU-2024:2625-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.6 | p7zip | 16.02-150200.14.12.1 | SUSE-SU-2024:2625-1 |
| openSUSE Leap 15.5 | p7zip | 16.02-150200.14.12.1 | SUSE-SU-2024:2625-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | p7zip +2 | 16.02-20.amzn2023.0.6 | ALAS2023-2024-705 |
Advisories 6
- 7PAA023732 System 800xA affected by 3rd party component vulnerabilities ABB PSIRT · May 22, 2026
- WID-SEC-2024-1516 7-Zip: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 11, 2026
- USN-7438-1 7zip vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- SUSE-SU-2024:2625-1 Security update for p7zip SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:2475-1 Security update for p7zip SUSE / openSUSE Security Updates · Feb 4, 2026
- ALAS2023-2024-705 Moderate: p7zip security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Aug 19, 2024
References
- https://sourceforge.net/p/sevenzip/bugs/2402/
- https://www.openwall.com/lists/oss-security/2024/07/03/10
- [oss-security] 20240703 CVE-2023-52168, CVE-2023-52169: buffer overflow, over-read vulnerabilities in the 7-Zip archiver mailing-list
- https://dfir.ru/2024/06/19/vulnerabilities-in-7-zip-and-ntfs3/