Divide-by-Zero Vulnerability in GNU mtools Affects Multiple Commands
CVE-2026-137327
4.8MEDIUM
Key Information:
Badges
๐พ Exploit Exists๐ก Public PoC
What is CVE-2026-137327?
GNU mtools before version 4.0.50 is vulnerable to a divide-by-zero issue. An attacker can create a specially crafted FAT image, setting the sectors-per-cluster byte to zero. This manipulation triggers a SIGFPE error in the calc_num_clus() function when commands such as mdir, minfo, or mtype are executed, leading to a denial of service. This vulnerability exposes users to potential disruptions in functionality when handling FAT formatted images.
Affected Version(s)
mtools 0 <= 4.0.50
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
CVSS V4
Score:
4.8
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
Low
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown
Timeline
- ๐ก
Public PoC available
- ๐พ
Exploit known to exist
Vulnerability published
Vulnerability Reserved
Credit
Matt Jesc (Nodejam)