CVE-2026-137327: GNU mtools through 4.0.50 Divide-by-Zero via Sectors-per-Cluster in calc_num_clus()

Published Nov 26, 2026
·
Updated

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 calcnumclus() on x86, causing denial of service.

Affected Software

1 affected component
GNU mtools<=4.0.50

Event History

Nov 26, 2026
CVE Published
via MITRE·02:50 AM
Data Sourced
via MITRE·02:50 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:16 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Users or systems that run mtools commands against attacker-supplied or otherwise untrusted FAT images are exposed. The reported affected commands are mdir, minfo, and mtype.

2

What does an attacker need to exploit it?

The attacker needs to provide a crafted FAT image with its sectors-per-cluster byte set to zero and have a user or process open it with an affected mtools command. No privileges are required, but user interaction is required according to the supplied severity vector.

3

What is the impact of successful exploitation?

Opening the crafted image can trigger a SIGFPE in calc_num_clus() on x86, crashing the mtools command. The supplied information describes a denial-of-service impact only.

4

How can I tell whether an image is likely to trigger the issue?

The triggering condition is a FAT image whose sectors-per-cluster byte is zero. Affected processing is reported for mdir, minfo, or mtype when they open such an image.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203