CVE-2023-52168 Memory corruption in n/a
A heap-based buffer overflow in the 7-Zip NTFS handler allows attackers to overwrite memory, potentially leading to arbitrary code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-52168?
CVE-2023-52168 is a high-severity memory corruption vulnerability in n/a, published on 3 Jul 2024. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-122
Which versions are affected by CVE-2023-52168?
How do I fix CVE-2023-52168?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2023-52168 being exploited?
There is no known exploitation of CVE-2023-52168 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2023-52168, GHSA-wgw3-5w65-2g45, UBUNTU-CVE-2023-52168.