CVE-2026-42618

Heap Buffer Overflow in ntfs_decompress() Enables Privilege Escalation via SUID-root ntfs-3g

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_decompress() in compress.c that allows an attacker to corrupt one byte of heap memory in the SUID-root ntfs-3g binary by crafting a malicious NTFS image. The overflow is triggered by reading the special crafted file.

Analysis

AI-generated

Technical impact

A heap buffer overflow in the ntfs_decompress() function of NTFS-3G allows a malicious NTFS image to corrupt a single byte of heap memory. The corrupted data can alter control flow or data structures used by the program. Because the ntfs-3g binary commonly runs with the SUID‑root bit set, an attacker who can trigger the overflow could potentially gain elevated privileges or execute arbitrary code with root rights.

Affected Systems

All installations of NTFS-3G prior to version 2026.7.7 that are built with the SUID‑root bit enabled. The vulnerability is present in the ntfs_decompress() implementation in the compress.c source file for these builds.

Risk and Exploitability

The CVSS score of 7.1 indicates high severity. The exploit is a local attack that requires an attacker to present a specially crafted NTFS image to the vulnerable binary. No publicly disclosed remote exploitation vectors are known, and the EPSS score is not available. The vulnerability is not listed in the CISA KEV catalog. Because impact is potentially critical if the attacker can achieve a successful heap overflow, but the lack of a known remote trigger keeps the immediate exploitation risk moderate without further analysis.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade NTFS-3G to version 2026.7.7 or newer.
  • Remove the SUID‑root bit from the ntfs-3g binary or run it under a least‑privilege account.
  • Restrict access to NTFS image files so that only trusted users or processes can read them before mounting.

Generated by OpenCVE AI on October 7, 2026 at 17:10 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_decompress() Enables Privilege Escalation via SUID-root ntfs-3g
First Time appeared Tuxera
Tuxera ntfs-3g
Vendors & Products Tuxera
Tuxera ntfs-3g
Type Values Removed Values Added
Weaknesses CWE-122
CWE-193
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
Description In NTFS-3G before 2026.7.7, a heap buffer overflow exists in ntfs_decompress() in compress.c that allows an attacker to corrupt one byte of heap memory in the SUID-root ntfs-3g binary by crafting a malicious NTFS image. The overflow is triggered by reading the special crafted file.
References
Weaknesses

Sources

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