Skip to main content

NTFS-3G CVE-2026-56135

| EUVDEUVD-2026-65147 HIGH
Heap-based Buffer Overflow (CWE-122)
2026-07-15 vendor:ubuntu
7.4
CVSS 3.1 · Vendor: vendor:ubuntu
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft malicious NTFS image with poisoned directory
  2. Delivery
    Supply image to SUID-root ntfs-3g
  3. Exploit
    Mount volume as local unprivileged user
  4. Execution
    Create file inside crafted directory
  5. Persist
    Trigger heap overflow in build_inherited_id()
  6. Impact
    Corrupt root-process heap to gain code execution

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Heap buffer bounds checking
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The attacker must have local, unprivileged shell access on a system where ntfs-3g is installed with the SUID-root bit set (the standard deployment on most Linux distributions). They must be able to supply a crafted NTFS image to the ntfs-3g binary - either by mounting it directly, via removable media auto-mount, or by other means of influencing which image the binary processes. The overflow is triggered specifically by the act of creating a file inside a directory engineered to carry a malicious NTFS security descriptor, meaning the attacker must have write access to the mounted crafted volume. Exploitation is strictly local (AV:L); remote exploitation is not possible. The AC:H metric confirms that reliably constructing an NTFS image that achieves controlled heap corruption rather than a simple crash requires significant technical effort. Systems where NTFS mounting is not permitted to unprivileged users, where the SUID bit has been removed, or where no untrusted media is processed are not exposed.

Impact

The official CVSS 3.1 score of 7.4 (AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H) correctly characterizes this as a high-impact but locally-constrained vulnerability with meaningful exploitation complexity. AC:H reflects the non-trivial effort required to craft a reliably exploitable NTFS image that triggers heap corruption in a controlled manner. PR:N is consistent with the SUID-root deployment model, where an unprivileged local user can invoke the binary. EPSS at 0.14% (4th percentile) signals very low near-term exploitation probability, and the absence of a CISA KEV listing or any known POC corroborates this. The real-world priority is moderate: on multi-user Linux desktops or servers where untrusted users can supply removable NTFS media or otherwise influence which images ntfs-3g processes, the SUID privilege escalation path is genuinely dangerous. Headless servers where NTFS mounting is controlled or absent face effectively no exposure.

Exploit ScenarioDerived

A local user on a Linux system with ntfs-3g installed SUID-root creates or obtains a crafted NTFS disk image containing a directory with a specially constructed security inheritance structure. They invoke ntfs-3g to mount the image and then create a file inside the malicious directory, causing build_inherited_id() to write past its heap allocation in the root-owned process. If heap exploitation succeeds - a non-trivial task given AC:H - the attacker achieves code execution as root.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv2 – Aug 28, 2026

Heap-based buffer overflow in NTFS-3G through 2026.2.25 enables a local attacker to corrupt heap memory inside the SUID-root ntfs-3g binary by supplying a crafted NTFS image, with potential for privilege escalation to root. The flaw in build_inherited_id() (libntfs-3g/security.c) is triggered when a file is created inside a specially structured directory on the malicious volume. No public exploit identified at time of analysis; vendor patches are confirmed available for Ubuntu and SUSE.

Earlier versions of this analysis (1)
v1 Jul 16, 2026 - 16:32

Heap-based buffer overflow in NTFS-3G through 2026.2.25 enables a local attacker to corrupt heap memory inside the SUID-root ntfs-3g binary, creating a local privilege escalation path to root. The flaw resides in build_inherited_id() within libntfs-3g/security.c and is triggered by creating a file inside a specially crafted directory on a malicious NTFS image supplied by the attacker. No public exploit code has been identified at time of analysis; the issue was surfaced through the Ubuntu vendor security channel.

RemediationAI

Apply the vendor-released patch immediately. Ubuntu users should upgrade the ntfs-3g package per USN-8554-1 at https://ubuntu.com/security/notices/USN-8554-1. SUSE users should apply SUSE-SU-2026:3213 or SUSE-SU-2026:3214 as applicable to their product line, available at the respective SUSE support URLs. The upstream fix is detailed in GHSA-c9qg-fh4v-mq8r at https://github.com/tuxera/ntfs-3g/security/advisories/GHSA-c9qg-fh4v-mq8r. An exact fixed release version is not stated in the available input data; administrators should confirm the patched package version via their distribution's advisory. Where immediate patching is not feasible, removing the SUID bit from the ntfs-3g binary (chmod -s /usr/bin/ntfs-3g or equivalent) eliminates the privilege escalation path entirely - the trade-off is that unprivileged users will no longer be able to mount NTFS volumes without explicit sudo authorization. As an additional control, restricting which users or groups may invoke ntfs-3g via filesystem ACLs or sudo policy further limits the attack surface.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

