Skip to main content

GNU mtools CVE-2026-118384

| EUVDEUVD-2026-111572 MEDIUM
Numeric Range Comparison Without Minimum Check (CWE-839)
2026-10-28 mitre GHSA-9h57-5h59-g528
6.1
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

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

  1. Access
    Craft malicious FAT/VFAT disk image
  2. Exploit
    Victim runs mtools command on image
  3. Execution
    Out-of-bounds write triggered in parse_vses
  4. Impact
    Memory corruption and tool crash

Vulnerability Assessment

Weakness
CWE
Exploitation Conditions

Exploitation requires the victim to invoke an mtools utility (e.g. mdir, mcopy, minfo) against an attacker-supplied FAT/VFAT disk image or device whose VFAT long-filename sequence entries are malformed so that parse_vses in vfat.c performs the out-of-bounds write. The limiting factors are significant: the CVSS vector is local (AV:L), so the attacker must get the crafted image onto a system the victim will process, and user interaction is required (UI:R) - the flaw does not trigger without someone deliberately running mtools on the image. No authentication is needed (PR:N). Affected scope is GNU mtools versions through 4.0.49; no non-default configuration is called out in the available sources, and the precise structural trigger beyond 'malformed VSE parsing' is not described.

Impact

This is a moderate, not urgent, priority. The CVSS 3.1 vector (6.1, AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H) describes a local-only issue: the attacker needs no privileges but DOES require user interaction (UI:R), and the primary impact is availability (A:H, i.e. a crash) with only low integrity impact and no confidentiality impact. The vuln.today decision label is 'this_month' rather than act_now or emergency, which is consistent with a local-vector, interaction-dependent memory-safety bug. Key decision signals are MISSING from the input: no EPSS exploitation-probability score is provided, and there is no CISA KEV listing - so there is no evidence of active exploitation, and 'this_month' should be read as the ceiling of urgency here, not a floor. The references include source-code line pointers (deepin-community mirror of vfat.c around parse_vses) but these are code locations, not a working exploit, so there is no public exploit identified at time of analysis. CWE-839 (numeric range comparison without a minimum check) plus an out-of-bounds write is a classic memory-safety defect whose realistic ceiling is denial of service, with code execution unproven because the trigger's controllability is not described in the available sources. Net: a legitimate bug to patch on a normal cadence, not a high-CVSS-but-hollow issue and not a drop-everything emergency.

Exploit ScenarioDerived

An attacker crafts a malformed FAT/VFAT disk image or device whose VFAT long-filename (VSE) sequence entries violate the expected numeric range, then induces a victim to process it with an mtools command (for example mdir, mcopy, or minfo). When parse_vses in vfat.c parses the crafted entries it performs an out-of-bounds write, corrupting memory and typically crashing the tool. No public exploit has been identified; exploitation requires local delivery of the image and the victim actively running mtools against it.

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

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

Alert me

AnalysisAIv1 – Oct 28, 2026

Out-of-bounds write in GNU mtools through 4.0.49 occurs in parse_vses in vfat.c when a crafted FAT/VFAT disk image or device contains malformed VFAT long-filename sequence entries. Exploitation requires a local attacker to get the image onto the system and the victim to invoke an mtools utility such as mdir, mcopy, or minfo against it; no authentication is needed, but user interaction is required. CVSS 3.1 score is 6.1 (C:N/I:L/A:H), no public exploit or CISA KEV entry is identified at time of analysis, and the priority is moderate (this_month), not urgent.

RemediationAI

No vendor-released patch is identified in the provided data, and no fixed version is listed; confirm the current upstream release and upgrade GNU mtools beyond 4.0.49 as soon as a patched release is available, using the upstream source and announcement references at https://ftp.gnu.org/gnu/mtools/mtools-4.0.49.tar.gz and https://lists.gnu.org/archive/html/info-gnu/2025-06/msg00004.html. Until a fix is confirmed, do not run mtools utilities such as mdir, mcopy, or minfo against untrusted or attacker-supplied FAT/VFAT images or devices, and avoid automating ingestion of such images; this prevents the crafted VSE parsing path from being reached but blocks legitimate access to untrusted media. Where mtools must handle removable media, isolate processing in a disposable or constrained environment and restrict which users can invoke the utilities; these compensating controls reduce exposure but do not remove the underlying out-of-bounds write. Because exploitation requires the victim to open the crafted image, user awareness and controls on untrusted image ingestion further reduce risk.

Affected VersionsENISA

mtools 0 ≤4.0.49

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

GNU mtools provides DOS/FAT filesystem utilities that operate directly on disk images and devices without mounting them. The affected routine is parse_vses in vfat.c, which parses VFAT long-filename sequence entries. CWE-839 (numeric range comparison without minimum check) points to a bounds-validation weakness in that parsing path; when VSE data is malformed, the routine can perform an out-of-bounds write. The CVSS vector is AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H: local access, no privileges required, but the victim must invoke an mtools utility on the crafted image, with low integrity impact, high availability impact, and no confidentiality impact. The available sources do not describe the exact byte-level trigger beyond malformed VSE parsing, and no non-default configuration is called out. The CPE cpe:2.3:a:gnu:mtools:*:*:*:*:*:*:*:* matches the affected GNU mtools product family through version 4.0.49.

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 (mitre) PRIMARY 6.1 MEDIUM
AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H
vuln.today AI 6.1 MEDIUM

Local because mtools processes a supplied disk image (AV:L), no privileges but victim must run the tool (PR:N/UI:R); out-of-bounds write crashes the process (A:H) with limited integrity impact (I:L) and no data disclosure (C:N).

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

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
High

DescriptionCVE.org

GNU mtools through 4.0.49 has an out-of-bounds write in parse_vses in vfat.c.

Threat Intelligence Overview

EPSS Score
0.3%
Top 75% exploitable
Prevalence
Low
niche FAT-disk utility, packaged in distros but rarely used in production
Social Media
1
Sightings
Data Quality
5 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 No
EPSS 0.3%
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
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

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

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

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