CVE-2026-40706: ntfs-3g 2022.10.3: Heap buffer overflow

Published Apr 21, 2026
·
Updated

In NTFS-3G 2022.10.3 before 2026.2.25, a heap buffer overflow exists in ntfsbuildpermissionsposix() 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 ACCESSDENIED ACEs containing WRITEOWNER from distinct group SIDs.

Affected Software

14 affected componentsFixes available
tuxera NTFS-3G>=2022.10.3<2026.2.25
Microsoft azl3 ntfs-3g 2022.10.3-2
Microsoft cbl2 ntfs-3g 2022.10.3-2
Microsoft cbl2 ntfs-3g 2022.10.3-2<2022.10.3-3
2022.10.3-3
Microsoft azl3 ntfs-3g 2022.10.3-2<2022.10.3-3
2022.10.3-3
debian/ntfs-3g
1:2017.3.23AR.3-4+deb11u51:2022.10.3-1+deb12u31:2022.10.3-5+deb13u11:2026.2.25-1
ubuntu/ntfs-3g<1:2013.1.13AR.1-2ubuntu2+esm5
1:2013.1.13AR.1-2ubuntu2+esm5
ubuntu/ntfs-3g<1:2015.3.14AR.1-1ubuntu0.3+esm5
1:2015.3.14AR.1-1ubuntu0.3+esm5
ubuntu/ntfs-3g<1:2017.3.23-2ubuntu0.18.04.5+esm1
1:2017.3.23-2ubuntu0.18.04.5+esm1
ubuntu/ntfs-3g<1:2017.3.23AR.3-3ubuntu1.3+esm1
1:2017.3.23AR.3-3ubuntu1.3+esm1
ubuntu/ntfs-3g<1:2021.8.22-3ubuntu1.3
1:2021.8.22-3ubuntu1.3
ubuntu/ntfs-3g<1:2022.10.3-1.2ubuntu3.1
1:2022.10.3-1.2ubuntu3.1
ubuntu/ntfs-3g<1:2022.10.3-5ubuntu0.25.10.1
1:2022.10.3-5ubuntu0.25.10.1
ubuntu/ntfs-3g<1:2022.10.3-5ubuntu1
1:2022.10.3-5ubuntu1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2022.10.3-3
  2. Upgrade

    Upgrade debian/ntfs-3g to a version that resolves this vulnerability.

    Fixed in 1:2017.3.23AR.3-4+deb11u5Fixed in 1:2022.10.3-1+deb12u3Fixed in 1:2022.10.3-5+deb13u1Fixed in 1:2026.2.25-1
  3. Upgrade

    Upgrade ubuntu/ntfs-3g to a version that resolves this vulnerability.

    Fixed in 1:2013.1.13AR.1-2ubuntu2+esm5
  4. Upgrade

    Upgrade ubuntu/ntfs-3g to a version that resolves this vulnerability.

    Fixed in 1:2015.3.14AR.1-1ubuntu0.3+esm5
  5. Upgrade

    Upgrade ubuntu/ntfs-3g to a version that resolves this vulnerability.

    Fixed in 1:2017.3.23-2ubuntu0.18.04.5+esm1
  6. Upgrade

    Upgrade ubuntu/ntfs-3g to a version that resolves this vulnerability.

    Fixed in 1:2017.3.23AR.3-3ubuntu1.3+esm1
  7. Upgrade

    Upgrade ubuntu/ntfs-3g to a version that resolves this vulnerability.

    Fixed in 1:2021.8.22-3ubuntu1.3
  8. Upgrade

    Upgrade ubuntu/ntfs-3g to a version that resolves this vulnerability.

    Fixed in 1:2022.10.3-1.2ubuntu3.1
  9. Upgrade

    Upgrade ubuntu/ntfs-3g to a version that resolves this vulnerability.

    Fixed in 1:2022.10.3-5ubuntu0.25.10.1
  10. Upgrade

    Upgrade ubuntu/ntfs-3g to a version that resolves this vulnerability.

    Fixed in 1:2022.10.3-5ubuntu1

Event History

Apr 21, 2026
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
DescriptionSeverityWeakness
Data Sourced
via OSV·12:00 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·10:16 PM
DescriptionSeverityWeakness
Apr 23, 2026
Data Sourced
via Microsoft·08:03 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:03 AM
Affected Software
Updated
via Microsoft·08:03 AM
WeaknessAffected Software
Apr 24, 2026
Updated
via Microsoft·09:45 PM
Description
Sep 25, 2026
Updated
via Microsoft·09:16 AM
DescriptionWeakness
Dec 2, 2026
Updated
via OSV·02:27 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2026-40706?

CVE-2026-40706 has a high severity due to the potential for remote code execution through heap buffer overflow.

2

How do I fix CVE-2026-40706?

To fix CVE-2026-40706, upgrade ntfs-3g to version 2026.2.25 or later.

3

What product versions are affected by CVE-2026-40706?

The affected product versions for CVE-2026-40706 are ntfs-3g version 2022.10.3 up to version 2026.2.25.

4

What type of vulnerability is CVE-2026-40706?

CVE-2026-40706 is categorized as a heap buffer overflow vulnerability.

5

Can CVE-2026-40706 be exploited remotely?

Yes, CVE-2026-40706 can be exploited remotely by an attacker using a crafted NTFS image.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203