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

State
Published
Severity
4.8 Medium
Published
Nov 26, 2026
Updated
Nov 30, 2026
Reserved
Nov 26, 2026

Read the record on cve.org

Description

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.

ProductVersions
mtools GNU4.0.50 and earlier Affected

Weaknesses

References

Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.

© 2026 NVIDIA, the NVIDIA logo, and NVIDIA Inception are trademarks and/or registered trademarks of NVIDIA Corporation in the U.S. and other countries.