CVE-2025-5865 Details
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."
A critical vulnerability exists in RT-Thread version 5.1.0 within the sys_select function of the lwp_syscall component. This issue arises from inadequate validation of the timeout parameter, which is only checked for NULL but not for valid memory access. Exploitation of this vulnerability could lead to memory corruption, causing kernel crashes and unauthorized access to kernel memory, with potential for privilege escalation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 9, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/RT-Thread/rt-thread/issues/10298 | CISA-ADP | ExploitIssue TrackingThird Party Advisory |
| https://github.com/RT-Thread/rt-thread/issues/10298 | [email protected] | ExploitIssue TrackingThird Party Advisory |
| https://github.com/RT-Thread/rt-thread/issues/10298#issuecomment-2894952150 | [email protected] | ExploitIssue TrackingThird Party Advisory |
| https://vuldb.com/?ctiid.311624 | [email protected] | Permissions RequiredVDB Entry |
| https://vuldb.com/?id.311624 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/?submit.584124 | [email protected] | Third Party AdvisoryVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-Other | Weakness Not in a Standard CWE Category | [email protected] |
| CWE-119 | Improper Restriction of Operations within the Bounds of a Memory Buffer | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| rt-thread rt-thread | 5.1.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jul 11, 2025 | Initial Analysis | [email protected] |
| Jun 9, 2025 | CVE Modified | CISA-ADP |
| Jun 9, 2025 | New CVE Received | [email protected] |