RT-Thread device.c sys_device_write memory corruption
CVE-2025-6693Published 26 Jun 2025, 13:00 UTC
Real-world risk
4.3/ 10Medium
Schedule in the normal cycle
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.5
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from VulDB)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| RT-ThreadNiche | = 5.0; = 5.1.0 | — |
What to do
Check the vendor advisory in the references below for fixed versions and workarounds.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | LowA real low-privileged account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.3% chance of exploitation in 30 days (percentile 28), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.500
- Threat T1: Nothing known0.850
- 10 × impact 1 × prerequisites 0.5 × threat 0.854.250
- Rounded to one decimal between 0.1 and 104.3
Exploitation and evidence timeline
- 26 Jun 2025 Published
- 3 Dec 2026 Risk 4.3 (cvss fallback)
Weakness
CWE-119
References
- https://vuldb.com/?id.313959technical-description, vdb-entry
- https://vuldb.com/?ctiid.313959permissions-required, signature
- https://vuldb.com/?submit.595813third-party-advisory
- https://vuldb.com/?submit.595814third-party-advisory
- https://vuldb.com/?submit.595827third-party-advisory
- https://vuldb.com/?submit.595869third-party-advisory
- https://vuldb.com/?submit.595870third-party-advisory
- https://vuldb.com/?submit.595871third-party-advisory
- https://github.com/RT-Thread/rt-thread/issues/10387issue-tracking
- CVE-2025-6693 on CVE.org