GNU mtools <=4.0.50 DIV/0 DoS in FAT calc_num_clus
CVE-2026-137327 Published on November 26, 2026

GNU mtools through 4.0.50 Divide-by-Zero via Sectors-per-Cluster in calc_num_clus()
GNU mtools through 4.0.50 contains a divide-by-zero vulnerability that allows attackers to crash mtools commands by supplying a FAT image with a zero sectors-per-cluster byte. Attackers can craft a FAT image that, when opened with mdir, minfo or mtype, triggers a SIGFPE in calc_num_clus() on x86, causing denial of service.

NVD

A proof of concept, or POC exists for this vulnerability.

Vulnerability Analysis

CVE-2026-137327 can be exploited with local system access. This vulnerability is considered to have a low attack complexity. Public availability of a proof of concept (POC) exploit exists for CVE-2026-137327. The potential impact of an exploit of this vulnerability is considered to have no impact on confidentiality and integrity and availability.

Exploitation:
POC
Automatable:
NO
Technical Impact:
PARTIAL
Attack Vector:
LOCAL
Attack Complexity:
LOW
Privileges Required:
NONE
User Interaction:
PASSIVE

Weakness Type

Divide By Zero

The product divides a value by zero. This weakness typically occurs when an unexpected value is provided to the product, or if an error occurs that is not properly detected. It frequently occurs in calculations involving physical dimensions such as size, length, width, and height.


Affected Versions

GNU mtools:

Exploit Probability

EPSS
0.35%
Percentile
30.65%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.