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 he...
Original description
The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Alpine Linux ALPINE-CVE-2026-40706 ntfs-3g Fixed in: 2026.2.25-r0
- Debian DEBIAN-CVE-2026-40706 ntfs-3g Fixed in: 1:2017.3.23AR.3-4+deb11u5
- Ubuntu UBUNTU-CVE-2026-40706 ntfs-3g
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- web openwall.com
- web github.com
- web github.com
- web lists.debian.org
- web openwall.com