Heap-based buffer overflow in NTFS-3G - CVE-2026-56135
Published: November 5, 2026
Vulnerability details
The vulnerability allows a remote attacker to corrupt heap memory in the SUID-root ntfs-3g binary.
The vulnerability exists due to a heap-based buffer overflow in build_inherited_id() in libntfs-3g/security.c when creating a file in a crafted NTFS directory. A remote attacker can craft a malicious NTFS image to corrupt heap memory when a file is created in the crafted directory.
Affected software
Gentoo Linux
Debian Linux
Fedora
openEuler
Ubuntu
Anolis OS
ntfs-3g (Ubuntu package)
libntfs-3g89 (Ubuntu package)
libntfs-3g89t64 (Ubuntu package)
ntfs-3g
ntfs-3g-debuginfo
ntfs-3g-debugsource
ntfs-3g-devel
ntfs-3g-help
ntfs-3g-doc
ntfsprogs
ntfs-3g-libs
sys-fs/ntfs3g
ntfs-3g (Debian package)
How to mitigate CVE-2026-56135
ntfs-3g (Ubuntu package) - addressed in versions 1:2021.8.22-3ubuntu1.4, 1:2022.10.3-1.2ubuntu3.2, 1:2022.10.3-5ubuntu1.1
libntfs-3g89 (Ubuntu package) - update to 1:2021.8.22-3ubuntu1.4
libntfs-3g89t64 (Ubuntu package) - addressed in versions 1:2022.10.3-1.2ubuntu3.2, 1:2022.10.3-5ubuntu1.1
ntfs-3g - update to 2022.10.3-4
ntfs-3g-debuginfo - update to 2022.10.3-4
ntfs-3g-debugsource - update to 2022.10.3-4
ntfs-3g-devel - update to 2022.10.3-4
ntfs-3g-help - update to 2022.10.3-4
ntfs-3g - addressed in versions 2022.10.3-11.el9, 2022.10.3-12.el9, 2026.7.7-2.el10_4, 2026.9.18-1.el10_4
ntfs-3g-doc - update to 2026.2.25-3
ntfsprogs - update to 2026.2.25-3
ntfs-3g-libs - update to 2026.2.25-3
ntfs-3g-devel - update to 2026.2.25-3
ntfs-3g - update to 2026.2.25-3
sys-fs/ntfs3g - update to 2026.7.7
ntfs-3g (Debian package) - update to 1:2022.10.3-5+deb13u2
External References
Related Security Bulletins
- Multiple vulnerabilities in NTFS-3G
- Debian update for ntfs-3g
- Gentoo update for NTFS-3G
- Fedora EPEL 10.4 update for ntfs-3g
- Fedora EPEL 9 update for ntfs-3g
- Fedora EPEL 10.4 update for ntfs-3g
- Fedora EPEL 9 update for ntfs-3g
- openEuler update for ntfs-3g
- Ubuntu update for ntfs-3g
- Anolis OS update for ntfs-3g