CVE-2025-5866 RT-Thread lwp_syscall.c sys_sigprocmask array index
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.
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.
Other vulnerabilities in RT-Thread
- CVE-2024-25393 Memory corruption in n/a
- CVE-2024-25395 Memory corruption in n/a
- CVE-2025-5865 RT-Thread Parameter lwp_syscall.c sys_select memory corruption
- CVE-2025-5867 RT-Thread lwp_syscall.c csys_sendto null pointer dereference
- CVE-2025-5868 RT-Thread lwp_syscall.c sys_thread_sigprocmask array index
Sources
Also known as GHSA-xxqp-4rfr-9px7.