RT-Thread Parameter lwp_syscall.c sys_select memory corruption
Key facts
- Attack vector
- Adjacent network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-119 and the CVSS impact.
Summary
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."
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | RT-Thread | 5.1.0 | — | No fix listed | CNA |
- RT-Thread Vendor— Affected 5.1.0 Fixed in — No fix listed CNA
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2025-5865
- 2026-10-03 Alias added: GHSA-4xh2-4xwh-6pgr
References
More Rt-thread vulnerabilities
- TI-2024-16722 A buffer overflow occurs in utilities/rt-link/src/rtlink.c in RT-Thread through 5.0.2. CVSS 3.1HIGH 8.8
- TI-2025-05294 RT-Thread lwp_syscall.c sys_sigprocmask array index CVSS 4.0HIGH 8.6
- TI-2024-16718 A stack buffer overflow occurs in libc/posix/ipc/mqueue.c in RT-Thread through 5.0.2. CVSS 3.1HIGH 8.4
- TI-2024-16717 A heap buffer overflow occurs in finsh/msh_file.c and finsh/msh.c in RT-Thread through 5.0.2. CVSS 3.1HIGH 8.4
- TI-2024-16715 drivers/wlan/wlan_mgmt,c in RT-Thread through 5.0.2 has an integer signedness error and resultant buffer overflow. CVSS 3.1HIGH 8.4
- TI-2024-16093 A heap buffer overflow occurs in the dfs_v2 romfs filesystem RT-Thread through 5.0.2. CVSS 3.1HIGH 8.4
Sources
- CVE-2025-5865 · CVE Program
- CVE-2025-5865 · NVD
- FIRST EPSS
- GHSA-4xh2-4xwh-6pgr · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences