CVE Catalog

CVE-2025-55095

MediumCVSS 4.2
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.17%

6th percentile - higher than 6% of all known CVEs

Summary

The _ux_host_class_storage_media_mount() function mounts partitions on a USB mass storage device and, upon encountering an extended partition entry, recursively calls itself to mount the next logical partition. There is no limit on recursion depth or tracking of visited sectors, so a malicious or malformed disk image can include cyclic or excessively deep chains of extended partitions, causing stack overflow.

Risk Assessment

Connecting a malicious or malformed USB drive can cause stack overflow and system crash (denial of service). Depending on context, this may lead to device instability or service interruption.

Recommendation

Update the USB stack (USBX) to a version that limits recursion and tracks visited sectors. Avoid connecting unknown USB media to sensitive devices.

Other vulnerabilities in USBX

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS