Paper/Archive/CVE-2025-5865

CVE-2025-5865

VulDB — RT-Thread Parameter lwp_syscall.c sys_select memory corruption

Description · from the CVE record

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."

Affected

ProductAffectedFixed inSource
RT-Thread5.1.0–CNA

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
VulDB (CNA)8.6CVSS: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 (CNA)8.0CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:X/RL:X/RC:C
VulDB (CNA)8.0CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:X/RL:X/RC:C
CISA ADPSSVCExploitation: poc · Automatable: no · Technical impact: total

References

writeupvuldb.com/?id.311624refvuldb.com/?ctiid.311624writeupvuldb.com/?submit.584124exploitgithub.com/RT-Thread/rt-thread/issues/10298refgithub.com/RT-Thread/rt-thread/issues/10298#issuecomment-2894952150