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

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

Overview

CVE-2026-42616 is a heap-based buffer overflow vulnerability in the cat() function within ntfscat.c of NTFS-3G, an open-source NTFS driver. It allows a local attacker to corrupt heap memory in the ntfscat binary by crafting a malicious NTFS image and triggering the overflow through a file read operation. All versions of NTFS-3G through 2026.2.25 are affected; the vulnerability was patched in version 2026.7.7, released July 15, 2026. It carries a CVSS v3.1 base score of 7.8 (High) (Feedly, GitHub Advisory).

Technical details

The root cause is classified as CWE-122 (Heap-based Buffer Overflow) and CWE-131 (Incorrect Calculation of Buffer Size): the cat() function in ntfscat.c does not correctly calculate the required buffer size when processing file data from an NTFS image, leading to an out-of-bounds write (CWE-787) on the heap (GitHub Advisory). The attack vector is local and requires user interaction — specifically, a victim must use ntfscat to read a file from a maliciously crafted NTFS image. No privileges are required for the attacker, but the impact is amplified if ntfscat is run as a superuser. The vulnerability was reported by Alexandro Calo' from Nozomi Networks Labs (reference: NN-2026-0077) (GitHub Advisory, NTFS-3G Releases).

Impact

Successful exploitation can result in heap memory corruption within the ntfscat process, potentially enabling arbitrary code execution with the privileges of the process. If ntfscat is executed as root or a privileged user, this could lead to full system compromise, including confidentiality, integrity, and availability impacts. The Red Hat Bugzilla entry characterizes this as a privilege escalation scenario via heap-based buffer overflow (Red Hat Bugzilla, GitHub Advisory).

Exploitability

As of the time of reporting, there is no public proof-of-concept exploit and no evidence of active in-the-wild exploitation (Feedly). The EPSS score is approximately 0.169%, indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires local access and user interaction (the victim must run ntfscat against a crafted image), which limits the attack surface compared to remote vulnerabilities.

Exploitation steps

  1. Craft a malicious NTFS image: Using NTFS image creation tools or by directly manipulating raw NTFS structures, create a specially crafted NTFS filesystem image containing a file whose metadata causes an incorrect buffer size calculation in ntfscat's cat() function.
  2. Deliver the image to the target: Social-engineer or otherwise cause a privileged user (ideally root) to receive the malicious NTFS image file (e.g., via email attachment, shared storage, or a removable drive).
  3. Trigger the vulnerable code path: Induce the target user to run ntfscat against the malicious image to read a file, e.g.: ntfscat malicious.img /targetfile
  4. Heap corruption and code execution: The cat() function processes the file data with an incorrectly calculated buffer size, causing a heap buffer overflow. With a carefully crafted image, an attacker can overwrite heap metadata or function pointers to redirect execution flow and achieve arbitrary code execution with the privileges of the ntfscat process (GitHub Advisory, NTFS-3G Releases).

Indicators of compromise

  • Process: Unexpected child processes spawned from ntfscat (e.g., shells, network utilities) following execution against an external or untrusted NTFS image.
  • File System: Presence of unfamiliar or externally sourced .img or .ntfs files in user directories; unexpected new files or modified binaries following ntfscat execution.
  • Logs: System logs (e.g., /var/log/syslog, /var/log/auth.log) showing ntfscat invocations by privileged users against unusual image paths; crash/core dump files associated with the ntfscat process indicating memory corruption.
  • Network: Unexpected outbound connections from the host shortly after ntfscat execution, which may indicate a reverse shell or data exfiltration attempt if exploitation was successful.

Mitigation and workarounds

Upgrade NTFS-3G to version 2026.7.7 or later, which contains the fix for CVE-2026-42616 along with several other security issues patched in the same release (NTFS-3G Releases). Backport patches are also available for NTFS-3G 2022.10.3 and 2026.2.25 (ntfs-3g_2022.10.3-cve_2026-04_2.patch and ntfs-3g_2026.2.25-cve_2026-04_2.patch) (GitHub Advisory). As a workaround, avoid running ntfscat as a superuser and restrict access to mounting or reading untrusted NTFS images. Linux distributions including Ubuntu (USN-8554-1), SUSE (SUSE-SU-2026:3213-1), and Debian have issued updated packages.

Community reactions

The vulnerability was disclosed by Alexandro Calo' from Nozomi Networks Labs (reference NN-2026-0077), and credited in the NTFS-3G 2026.7.7 release notes (NTFS-3G Releases). The patch release addressed nine CVEs simultaneously, attracting attention from the Linux security community. Coverage appeared on Linux security news aggregators (linuxsecurity.com, linuxcompatible.org) and the vulnerability was noted in the context of Microsoft's October 2026 Patch Tuesday, which referenced it among a large batch of fixes (BleepingComputer). No significant social media controversy or researcher debate has been observed.

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