CVE-2025-6693 RT-Thread device.c sys_device_write memory corruption

High 8.5 Published Updated

Local attackers can exploit memory corruption in RT-Thread device drivers to potentially execute arbitrary code or escalate privileges.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-6693?

CVE-2025-6693 is a high-severity memory corruption vulnerability in RT-Thread, published on 26 Jun 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-119

Which versions are affected by CVE-2025-6693?

It affects 1 product.

Products include Rt-Thread Rt-Thread.

How do I fix CVE-2025-6693?

No fix has been published for CVE-2025-6693 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-6693 being exploited?

There is no known exploitation of CVE-2025-6693 in the wild and no public exploit code.

Sources

Also known as GHSA-mq4w-gr2r-39x4.

Is CVE-2025-6693 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free