RT-Thread through 5.3.0 Memory Corruption via USB CDC VCOM Driver
rt-thread
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| RT-Thread rt-thread |
| No fix yet |
Original description
RT-Thread through 5.3.0 contains a memory corruption vulnerability in the legacy USB CDC virtual COM port driver that aliases rx_ringbuffer as a Serial V2 rt_serial_rx_fifo in _function_enable(). A connected USB host configuring the CDC device triggers writes past the ring buffer into struct vcom members and an invalid rt_free() on close, causing denial of service.
From the CVE record · VulnCheck
References
- github.com/RT-Thread/rt-thread/issues/11739
- github.com/RT-Thread/rt-thread/pull/11770Patch
- github.com/RT-Thread/rt-thread/commit/ceef6e0ccd646aef61b907aeb9f29269d1caba50Patch
- github.com/RT-Thread/rt-thread/blob/99428a1e7f7447955aa860f7c969273a12095b8f/components/legacy/usb/usbdevice/class/cdc_vcom.c#L518
- github.com/RT-Thread/rt-thread
- vulncheck.com/advisories/rt-thread-through-5.3.0-memory-corruption-via-usb-cdc-vcom-driver
- github.com/CVEProject/cvelistV5/tree/main/cves/2026/108xxx/CVE-2026-108952.json
- nvd.nist.gov/vuln/detail/CVE-2026-108952