Buffer overflow in Rt-Thread
CVE-2025-5865
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."
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 8.0 (High). Vector: CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.010, 62.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Rt-Thread — versions 5.1.0
- Rt-Thread — versions 5.1.0
Weakness classification (CWE)
References
- VDB-311624 | RT-Thread Parameter lwp_syscall.c sys_select memory corruption (technical-description, Third Party Advisory, VDB Entry, vdb-entry)
- VDB-311624 | CTI Indicators (IOB, IOC, IOA) (signature, Permissions Required, permissions-required, VDB Entry)
- Submit #584124 | RT-Thread 5.1.0 Improper Handling of Parameters (Third Party Advisory, VDB Entry, third-party-advisory)
- github.com/RT-Thread/rt-thread/issues/10298 (issue-tracking, Exploit, Third Party Advisory, Issue Tracking)
- github.com/RT-Thread/rt-thread/issues/10298 (issue-tracking, Exploit, Third Party Advisory, Issue Tracking)