Buffer overflow in Rt-Thread

CVE-2025-5866

A vulnerability classified as critical has been found in RT-Thread 5.1.0. This affects the function sys_sigprocmask of the file rt-thread/components/lwp/lwp_syscall.c. The manipulation of the argument how leads to improper validation of array index.

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.009 (58.9th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 59th percentile — 58.9% 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-5866: held from 0.009 to 0.009.

EPSS over last 30 days · oldest: 0.009 · newest: 0.009 · 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-5866?
CVE-2025-5866 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-5866?
High severity. CVSS v3 base score is 8.0 out of 10.