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

EPSS: 0.008 (52.8th percentile) — read the EPSS interpretation.

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.

Affected products

  • Rt-thread — versions 5.1.0
  • N/a Rt-thread — versions 5.1.0

Weakness classification (CWE)

References

  • cna@vuldb.com (technical-description, VDB Entry, Third Party Advisory, vdb-entry)
  • cna@vuldb.com (signature, Permissions Required, permissions-required, VDB Entry)
  • cna@vuldb.com (VDB Entry, Third Party Advisory, third-party-advisory)
  • cna@vuldb.com (issue-tracking, Exploit, Third Party Advisory, Issue Tracking)
  • cna@vuldb.com (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.