RT-Thread device.c sys_device_write memory corruption
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-119 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | RT-Thread | 5.0; 5.1.0 | — | No fix listed | CNA |
- RT-Thread Vendor— Affected 5.0; 5.1.0 Fixed in — No fix listed CNA
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2025-6693
- 2026-10-03 Alias added: GHSA-mq4w-gr2r-39x4
References
More Rt-thread vulnerabilities
- TI-2024-16722 A buffer overflow occurs in utilities/rt-link/src/rtlink.c in RT-Thread through 5.0.2. CVSS 3.1HIGH 8.8
- TI-2025-05294 RT-Thread lwp_syscall.c sys_sigprocmask array index CVSS 4.0HIGH 8.6
- TI-2025-05293 RT-Thread Parameter lwp_syscall.c sys_select memory corruption CVSS 4.0HIGH 8.6
- TI-2024-16718 A stack buffer overflow occurs in libc/posix/ipc/mqueue.c in RT-Thread through 5.0.2. CVSS 3.1HIGH 8.4
- TI-2024-16717 A heap buffer overflow occurs in finsh/msh_file.c and finsh/msh.c in RT-Thread through 5.0.2. CVSS 3.1HIGH 8.4
- TI-2024-16715 drivers/wlan/wlan_mgmt,c in RT-Thread through 5.0.2 has an integer signedness error and resultant buffer overflow. CVSS 3.1HIGH 8.4
Sources
- CVE-2025-6693 · CVE Program
- CVE-2025-6693 · NVD
- FIRST EPSS
- GHSA-mq4w-gr2r-39x4 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences