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.
Metrics
CVSS 3.1 4.6/10
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| RT-Thread | rt-thread | <= 5.3.0 |
References
- https://github.com/RT-Thread/rt-thread
- https://github.com/RT-Thread/rt-thread/blob/99428a1e7f7447955aa860f7c969273a12095b8f/components/legacy/usb/usbdevice/class/cdc_vcom.c#L518
- https://github.com/RT-Thread/rt-thread/commit/ceef6e0ccd646aef61b907aeb9f29269d1caba50
- https://github.com/RT-Thread/rt-thread/issues/11739
- https://github.com/RT-Thread/rt-thread/pull/11770
- https://www.vulncheck.com/advisories/rt-thread-through-5.3.0-memory-corruption-via-usb-cdc-vcom-driver
Timeline
- Published
- Oct 12, 2026
- Last modified
- Oct 16, 2026
- NVD status
- Deferred