CVE-2026-40706

NameCVE-2026-40706
DescriptionIn 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4544-1, DSA-6221-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ntfs-3g (PTS)bullseye1:2017.3.23AR.3-4+deb11u4vulnerable
bullseye (security)1:2017.3.23AR.3-4+deb11u5fixed
bookworm1:2022.10.3-1+deb12u2vulnerable
bookworm (security)1:2022.10.3-1+deb12u3fixed
trixie1:2022.10.3-5vulnerable
trixie (security)1:2022.10.3-5+deb13u1fixed
forky, sid1:2026.2.25-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ntfs-3gsourcebullseye1:2017.3.23AR.3-4+deb11u5DLA-4544-1
ntfs-3gsourcebookworm1:2022.10.3-1+deb12u3DSA-6221-1
ntfs-3gsourcetrixie1:2022.10.3-5+deb13u1DSA-6221-1
ntfs-3gsource(unstable)1:2026.2.25-1

Notes

https://github.com/tuxera/ntfs-3g/security/advisories/GHSA-4cwv-5285-63v9
Fixed by: https://github.com/tuxera/ntfs-3g/commit/e48e1ef2a1fcff13a590c2224ec21c5bd5d3e92e (2026.2.25)

Search for package or bug name: Reporting problems