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 trend (30 days)EPSS over the last 30 days for CVE-2025-5865: held from 0.009 to 0.010.

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

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.