Buffer overflow in Rt-Thread
CVE-2025-6693
A vulnerability, which was classified as critical, was found in RT-Thread up to 5.1.0. This affects the function sys_device_open/sys_device_read/sys_device_control/sys_device_init/sys_device_close/sys_device_write of the file components/drivers/core/device.c. The manipulation leads to memory corruption. It is possible to launch the attack on the local host. The vendor was contacted early about this disclosure but did not respond in any way.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.003, 22.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Rt-Thread
- Rt-Thread — versions 5.0, 5.1.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (fkie-cad/nvd-json-data-feeds). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- VDB-313959 | RT-Thread device.c sys_device_write memory corruption (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-313959 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #595813 | RT-Thread 5.1.0 Code Injection (Third Party Advisory, VDB Entry, third-party-advisory)
- Submit #595814 | RT-Thread 5.1.0 Insufficient Control Flow Management (Duplicate) (Third Party Advisory, VDB Entry, third-party-advisory)
- Submit #595827 | RT-Thread 5.1.0 Improper Handling of Parameters (Duplicate) (Third Party Advisory, VDB Entry, third-party-advisory)
- Submit #595869 | RT-Thread 5.1.0 Improper Handling of Parameters (Duplicate) (Third Party Advisory, VDB Entry, third-party-advisory)
- Submit #595870 | RT-Thread 5.1.0 Improper Handling of Parameters (Duplicate) (Third Party Advisory, VDB Entry, third-party-advisory)
- Submit #595871 | RT-Thread 5.1.0 Improper Handling of Parameters (Duplicate) (Third Party Advisory, VDB Entry, third-party-advisory)
- github.com/RT-Thread/rt-thread/issues/10387 (issue-tracking, Exploit, Issue Tracking)