CVE-2025-55095CWE-121CWE-674

The function _ux_host_class_storage_media_mount() is responsible for mounting partitions on a USB mass storage device

Medium · published January 27, 2026

CVSS v3.1
4.2
EPSS
0%
Percentile
5.4
In the wild
Unconfirmed
What it is

The function _ux_host_class_storage_media_mount() is responsible for mounting partitions on a USB mass storage device. When it encounters an extended partition entry in the partition table, it recursively calls itself to mount the next logical partition.

This recursion occurs in _ux_host_class_storage_partition_read(), which parses up to four partition entries. If an extended partition is found (with type UX_HOST_CLASS_STORAGE_PARTITION_EXTENDED or EXTENDED_LBA_MAPPED), the code invokes:

_ux_host_class_storage_media_mount(storage, sector + _ux_utility_long_get(...));

There is no limit on the recursion depth or tracking of visited sectors. As a result, a malicious or malformed disk image can include cyclic or excessively deep chains of extended partitions, causing the function to recurse until stack overflow occurs.

The record
Technical detail
CVSS v3.1
4.2 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00165 · 5.4th percentile
Weaknesses
CWE-121 · Stack-based Buffer Overflow; CWE-674 · Uncontrolled Recursion
Published
2026-01-27T15:34Z
EPSS history
Timeline
  • 27 JAN 15:34Z
    The function _ux_host_class_storage_media_mount() is responsible for mounting partitions on a USB mass storage device
    cvelistv5