Description
GNU mtools through 4.0.49 has an out-of-bounds write in parse_vses in vfat.c.
Published: 2026-10-28
Score: 6.1 Medium
EPSS: n/a
KEV: No
Impact: Potential arbitrary code execution from local memory corruption
Action: Patch Now
AI Analysis

Impact

GNU mtools up to version 4.0.49 contains an out-of-bounds write in the parse_vses function of vfat.c. This defect can corrupt memory, potentially causing crashes or enabling an attacker to overwrite adjacent memory locations. If the overwritten data controls execution flow, the flaw could lead to arbitrary code execution on the host system. The weakness is classified as an out-of-bounds write (CWE-839).

Affected Systems

The vulnerability affects the GNU mtools utility, specifically all releases up to and including 4.0.49. Users who have installed or rely on mtools 4.0.49 or earlier are exposed. The affected component is the vfat.c module that parses FAT filesystem images.

Risk and Exploitability

The CVSS score is 6.1, indicating a medium severity. EPSS is not available, and the vulnerability is not listed in the CISA KEV catalog, suggesting it has not yet been widely exploited in the wild. The likely attack vector is local: an adversary who can write or manipulate a FAT filesystem image processed by mtools can trigger the out-of-bounds write. Successful exploitation would require sufficient privileges to run mtools and write to memory, but the vulnerability could also be leveraged for privilege escalation from a lower-privileged user to a higher-privileged context if the application runs with elevated rights.

Generated by OpenCVE AI on October 28, 2026 at 04:20 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to mtools 4.0.50 or later, which includes a patch for the out-of-bounds write in parse_vses.
  • If an immediate upgrade is not possible, restrict mtools usage to unprivileged users and isolate its execution environment, for example by running it in a sandbox or chroot jail.
  • Sanitize and audit any FAT filesystem images before passing them to mtools, ensuring that file names and metadata do not contain injected or malformed values that could trigger the parse_vses processing.

Generated by OpenCVE AI on October 28, 2026 at 04:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 28 Oct 2026 04:45:00 +0000

Type Values Removed Values Added
Title Out-of-Bounds Write in parse_vses of GNU mtools vfat.c

Wed, 28 Oct 2026 03:15:00 +0000


Wed, 28 Oct 2026 03:00:00 +0000

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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-10-28T03:01:38.786Z

Reserved: 2026-10-28T02:53:38.394Z

Link: CVE-2026-118384

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-28T03:17:14.757

Modified: 2026-10-28T03:17:14.757

Link: CVE-2026-118384

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-28T04:30:14Z

Weaknesses
  • CWE-839

    Numeric Range Comparison Without Minimum Check