# CVE-2025-5865: RT-Thread Parameter lwp_syscall.c sys_select memory corruption

- Severity: High 8.6 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.96%, higher than 62% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-06-09T06:31:23.530Z
- Modified: 2026-06-17T09:48:54.447Z
- Weaknesses: CWE-119
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulDB

## 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."

(As written by CVE List.)

## Affected

- RT-Thread: 5.1.0
- rt-thread rt-thread: 5.1.0

## Every score

- VulDB: CVSS:4.0 8.6 High `CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X`
- VulDB: CVSS:3.1 8.0 High `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`
- VulDB: CVSS:3.0 8.0 High `CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:X/RL:X/RC:C`
- VulDB: CVSS:2.0 7.7 High `AV:A/AC:L/Au:S/C:C/I:C/A:C/E:ND/RL:ND/RC:C`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/RT-Thread/rt-thread/issues/10298> (exploit, issue-tracking, third-party-advisory)
- <https://github.com/RT-Thread/rt-thread/issues/10298#issuecomment-2894952150> (exploit, issue-tracking, third-party-advisory)
- <https://vuldb.com/?id.311624> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.311624> (permissions-required, signature, vdb-entry)
- <https://vuldb.com/?submit.584124> (third-party-advisory, vdb-entry)

## Sources

- CVE List: [CVE-2025-5865](https://www.cve.org/CVERecord?id=CVE-2025-5865), CVE Terms of Use, modified 2025-06-09
- NVD: [CVE-2025-5865](https://nvd.nist.gov/vuln/detail/CVE-2025-5865), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-5865 · Whole record: https://cve.day/CVE-2025-5865.json · Rebuilt by cve.day 2026-11-25T22:58:58.930Z
