Skip to main content

Heap-based Buffer Overflow

CVE-2026-40706

Severity High
Score 8.4/10

Summary

In NTFS-3G versions from 2022.10.3 prior to 2026.2.25, a Heap Buffer Overflow exists in 'ntfs_build_permissions_posix()' in 'acls.c' that allows an attacker to corrupt heap memory in the SUID-root ntfs-3g binary by crafting a malicious NTFS image. The overflow is triggered on the READ path (stat, readdir, open) when processing a security descriptor with multiple 'ACCESS_DENIED' ACEs containing 'WRITE_OWNER' from distinct group SIDs.

  • 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