NTFS-3G is a FUSE-based, full read-write NTFS driver widely deployed on Linux and other UNIX-like systems, typically installed as a SUID-root binary to allow unprivileged users to mount NTFS volumes without root credentials. The vulnerable function build_inherited_id() in libntfs-3g/security.c is responsible for computing and inheriting NTFS security identifiers when new filesystem objects are created. CWE-122 (Heap-based Buffer Overflow) indicates that the function writes beyond the bounds of a heap-allocated buffer, which in the context of a SUID-root process creates conditions for heap metadata corruption and potential arbitrary code execution. The overflow is triggered through the filesystem semantics of creating a file inside a directory crafted to carry a malicious NTFS security descriptor inheritance chain.

Know when Ntfs 3G gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vendor:ubuntu) PRIMARY 7.4 HIGH
AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
vuln.today AI 7.4 HIGH

Local attack via crafted NTFS image (AV:L), high complexity to achieve reliable heap control (AC:H), SUID binary requires no attacker privileges (PR:N), full impact on successful exploitation.

3.1 AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
SUSE 7.1 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Red Hat 8.8 HIGH

Primary rating from Vendor (vendor:ubuntu).

CVSS VectorVendor: vendor:ubuntu

Attack Vector
Local
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Analysis Updated
Aug 28, 2026 - 20:41 vuln.today
v2 - CVSS changed
CVSS changed
Aug 28, 2026 - 20:22 NVD
7.4 (HIGH)
CVE Published
Jul 15, 2026 - 00:00 cve.org
MEDIUM

DescriptionCVE.org

In NTFS-3G through 2026.2.25, a heap-based buffer overflow exists in the function build_inherited_id() in libntfs-3g/security.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 creating a file in a crafted directory.

Executive ViewAI

Why It Matters

NTFS-3G file system driver (versions through 2026.2.25) contains a heap memory corruption flaw enabling local users to escalate privileges to root. No public exploit has been identified, but vendor patches are confirmed available for major distributions. This directly impacts Linux systems supporting NTFS file access, creating root compromise risk for any endpoint with local user access.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Medium
widely used NTFS driver on Linux desktops and some servers
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact
High

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +37
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

A heap overflow occurs when a program writes data beyond the bounds of a buffer allocated in the heap memory region.

CVE-2026-40706 HIGH
8.4 Apr 21

Local privilege escalation in the SUID-root ntfs-3g binary (Tuxera NTFS-3G from 2022.10.3 up to before 2026.2.25) stems

CVE-2026-46570 HIGH
8.1 Jul 15

A heap buffer overflow in ntfs_index_walk_down() in libntfs-3g/index.c lets an attacker corrupt heap memory inside the S

CVE-2021-35266 HIGH
7.8 Sep 07

In NTFS-3G versions < 2021.8.22, when a specially crafted NTFS inode pathname is supplied in an NTFS image a heap buffer

CVE-2021-35267 HIGH
7.8 Sep 07

NTFS-3G versions < 2021.8.22, a stack buffer overflow can occur when correcting differences in the MFT and MFTMirror all

CVE-2021-35269 HIGH
7.8 Sep 07

NTFS-3G versions < 2021.8.22, when a specially crafted NTFS attribute from the MFT is setup in the function ntfs_attr_se

CVE-2021-33289 HIGH
7.8 Sep 07

In NTFS-3G versions < 2021.8.22, when a specially crafted MFT section is supplied in an NTFS image a heap buffer overflo

CVE-2021-33286 HIGH
7.8 Sep 07

In NTFS-3G versions < 2021.8.22, when a specially crafted unicode string is supplied in an NTFS image a heap buffer over

CVE-2021-35268 HIGH
7.8 Sep 07

In NTFS-3G versions < 2021.8.22, when a specially crafted NTFS inode is loaded in the function ntfs_inode_real_open, a h

CVE-2021-33287 HIGH
7.8 Sep 07

In NTFS-3G versions < 2021.8.22, when specially crafted NTFS attributes are read in the function ntfs_attr_pread_i, a he

CVE-2026-42616 HIGH
7.8 Jul 15

Heap buffer overflow in the ntfscat utility shipped with NTFS-3G through 2026.2.25 allows a crafted NTFS image to corrup

CVE-2022-40284 HIGH
7.8 Nov 06

A buffer overflow was discovered in NTFS-3G before 2022.10.3. Rated high severity (CVSS 7.8), this vulnerability is low

CVE-2022-30789 HIGH
7.8 May 26

A crafted NTFS image can cause a heap-based buffer overflow in ntfs_check_log_client_array in NTFS-3G through 2021.8.22.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Desktop 15 SP7 SUSE Linux Enterprise High Performance Computing 15 SP7 SUSE Linux Enterprise Server 15 SP7 SUSE Linux Enterprise Server for SAP Applications 15 SP7 Fixed
SUSE Linux Enterprise Module for Basesystem 15 SP7 Fixed
SUSE Linux Enterprise Module for Development Tools 15 SP7 Fixed
SUSE Linux Enterprise Server 12 SP5-LTSS Fixed
SUSE Linux Enterprise Server 15 SP6-LTSS Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy