Skip to content

RT-Thread

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?

ProductAffected 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

FactorValueEvidence×
ImpactFull compromiseCode execution or full control of the system or applicationFrom the CVSS vector1.00
Attacker positionLocalMust already run code or have a shell on the machineFrom the CVSS vector0.50
Privileges neededLowA real low-privileged accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.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
  1. Prerequisites multiplied together0.500
  2. Threat T1: Nothing known0.850
  3. 10 × impact 1 × prerequisites 0.5 × threat 0.854.250
  4. Rounded to one decimal between 0.1 and 104.3

How the score works

Exploitation and evidence timeline

  1. 26 Jun 2025 Published
  2. 3 Dec 2026 Risk 4.3 (cvss fallback)

Weakness

CWE-119

References

Get alerts for RT-Thread

Free email or text alerts when a vulnerability in RT-Thread reaches risk 8 or higher. Nothing else.