CVE-2025-5865: RT-Thread · Memory Corruption
Affects RT-ThreadSource CVE Database V5
Not known to be exploited · CVSS 8.6 High.
Data as of 25 Oct 2026, 19:02 UTC
- EPSS
- 0.8% chance of exploitation in 30 days – higher than 58% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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:XExploitation evidence
Disclosed: evidence found.
CVE published 9 Jun 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubrt-thread/rt-threadpkg:github/rt-thread/rt-threadOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
1. Immediate mitigation should focus on network segmentation to isolate RT-Thread-based devices from untrusted or less secure network segments, reducing the attack surface for adjacent network attacks. 2. Implement strict access controls and monitoring on networks hosting RT-Thread devices to detect anomalous sys_select usage or unusual timeout parameter manipulations. 3. Employ runtime integrity monitoring and kernel-level protections where possible to detect memory corruption attempts. 4. Engage with RT-Thread vendors or community to obtain patches or updates addressing this vulnerability; prioritize upgrading from version 5.1.0 once patches are available. 5. For devices that cannot be patched immediately, consider deploying host-based intrusion detection systems (HIDS) or endpoint detection and response (EDR) solutions tailored for embedded environments to identify exploitation attempts. 6. Conduct thorough inventory and risk assessments to identify all RT-Thread 5.1.0 deployments within the organization. 7. Educate operational technology and embedded system teams about the vulnerability and recommended security practices. 8. Where feasible, implement application whitelisting and strict input validation on devices to prevent malformed timeout parameters from reaching the vulnerable function. These targeted measures go beyond generic advice by focusing on network-level controls, device-specific monitoring, and proactive patch management tailored to embedded RTOS environments.
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."