CVE-2026-118384

mtools: mtools: Denial of Service via out-of-bounds write in VFAT parsing

Published Oct 28, 2026 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
Description
GNU mtools before 4.0.50 has an out-of-bounds write in parse_vses in vfat.c.

Analysis

AI-generated

Technical impact

GNU mtools before 4.0.50 contains an out‑of‑bounds write in the parse_vses function of vfat.c. The flaw can corrupt memory and cause the application to crash, resulting in a denial of service. The error is an out‑of‑bounds write (CWE-787) and a numeric range exceeded condition (CWE-839).

Affected Systems

The vulnerability affects the GNU mtools utility, versions before 4.0.50. The flaw resides in the vfat.c component that parses FAT filesystem images.

Risk and Exploitability

The CVSS score is 6.1, indicating medium severity. The EPSS score of 0.32% shows a very low but non-zero likelihood of exploitation, and the vulnerability is not listed in the CISA KEV catalog. Likely attack vectors are local: an adversary who can craft a malicious FAT filesystem image processed by mtools can trigger the out-of-bounds write. Successful exploitation would cause the program to crash, denying service to users running mtools. If mtools runs with elevated privileges, the denial of service could affect higher privileged processes. Overall, the risk is moderate but exploitation opportunities are limited due to the low EPSS and the local nature of the attack.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to mtools 4.0.50 or later, which patches the out-of-bounds write in parse_vses.
  • If an immediate upgrade is not possible, restrict execution of mtools to unprivileged users or run it in a sandbox or chroot to contain crashes.
  • Sanitize FAT filesystem images before passing them to mtools to avoid malformed input that could trigger the flaw.

Generated by OpenCVE AI on October 31, 2026 at 16:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description GNU mtools through 4.0.49 has an out-of-bounds write in parse_vses in vfat.c. GNU mtools before 4.0.50 has an out-of-bounds write in parse_vses in vfat.c.
References
Type Values Removed Values Added
Title Out-of-Bounds Write in parse_vses of GNU mtools vfat.c mtools: mtools: Denial of Service via out-of-bounds write in VFAT parsing
Weaknesses CWE-787
References
Metrics threat_severity

None

threat_severity

Moderate

Type Values Removed Values Added
First Time appeared Gnu
Gnu mtools
Vendors & Products Gnu
Gnu mtools
Type Values Removed Values Added
Title Out-of-Bounds Write in parse_vses of GNU mtools vfat.c
Type Values Removed Values Added
Description GNU mtools through 4.0.49 has an out-of-bounds write in parse_vses in vfat.c.
Weaknesses CWE-839
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:H'}

Weaknesses
  • CWE-787

    Out-of-bounds Write

  • CWE-839

    Numeric Range Comparison Without Minimum Check

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Nov 2, 2026, 5:10 PM
Reserved
Oct 28, 2026, 2:53 AM
Status
Awaiting Analysis
Published
Oct 28, 2026, 3:17 AM
Modified
Nov 9, 2026, 8:10 PM
Severity
Moderate
Public date
Oct 28, 2026, 2:53 AM