Vulnerability · Published Jun 9, 2025 · Assigned by VulDB
CVE-2025-5865RT-Thread Parameter lwp_syscall.c sys_select memory corruption
High 8.0
In plain English
A high-severity memory corruption in RT-Thread. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 62% of all known vulnerabilities).
Official description
A vulnerability was found in RT-Thread 5.1.0. It has been rated as critical. Affected by this issue is the function sys_select of the file rt-thread/components/lwp/lwp_syscall.c of the component Parameter Handler. The manipulation of the argument timeout leads to memory corruption. The vendor explains, that "[t]he timeout parameter should be checked to check if it can be accessed correctly in kernel mode and used temporarily in kernel memory."
Affected products (as reported)
Weakness: CWE-119 · Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:X/RL:X/RC:C
References
- VDB-311624 | RT-Thread Parameter lwp_syscall.c sys_select memory corruption vdb-entry, technical-description
- VDB-311624 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #584124 | RT-Thread 5.1.0 Improper Handling of Parameters third-party-advisory
- https://github.com/RT-Thread/rt-thread/issues/10298 issue-tracking
- https://github.com/RT-Thread/rt-thread/issues/10298#issuecomment-2894952150 issue-tracking