CVE-2025-5866 RT-Thread lwp_syscall.c sys_sigprocmask array index

High 8.6 Published Updated

Improper validation of array index in sys_sigprocmask allows attackers to cause memory corruption or denial of service in RT-Thread.

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-5866?

CVE-2025-5866 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 classified as critical has been found in RT-Thread 5.1.0. This affects the function sys_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-5866?

It affects 1 product.

Products include Rt-Thread Rt-Thread.

How do I fix CVE-2025-5866?

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

Is CVE-2025-5866 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-5866 exists.

Sources

Also known as GHSA-xxqp-4rfr-9px7.

Is CVE-2025-5866 in your software?

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

Check your SBOMs for free