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 (60.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 61st percentile — 60.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.009 · newest: 0.010 · change: +0.001
Affected products
- Rt-Thread — versions 5.1.0
- Rt-Thread — versions 5.1.0
Weakness classification (CWE)
References
- vuldb.com/ (technical-description, VDB Entry, Third Party Advisory, vdb-entry)
- vuldb.com/ (signature, Permissions Required, permissions-required, VDB Entry)
- vuldb.com/ (VDB Entry, Third Party Advisory, 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)
Frequently asked questions
- What is CVE-2025-5865?
- CVE-2025-5865 is a high-severity vulnerability in Rt-Thread, classified under Improper Restriction of Operations within the Bounds of a Memory Buffer. CVSS score: 8.0/10. Published 2025-06-09.
- How severe is CVE-2025-5865?
- High severity. CVSS v3 base score is 8.0 out of 10.