In NTFS-3G 2022.10.3 before 2026.2.25, a heap buffer overflow exists in ntfs_build_permissions_posix() in acls.c that…
CVE-2026-40706Published 21 Apr 2026, 00:00 UTC
Real-world risk
4.3/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.4
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from mitre)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| NTFS-3GNiche | >= 2022.10.3, < 2026.2.25 | 2026.2.25 |
What to do
Update to a fixed version: 2026.2.25.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.2% chance of exploitation in 30 days (percentile 7), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.500
- Threat T1: Nothing known0.850
- 10 × impact 1 × prerequisites 0.5 × threat 0.854.250
- Rounded to one decimal between 0.1 and 104.3
Exploitation and evidence timeline
- 21 Apr 2026 Published
- 3 Dec 2026 Risk 4.3 (cvss fallback)
Weakness
CWE-122
References
- https://github.com/tuxera/ntfs-3g/blob/d3ace19838ce37cfde55294e76841e6d2f393f9e/libntfs-3g/acls.c#L4011-L4027
- https://www.openwall.com/lists/oss-security/2026/04/21/4
- https://github.com/tuxera/ntfs-3g/security/advisories/GHSA-4cwv-5285-63v9
- https://github.com/tuxera/ntfs-3g/releases/tag/2026.2.25
- https://lists.debian.org/debian-lts-announce/2026/04/msg00024.html
- http://www.openwall.com/lists/oss-security/2026/04/21/4
- CVE-2026-40706 on CVE.org