CVE-2026-137327 PUBLISHED

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

Assigner: VulnCheck
Reserved: 26.11.2026 Published: 26.11.2026 Updated: 26.11.2026

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.

Metrics

CVSS Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
CVSS Score: 4.8

Product Status

Vendor GNU
Product mtools
Versions Default: unaffected
  • affected from 0 to 4.0.50 (incl.)

Credits

  • Matt Jesc (Nodejam) finder

References

Problem Types

  • Divide By Zero CWE