CVE-2025-5868 RT-Thread lwp_syscall.c sys_thread_sigprocmask array index

High 8.6 Published Updated

Attackers can exploit improper array index validation in RT-Thread's signal handling 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-5868?

CVE-2025-5868 is a high-severity vulnerability in RT-Thread, published on 9 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, has been found in RT-Thread 5.1.0. This issue affects the function sys_thread_sigprocmask of the file rt-thread/components/lwp/lwp_syscall.c. The manipulation of the argument how leads to improper validation of array index.

Weakness: CWE-129, CWE-119

Which versions are affected by CVE-2025-5868?

It affects 1 product.

Products include Rt-Thread Rt-Thread.

How do I fix CVE-2025-5868?

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

Is CVE-2025-5868 being exploited?

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

Sources

Also known as GHSA-5cq9-g28q-5w6r.

Is CVE-2025-5868 in your software?

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

Check your SBOMs for free