Skip to main content

GNU mtools EUVDEUVD-2026-136064

| CVE-2026-137327 MEDIUM
Divide By Zero (CWE-369)
2026-11-26 VulnCheck
4.8
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft FAT image with zero sectors-per-cluster
  2. Delivery
    Deliver image to victim user
  3. Exploit
    Victim opens with mdir/minfo/mtype
  4. Execution
    Divide-by-zero in calc_num_clus()
  5. Impact
    SIGFPE 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

mtools 0 ≤4.0.50

Affected Packages

euvd mtools no fix

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

Vendor (VulnCheck) PRIMARY 4.8 MEDIUM
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
vuln.today AI 3.3 LOW

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.

3.1 AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
4.0 AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Low
niche FAT/MS-DOS disk utility, packaged widely but rarely used in production
Exploit
POC
Public exploit code exists
Social Media
2
Sightings
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Gnu

View all
CVE-2014-6271 CRITICAL POC
9.8 Sep 24

GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which

CVE-2014-6278 HIGH POC
8.8 Sep 30

GNU Bash through 4.3 bash43-026 does not properly parse function definitions in the values of environment variables, whi

CVE-2026-24061 CRITICAL POC
9.8 Jan 21

GNU Inetutils telnetd through version 2.7 contains a critical authentication bypass that allows remote attackers to gain

CVE-2014-7169 CRITICAL POC
9.8 Sep 25

GNU Bash through 4.3 bash43-025 processes trailing strings after certain malformed function definitions in the values of

CVE-2023-4911 HIGH POC
7.8 Oct 03

Local privilege escalation in the GNU C Library (glibc) dynamic loader ld.so allows unprivileged local users on affected

CVE-2015-0235 CRITICAL POC
10.0 Jan 28

Heap-based buffer overflow in the __nss_hostname_digits_dots function in glibc 2.2, and other 2.x versions before 2.18,

CVE-2024-2961 HIGH POC
7.3 Apr 17

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

CVE-2014-7187 CRITICAL POC
10.0 Sep 28

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

CVE-2014-7186 CRITICAL POC
10.0 Sep 28

The redirection implementation in parse.y in GNU Bash through 4.3 bash43-026 allows remote attackers to cause a denial o

CVE-2014-6277 CRITICAL POC
10.0 Sep 27

GNU Bash through 4.3 bash43-026 does not properly parse function definitions in the values of environment variables, whi

CVE-2015-7547 HIGH POC
8.1 Feb 18

Multiple stack-based buffer overflows in the (1) send_dg and (2) send_vc functions in the libresolv library in the GNU C

CVE-2014-4877 CRITICAL POC
9.3 Oct 29

Absolute path traversal vulnerability in GNU Wget before 1.16, when recursion is enabled, allows remote FTP servers to w

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy