CVE-2026-40706HighCVSS 8.4

In NTFS-3G 2022.10.3 before 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.

Published
June 2, 2026
Last Modified
—

🔗 CVE IDs covered (1)

🎯 Affected products3

  • azl3 ntfs-3g 2022.10.3-2 on Azure Linux 3.0
  • cbl2 ntfs-3g 2022.10.3-2 on CBL Mariner 2.0
  • cbl2 ntfs-3g 2022.10.3-2 on CBL-Mariner 2.0

✅ Remediation

KBCBL-Mariner Releases (Security Update) — fixed build 2022.10.3-3 KBRelease Notes (Security Update) — fixed build 2022.10.3-3

🔗 References (2)