Skip to content
Fencer Vulns
high 8.4

CVE-2023-52168 json

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 2024-07-03 2 y ago modified 2026-06-17 4 mo ago also EUVD-2023-56841

cvss
8.4
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.3%
EPSS 0.3% chance of exploitation in 30 days, percentile 27%
public exploits
0
none known

Summary

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.

Patch / fix

  • 7-zip 7zip 24.01
  • 7zip Debian 12 22.01+dfsg-8+deb12u1
  • 7zip Debian 14, Debian 13 24.05+dfsg-1
  • p7zip Debian 12 16.02+really25.01+dfsg-0+deb12u1
  • p7zip Debian 13 16.02+transitional.1

debian advisories DEBIAN-CVE-2023-52168

  • 7zip Ubuntu Pro 22.04 LTS 21.07+dfsg-4ubuntu0.1~esm1
  • 7zip Ubuntu Pro 24.04 LTS 23.01+dfsg-11ubuntu0.1~esm1

ubuntu advisories UBUNTU-CVE-2023-52168

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • p7zip SLES for SAP 15 SP4, SLES for SAP 15 SP3, SLES for SAP 15 SP2 +14 more 16.02-150200.14.12.1
  • p7zip SLES for SAP 12 SP5, SLES 12 SP5 9.20.1-7.6.1

suse advisories SUSE-SU-2024:2625-1SUSE-SU-2024:2475-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-52168 updated

p7zip: heap-based buffer overflow in NtfsHandler.cpp

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
2 y ago

Exploit prediction

0.34% chance of exploitation in the next 30 days, higher than 27% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CISA ADP 3.1 8.4 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CNA 3.1 8.4 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

  • 7-zip 7zip

Classification

Weakness
  • CWE-122 Heap-based Buffer Overflow

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.