Divide-by-Zero Vulnerability in GNU mtools Affects Multiple Commands
CVE-2026-137327

4.8MEDIUM

Key Information:

Vendor

Gnu

Status
Vendor
CVE Published:
26 November 2026

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)
.