CVE-2026-137327
Received Received - Intake

Divide-by-Zero in GNU mtools FAT Image Handling

Vulnerability report for CVE-2026-137327, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-26

Last updated on: 2026-11-26

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-26
Last Modified
2026-11-26
Generated
2026-11-26
AI Q&A
2026-11-26
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
GNU mtools From 0 (inc) to 4.0.50 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-369 The product divides a value by zero.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a divide-by-zero error in GNU mtools versions up to 4.0.50. It occurs when processing FAT filesystem images where the sectors-per-cluster field in the boot sector is set to zero. This causes a SIGFPE crash on x86 systems for commands like mdir, minfo, and mtype. The issue stems from the calc_num_clus() function dividing by cluster_size without validation, leading to a floating-point exception.

Detection Guidance

To detect this vulnerability, check if GNU mtools versions up to 4.0.50 are installed. Test commands like mdir, minfo, or mtype with a FAT image containing a zero sectors-per-cluster value. If the system crashes with SIGFPE on x86, the vulnerability is present.

Impact Analysis

If you use mtools commands like mdir, minfo, or mtype on a crafted FAT image with a zero sectors-per-cluster value, the program will crash with a SIGFPE signal on x86 systems. This results in a denial of service, preventing you from accessing or viewing the contents of the FAT image. The impact is limited to x86 systems; ARM64 systems may handle it differently.

Mitigation Strategies

Upgrade GNU mtools to a patched version that includes a zero-check for cluster_size in calc_num_clus(). Alternatively, avoid processing untrusted FAT images with mtools commands until patched. Monitor vendor updates for official fixes.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-137327. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...