PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet

CVE-2026-42618: 
CBL Mariner vulnerability analysis and mitigation

Overview

CVE-2026-42618 is a heap-based buffer overflow vulnerability in the ntfs_decompress() function within compress.c of NTFS-3G, a widely used open-source NTFS driver. It allows a local attacker to corrupt one byte of heap memory in the SUID-root ntfs-3g binary by crafting a malicious NTFS image, potentially enabling privilege escalation to root. All versions of NTFS-3G through 2026.2.25 are affected; the vulnerability was fixed in version 2026.7.7, released July 15, 2026. It was publicly disclosed on October 7, 2026, and carries a CVSS v3.1 base score of 7.1 (High) (GitHub Advisory, Red Hat Bugzilla).

Technical details

The root cause is a single-byte heap buffer overflow (CWE-122, CWE-193 off-by-one error, CWE-787 out-of-bounds write) in the ntfs_decompress() function in compress.c. The overflow is triggered when the NTFS-3G binary processes a specially crafted compressed file within a malicious NTFS image — an attacker with local access mounts or reads from such an image, causing the decompression routine to write one byte beyond the allocated heap buffer. Because ntfs-3g runs as a SUID-root binary, this heap corruption occurs in a privileged process context, making it exploitable for privilege escalation. The vulnerability was discovered and reported by Alexandro Calo' from Nozomi Networks Labs (referenced as Nozomi Labs NN-2026-0076), along with Abhishek Kumar and Jurre van Bergen (GitHub Advisory).

Impact

Successful exploitation allows a local user with standard (low) privileges to corrupt heap memory in the privileged ntfs-3g process, potentially achieving arbitrary code execution with root privileges — a full privilege escalation. The integrity and availability of the affected system are at high risk, while confidentiality impact is rated none in the CVSS v3.1 assessment (though root-level code execution inherently enables data access). The attack does not require user interaction or elevated starting privileges, making it a significant local privilege escalation risk on any Linux or Unix system running a vulnerable NTFS-3G version (GitHub Advisory, Red Hat Bugzilla).

Exploitability

As of the time of disclosure, there is no public proof-of-concept exploit and no evidence of in-the-wild exploitation (GitHub Advisory). The NVD SSVC assessment classifies exploitation as "none" and the attack as non-automatable. The EPSS score is approximately 0.00126 (very low probability of exploitation in the near term). The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Attribution is to security researchers at Nozomi Networks Labs, with no known threat actor weaponization.

Exploitation steps

  1. Prepare a malicious NTFS image: Craft a specially constructed NTFS filesystem image containing a compressed file with malformed compression data designed to trigger the off-by-one overflow in ntfs_decompress() in compress.c.
  2. Deliver the image to the target: Place the malicious NTFS image on a medium accessible to the target system (e.g., USB drive, network share, or a file the local user can access).
  3. Trigger mounting or file read: As a low-privileged local user, cause the SUID-root ntfs-3g binary to process the malicious image — for example, by mounting the image (ntfs-3g /dev/sdX /mnt/point) or using a tool that reads from it, triggering the decompression of the crafted file.
  4. Heap corruption occurs: The ntfs_decompress() function writes one byte beyond the allocated heap buffer in the privileged ntfs-3g process, corrupting adjacent heap metadata or data.
  5. Achieve privilege escalation: By carefully controlling heap layout (heap grooming), an attacker can leverage the single-byte overflow to redirect execution flow or overwrite security-sensitive data, ultimately achieving code execution as root (GitHub Advisory, Red Hat Bugzilla).

Indicators of compromise

  • Process: Unexpected child processes (e.g., /bin/bash, sh, python) spawned by the ntfs-3g process with root privileges; ntfs-3g processes crashing with segmentation faults or heap corruption errors in system logs.
  • Logs: System logs (/var/log/syslog, /var/log/kern.log) showing ntfs-3g crashes, SIGSEGV or SIGABRT signals, or glibc heap corruption messages (e.g., malloc(): corrupted top size) associated with ntfs-3g.
  • File System: Unexpected NTFS image files (.img, .iso, .ntfs) in user-accessible directories; new SUID binaries or modified /etc/passwd//etc/shadow files following ntfs-3g execution.
  • Network: Outbound connections from the system shortly after ntfs-3g execution, potentially indicating a reverse shell established after privilege escalation.

Mitigation and workarounds

Update NTFS-3G to version 2026.7.7 or later, which includes the fix for CVE-2026-42618 along with several other security patches released on July 15, 2026. Patches are also available for the older 2022.10.3 branch (ntfs-3g_2022.10.3-cve_2026-04_1.patch). No effective workaround exists other than disallowing NTFS volumes with compressed files from being used with ntfs-3g (which is difficult to enforce in practice); alternatively, restrict access to the ntfs-3g binary for unprivileged users or disable NTFS-3G entirely if not required. Linux distributions including Ubuntu (USN-8554-1), SUSE (SUSE-SU-2026:3213-1), Debian, and Gentoo have issued updated packages (GitHub Advisory, NTFS-3G Releases).

Community reactions

The vulnerability was credited to researchers from Nozomi Networks Labs (Alexandro Calo'), Abhishek Kumar, and Jurre van Bergen, and was part of a broader batch of security fixes in the NTFS-3G 2026.7.7 security release that addressed nine CVEs simultaneously. Multiple Linux distributions (Ubuntu, SUSE, Debian, Gentoo, Mageia) issued security advisories and updated packages promptly after disclosure. The vulnerability was also noted in the context of Microsoft's October 2026 Patch Tuesday coverage, reflecting its cross-platform relevance given NTFS-3G's use in Linux environments that interact with Windows filesystems (GitHub Advisory, BleepingComputer).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

bookworm

ntfs-3g

Affected

sid

ntfs-3g: 1:2026.7.7-2

Fixed

trixie

ntfs-3g: 1:2022.10.3-5+deb13u2

Fixed

Ubuntu

Fixed

bionic (esm-infra)

ntfs-3g

Unknown

devel

ntfs-3g

Not Affected

focal (esm-infra)

ntfs-3g

Unknown

jammy

ntfs-3g: 1:2021.8.22-3ubuntu1.4

Fixed

noble

ntfs-3g: 1:2022.10.3-1.2ubuntu3.2

Fixed

resolute

ntfs-3g: 1:2022.10.3-5ubuntu1.1

Fixed

trusty (esm-infra-legacy)

ntfs-3g

Unknown

xenial (esm-infra-legacy)

ntfs-3g

Unknown

Alpine

Fixed

edge

ntfs-3g: 2026.7.7-r0

Fixed

Source: This report was generated using AI

Related CBL Mariner vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-98383HIGH7.1
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-internal
NoYesOct 09, 2026
CVE-2026-98381HIGH7.1
  • Linux Kernel logoLinux Kernel
  • kernel-zfcpdump-modules-partner
NoYesOct 09, 2026
CVE-2026-98382MEDIUM5.1
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug
NoYesOct 09, 2026
CVE-2026-98380MEDIUM5.1
  • Linux Kernel logoLinux Kernel
  • linux-nvidia-tegra
NoYesOct 09, 2026
CVE-2026-98384LOW3.3
  • Linux Kernel logoLinux Kernel
  • linux-drivers-sound
NoYesOct 09, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management