Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft FAT image with zero sectors-per-cluster
-
DeliveryDeliver image to victim user
-
ExploitVictim opens with mdir/minfo/mtype
-
ExecutionDivide-by-zero in calc_num_clus()
-
ImpactSIGFPE crashes command (DoS)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Division safety checks
|
| Exploitation Conditions | Exploitation requires the victim to open an attacker-supplied FAT disk image using one of the specific mtools commands mdir, minfo, or mtype; the malicious image must set the sectors-per-cluster byte to zero, which is then used as a divisor in calc_num_clus(). Limiting factors: the attack is local (AV:L) and requires user interaction (the victim must voluntarily process the crafted image), there is no privilege escalation or code execution, impact is confined to a process crash, and the description notes the SIGFPE arises on x86 - so the condition is tied to that architecture's integer-divide fault behavior. |
| Impact | This is a low-to-moderate severity local denial-of-service issue, not a priority emergency. The supplied CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L) confirms a local attack vector with no privileges but passive user interaction, and the only impact is limited availability (VA:L) - a crash of the mtools command, with no confidentiality or integrity impact. The signals are mutually consistent rather than conflicting: the vuln.today decision label is 'this_month' (not act_now/emergency), there is no CISA KEV listing and no EPSS score in the provided data, and the only exploit artifact is a mailing-list reference, not verified working exploit code. The real-world risk is bounded by the fact that an attacker cannot trigger this remotely or without the victim voluntarily running mdir/minfo/mtype against an attacker-supplied FAT image, and the outcome is merely a terminated process (SIGFPE) rather than code execution or data exposure. Missing data to note explicitly: no EPSS probability was provided, no fixed version is stated in the evidence (the description only bounds the flaw to 'through 4.0.50'), and the crash is noted as x86-specific in the description. |
| Exploit ScenarioDerived | An attacker crafts a malformed FAT filesystem image with the sectors-per-cluster byte set to zero and delivers it to a victim (e.g., as an email attachment, download, or shared disk image). When the victim inspects it with mdir, minfo, or mtype, calc_num_clus() divides by the zero cluster size and raises a SIGFPE, terminating the command. A mailing-list PoC reference exists but is not verified as working exploit code; the local vector and required user interaction limit this to a nuisance-level denial of service. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 26, 2026
Divide-by-zero in GNU mtools through 4.0.50 lets an attacker crash the mdir, minfo, and mtype utilities by supplying a FAT disk image whose sectors-per-cluster byte is zero, which is then used as a divisor inside calc_num_clus() and raises a SIGFPE. Exploitation requires the victim to open the attacker-supplied image with one of those commands, so the attack is local and needs user interaction, and the impact is confined to a process crash with no code execution, data modification, or privilege gain. A public PoC reference exists but is not verified as working exploit code, and no active exploitation (CISA KEV) has been confirmed.
RemediationAI
No vendor-released patch was identified at time of analysis, and the supplied references do not state a fixed version, so administrators should track the GNU mtools project page (https://www.gnu.org/software/mtools/) and the info-mtools list thread (https://lists.gnu.org/archive/html/info-mtools/2026-11/msg00000.html) plus the VulnCheck advisory (https://www.vulncheck.com/advisories/gnu-mtools-through-4.0.50-divide-by-zero-via-sectors-per-cluster-in-calc-num-clus) for an update. Because the trigger is a zero sectors-per-cluster byte, one practical control is to inspect any untrusted FAT image with a hex editor or a separate image parser and confirm the sectors-per-cluster field is non-zero before running mdir, minfo, or mtype against it; the trade-off is a manual pre-screening step that does not scale to bulk or automated workflows. Where image contents cannot be vetted, run mtools commands inside a disposable container or sandbox with resource limits so a SIGFPE terminates only the isolated process, accepting the overhead of a sandboxed workflow. Avoid invoking mdir, minfo, or mtype directly on images received from untrusted sources, and prefer processing such media on non-x86 hosts or through alternative FAT tooling where the architecture-specific divide fault does not apply; this reduces exposure but does not remove the underlying missing zero check.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
mtools is a collection of utilities (mdir, minfo, mtype, mcopy and others) that read and write FAT12/16/32 filesystems directly from disk images or devices without mounting them. The FAT boot sector / BIOS Parameter Block stores a sectors-per-cluster value at a fixed offset, and mtools' calc_num_clus() routine uses that byte as a divisor when deriving cluster counts from the image geometry. The code fails to validate that the value is non-zero (CWE-369, divide by zero), so a crafted image sets it to 0x00 and the division traps. The authority's assessment notes the resulting SIGFPE is tied to x86 integer-divide fault behavior, so the crash is architecture-dependent rather than guaranteed on every platform. The CPE entry cpe:2.3:a:gnu:mtools:*:*:*:*:*:*:*:* carries a wildcard version, meaning the advisory scope is all releases through 4.0.50 with no fixed-version boundary identified in the supplied data. The trigger requires no crafted heap layout or timing condition: it is a single malformed metadata field consumed by the parsing path.
Know when Gnu gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Local-only trigger via a file the victim must open gives AV:L and UI:R; no auth needed (PR:N); only the command crashes, so C:N/I:N and A:L.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which
GNU Bash through 4.3 bash43-026 does not properly parse function definitions in the values of environment variables, whi
GNU Inetutils telnetd through version 2.7 contains a critical authentication bypass that allows remote attackers to gain
GNU Bash through 4.3 bash43-025 processes trailing strings after certain malformed function definitions in the values of
Local privilege escalation in the GNU C Library (glibc) dynamic loader ld.so allows unprivileged local users on affected
Heap-based buffer overflow in the __nss_hostname_digits_dots function in glibc 2.2, and other 2.x versions before 2.18,
The iconv() function in the GNU C Library versions 2.39 and older may overflow the output buffer passed to it by up to 4
Off-by-one error in the read_token_word function in parse.y in GNU Bash through 4.3 bash43-026 allows remote attackers t
The redirection implementation in parse.y in GNU Bash through 4.3 bash43-026 allows remote attackers to cause a denial o
GNU Bash through 4.3 bash43-026 does not properly parse function definitions in the values of environment variables, whi
Multiple stack-based buffer overflows in the (1) send_dg and (2) send_vc functions in the libresolv library in the GNU C
Absolute path traversal vulnerability in GNU Wget before 1.16, when recursion is enabled, allows remote FTP servers to w
EUVD-2026-136064
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB