CVE-2026-42617

Heap Buffer Overflow in NTFS-3G SUID-root Binary Leading to Root Privilege Escalation

Published Oct 7, 2026 CVSS 3.1 · 7.1 High EPSS < 1% KEV · Not listed
Description
In NTFS-3G before 2026.7.7, a heap buffer overflow exists in ntfs_ir_to_ib() in index.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 by extending a directory, e.g., by creating a file.

Analysis

AI-generated

Technical impact

A heap buffer overflow in the ntfs_ir_to_ib() function of NTFS-3G before version 2026.7.7 allows an attacker to corrupt heap memory in the SUID-root ntfs-3g binary. By crafting a malicious NTFS image that causes a directory to be extended—such as by creating a new file—the overflow can be triggered, and based on the description, this could lead to arbitrary code execution and privileged escalation to root.

Affected Systems

Any installation of NTFS-3G that uses the SUID-root binary and has a version older than 2026.7.7 is vulnerable. Based on the description, it is inferred that typical Linux distributions mount NTFS volumes with ntfs-3g, as the binary often runs with elevated privileges.

Risk and Exploitability

Based on the description, the vulnerability is not listed in the CISA KEV catalog and the EPSS score is not available. The CVSS score of 7.1 indicates a high severity and confirms that a local attacker who can create a malicious NTFS image can corrupt heap memory in the SUID-root ntfs-3g binary, potentially leading to root privilege escalation. The nature of a heap buffer overflow in a privileged binary signifies a high likelihood of successful exploitation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to ntfs‑3g 2026.7.7 or later from the official releases page
  • If an upgrade is not immediately possible, remove the SUID bit from the /usr/bin/ntfs-3g binary to prevent it from running with root privileges
  • Restrict write access to the directory containing NTFS images so that only trusted users can create files, reducing the chance of an attacker delivering a malicious image

Generated by OpenCVE AI on October 8, 2026 at 00:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4883-1 ntfs-3g security update
Debian DSA Debian DSA DSA-6389-1 ntfs-3g security update
Ubuntu USN Ubuntu USN USN-8554-1 NTFS-3G vulnerabilities
History
Type Values Removed Values Added
CPEs cpe:2.3:a:tuxera:ntfs-3g:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Title Heap Buffer Overflow in NTFS-3G SUID-root Binary Leading to Root Privilege Escalation
Type Values Removed Values Added
Title Heap Buffer Overflow in ntfs‑3g Allows Root Privilege Escalation
Weaknesses CWE-285
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Heap Buffer Overflow in ntfs‑3g Allows Root Privilege Escalation
Weaknesses CWE-122
CWE-285
Type Values Removed Values Added
First Time appeared Tuxera
Tuxera ntfs-3g
Vendors & Products Tuxera
Tuxera ntfs-3g
Type Values Removed Values Added
Description In NTFS-3G before 2026.7.7, a heap buffer overflow exists in ntfs_ir_to_ib() in index.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 by extending a directory, e.g., by creating a file.
References
Weaknesses
  • CWE-122

    Heap-based Buffer Overflow

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Oct 7, 2026, 8:24 PM
Reserved
Apr 29, 2026, 12:00 AM
Status
Analyzed
Published
Oct 7, 2026, 2:17 PM
Modified
Oct 8, 2026, 7:09 PM