4.2Medium

CVE-2025-55095

Eclipse Foundation Eclipse ThreadX - USBX Published: (9 months ago)

Description

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.

Weakness (CWE): CWE-121CWE-674CWE-787

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Eclipse Foundation Eclipse ThreadX - USBX ≤ 6.4.2
eclipse threadx usbx < 6.4.5.202504

References and patches

CPE matches (NVD) (1)

  • cpe:2.3:a:eclipse:threadx_usbx:*:*:*:*:*:*:*:* < 6.4.5.202504