CVE-2026-40706 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 craft...
HighCVSS 8.4
EPSS 0.17%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| azure linux ntfs-3g(Azure Linux:3.0) | < 2022.10.3-3 | 2022.10.3-3 |
| cbl-mariner ntfs-3g(CBL-Mariner:2.0) | < 2022.10.3-3 | 2022.10.3-3 |
| Tuxera NTFS-3G | >= 2022.10.3, < 2026.2.25 | 2026.2.25 |
| debian/ntfs-3g(Debian:12) | < 1:2022.10.3-1+deb12u3 | 1:2022.10.3-1+deb12u3 |
| debian/ntfs-3g(Debian:12) | = 1:2022.10.3-1 | No fix listed |
| debian/ntfs-3g(Debian:12) | = 1:2022.10.3-1+deb12u1 | No fix listed |
| debian/ntfs-3g(Debian:12) | = 1:2022.10.3-1+deb12u2 | No fix listed |
| debian/ntfs-3g(Debian:13) | < 1:2022.10.3-5+deb13u1 | 1:2022.10.3-5+deb13u1 |
| debian/ntfs-3g(Debian:13) | = 1:2022.10.3-5 | No fix listed |
| debian/ntfs-3g(Debian:14) | < 1:2026.2.25-1 | 1:2026.2.25-1 |
| debian/ntfs-3g(Debian:14) | = 1:2022.10.3-5 | No fix listed |
| ubuntu/ntfs-3g(Ubuntu:22.04) | < 1:2021.8.22-3ubuntu1.3 | 1:2021.8.22-3ubuntu1.3 |
| alpine/ntfs-3g(Alpine:v3.20) | < 2026.2.25-r0 | 2026.2.25-r0 |
| alpine/ntfs-3g(Alpine:v3.21) | < 2026.2.25-r0 | 2026.2.25-r0 |
| alpine/ntfs-3g(Alpine:v3.22) | < 2026.2.25-r0 | 2026.2.25-r0 |
| alpine/ntfs-3g(Alpine:v3.23) | < 2026.2.25-r0 | 2026.2.25-r0 |
| alpine/ntfs-3g(Alpine:v3.24) | < 2026.2.25-r0 | 2026.2.25-r0 |
| ubuntu/ntfs-3g(Ubuntu:24.04) | < 1:2022.10.3-1.2ubuntu3.1 | 1:2022.10.3-1.2ubuntu3.1 |
| ubuntu/ntfs-3g(Ubuntu:26.04) | < 1:2022.10.3-5ubuntu1 | 1:2022.10.3-5ubuntu1 |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- github.com
- www.openwall.com
- github.com
- github.com
- lists.debian.org
- www.openwall.com
- Debian Security Tracker CVE-2026-40706 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8192-1 vendor-advisory
- USN-8192-2 vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory