A security flaw has been discovered in RT-Thread up to 5.3.0. Affected is the function davinci_spi_get_prescale of the file bsp/dm365/drivers/spi-davinci.c of the component DM365 SPI Driver. The manipulation of the argument max_hz results in divide by zero. The attack requires a local approach. The exploit has been released to the public and may be used for attacks. The patch is identified as e12183f7b87eddf182b95bf8b400acd626880306. Applying a patch is advised to resolve this issue.
https://vuldb.com/vuln/444433/cti
https://vuldb.com/submit/1064278
https://vuldb.com/cve/CVE-2026-137620
https://github.com/RT-Thread/rt-thread/pull/11957
https://github.com/RT-Thread/rt-thread/issues/11950
https://github.com/RT-Thread/rt-thread/commit/e12183f7b87eddf182b95bf8b400acd626880306
Published: 2026-11-26
Updated: 2026-11-26
Base Score: 4.3
Vector: CVSS2#AV:L/AC:L/Au:M/C:N/I:N/A:C
Severity: Medium
Base Score: 4.4
Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
Severity: Medium
Base Score: 6.7
Vector: CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Severity: Medium