Skip to content
OpenAdvisories
High · 8.4 CVE-2023-52168 EUVD-2023-56841GHSA-wgw3-5w65-2g45

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…

Published Jul 3, 2024 · Updated Nov 3, 2025 · Assigned by mitre

Description

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.

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.

ReleasePackageFixed inAdvisory
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 —
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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)
ReleasePackageFixed inAdvisory
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
ReleasePackageFixed inAdvisory
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

ReleasePackageFixed inAdvisory
Amazon Linux 2023 p7zip +2 16.02-20.amzn2023.0.6 ALAS2023-2024-705

Advisories 6

References