# CVE-2025-5866: RT-Thread lwp_syscall.c sys_sigprocmask array index

- Severity: High 8.6 (CVSS:4.0, scored by VulDB) `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:X`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.75%, higher than 78% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-06-09T07:00:16.712Z
- Modified: 2026-06-17T09:48:54.590Z
- Weaknesses: CWE-119, CWE-129
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulDB

## Description

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.

(As written by CVE List.)

## Affected

- RT-Thread: 5.1.0
- rt-thread rt-thread: 5.1.0

## Every score

- VulDB: CVSS:4.0 8.6 High `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:X`
- VulDB: CVSS:3.1 8.0 High `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:X/RL:X/RC:R`
- VulDB: CVSS:3.0 8.0 High `CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:X/RL:X/RC:R`
- VulDB: CVSS:2.0 7.4 High `AV:A/AC:M/Au:S/C:C/I:C/A:C/E:ND/RL:ND/RC:UR`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/RT-Thread/rt-thread/issues/10300> (exploit, issue-tracking, third-party-advisory)
- <https://vuldb.com/?id.311625> (technical-description, third-party-advisory, vdb-entry)
- <https://vuldb.com/?ctiid.311625> (permissions-required, signature, vdb-entry)
- <https://vuldb.com/?submit.584127> (third-party-advisory, vdb-entry)

## Sources

- CVE List: [CVE-2025-5866](https://www.cve.org/CVERecord?id=CVE-2025-5866), CVE Terms of Use, modified 2025-06-09
- NVD: [CVE-2025-5866](https://nvd.nist.gov/vuln/detail/CVE-2025-5866), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-5866 · Whole record: https://cve.day/CVE-2025-5866.json · Rebuilt by cve.day 2026-11-25T22:58:58.930Z
