AZL-116179: CVE-2026-137327 affecting package mtools 4.0.43-2
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
Event History
Frequently Asked Questions
What must an attacker provide to trigger the crash?
The attacker must supply a crafted FAT image whose sectors-per-cluster byte is zero. The crash occurs when mtools opens that image using mdir, minfo, or mtype.
What is the practical impact?
On x86, processing the crafted image triggers a SIGFPE in calc_num_clus(), causing the affected mtools command to terminate. The described impact is denial of service.
Which mtools versions are affected?
GNU mtools through version 4.0.50 is affected. The reported Azure Linux package version is mtools 4.0.43-2.