CVE-2025-55095

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:eclipse:threadx_usbx:*:*:*:*:*:*:*:*

History

02 Apr 2026, 20:28

Type Values Removed Values Added
First Time Eclipse threadx Usbx
Eclipse
References () https://github.com/eclipse-threadx/usbx/security/advisories/GHSA-qfmp-wch9-rpv2 - () https://github.com/eclipse-threadx/usbx/security/advisories/GHSA-qfmp-wch9-rpv2 - Exploit, Vendor Advisory
CWE CWE-787
CPE cpe:2.3:a:eclipse:threadx_usbx:*:*:*:*:*:*:*:*
Summary
  • (es) La función _ux_host_class_storage_media_mount() es responsable de montar particiones en un dispositivo de almacenamiento masivo USB. Cuando encuentra una entrada de partición extendida en la tabla de particiones, se llama a sí misma recursivamente para montar la siguiente partición lógica. Esta recursión ocurre en _ux_host_class_storage_partition_read(), que analiza hasta cuatro entradas de partición. Si se encuentra una partición extendida (con el tipo UX_HOST_CLASS_STORAGE_PARTITION_EXTENDED o EXTENDED_LBA_MAPPED), el código invoca: _ux_host_class_storage_media_mount(storage, sector + _ux_utility_long_get(...)); No hay límite en la profundidad de recursión ni seguimiento de los sectores visitados. Como resultado, una imagen de disco maliciosa o malformada puede incluir cadenas cíclicas o excesivamente profundas de particiones extendidas, lo que hace que la función recurra hasta que ocurra un desbordamiento de pila.

27 Jan 2026, 16:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-01-27 16:16

Updated : 2026-04-02 20:28


NVD link : CVE-2025-55095

Mitre link : CVE-2025-55095

CVE.ORG link : CVE-2025-55095


JSON object : View

Products Affected

eclipse

  • threadx_usbx
CWE
CWE-121

Stack-based Buffer Overflow

CWE-674

Uncontrolled Recursion

CWE-787

Out-of-bounds Write