{"id":"CVE-2025-5865","aliases":["CVE-2025-5865"],"related":[],"kind":"vulnerability","state":"published","title":"RT-Thread Parameter lwp_syscall.c sys_select memory corruption","summary":"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.\"","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\"","source":"cvelist"},{"lang":"de","text":"Eine kritische Schwachstelle wurde in RT-Thread 5.1.0 ausgemacht. Hierbei geht es um die Funktion sys_select der Datei rt-thread/components/lwp/lwp_syscall.c der Komponente Parameter Handler. Mittels dem Manipulieren des Arguments timeout mit unbekannten Daten kann eine memory corruption-Schwachstelle ausgenutzt werden.","source":"cvelist"},{"lang":"es","text":"Se encontró una vulnerabilidad en RT-Thread 5.1.0. Se ha clasificado como crítica. Este problema afecta a la función sys_select del archivo rt-thread/components/lwp/lwp_syscall.c del controlador de parámetros del componente. La manipulación del argumento timeout provoca corrupción de memoria. El proveedor explica que «se debe comprobar el parámetro timeout para comprobar si se puede acceder correctamente en modo kernel y si se puede usar temporalmente en la memoria del kernel».","source":"nvd"}],"published":"2025-06-09T06:31:23.530Z","modified":"2026-06-17T09:48:54.447Z","severity":{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"VulDB","scheme":"CVSS:4.0","vector":"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","score":8.6,"rating":"HIGH"},{"scorer":"VulDB","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:X/RL:X/RC:C","score":8,"rating":"HIGH"},{"scorer":"VulDB","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:X/RL:X/RC:C","score":8,"rating":"HIGH"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:A/AC:L/Au:S/C:C/I:C/A:C/E:ND/RL:ND/RC:C","score":7.7,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-119"],"affected":[{"ranges":[{"version":"5.1.0","status":"affected"}],"product":"RT-Thread","source":"cvelist"},{"ranges":[{"status":"affected","version":"5.1.0"}],"vendor":"rt-thread","product":"rt-thread","cpe":"cpe:2.3:a:rt-thread:rt-thread:5.1.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://vuldb.com/?id.311624","tags":["technical-description","third-party-advisory","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/?ctiid.311624","tags":["permissions-required","signature","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/?submit.584124","tags":["third-party-advisory","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://github.com/RT-Thread/rt-thread/issues/10298","tags":["exploit","issue-tracking","third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/RT-Thread/rt-thread/issues/10298#issuecomment-2894952150","tags":["exploit","issue-tracking","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Zephyr Saxon (VulDB User)"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2025-06-09T13:22:32.917Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-5865","url":"https://www.cve.org/CVERecord?id=CVE-2025-5865","licence":"CVE Terms of Use","modified":"2025-06-09T13:22:44.499Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-5865","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5865","licence":"Public domain","modified":"2026-06-17T09:48:54.447Z"}],"updatedAt":"2026-11-25T22:58:58.930Z","epss":{"score":0.00962,"percentile":0.6261,"date":"2026-12-01T12:00:22.000Z"}}