Skip to main content

Heap-based Buffer Overflow

CVE-2023-52168

Severity High
Score 8.4/10

Summary

The "NtfsHandler.cpp" NTFS handler in 7-Zip versions prior to 24.05 (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.

  • LOW
  • LOCAL
  • HIGH
  • UNCHANGED
  • NONE
  • NONE
  • HIGH
  • HIGH

CWE-122 - Heap-based Buffer Overflow

A heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().

Advisory Timeline

  • Published