{"id":"CVE-2026-137620","summary":"RT-Thread DM365 SPI Driver spi-davinci.c davinci_spi_get_prescale divide by zero","details":"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.","modified":"2026-11-26T23:00:56.415819761Z","published":"2026-11-26T21:00:24.272Z","database_specific":{"cna_assigner":"VulDB","cwe_ids":["CWE-369","CWE-404"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137620.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/137xxx/CVE-2026-137620.json"},{"type":"WEB","url":"https://github.com/RT-Thread/rt-thread/"},{"type":"FIX","url":"https://github.com/RT-Thread/rt-thread/commit/e12183f7b87eddf182b95bf8b400acd626880306"},{"type":"REPORT","url":"https://github.com/RT-Thread/rt-thread/issues/11950"},{"type":"FIX","url":"https://github.com/RT-Thread/rt-thread/pull/11957"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-137620"},{"type":"ADVISORY","url":"https://vuldb.com/cve/CVE-2026-137620"},{"type":"ADVISORY","url":"https://vuldb.com/submit/1064278"},{"type":"ADVISORY","url":"https://vuldb.com/vuln/444433"},{"type":"REPORT","url":"https://vuldb.com/vuln/444433/cti"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/rt-thread/rt-thread","events":[{"introduced":"897ba365baa1cb2105b46964082d378e7b14b47b"},{"last_affected":"99428a1e7f7447955aa860f7c969273a12095b8f"},{"fixed":"e12183f7b87eddf182b95bf8b400acd626880306"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"5.0"},{"last_affected":"5.0"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion","range":[{"introduced":"5.1"},{"last_affected":"5.1"}]},{"range":[{"introduced":"5.2"},{"last_affected":"5.2"}],"source":"AFFECTED_FIELD","strategy":"StandaloneSingleVersion"},{"strategy":"StandaloneSingleVersion","range":[{"introduced":"5.3.0"},{"last_affected":"5.3.0"}],"source":"AFFECTED_FIELD"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"e12183f7b87eddf182b95bf8b400acd626880306"}]}]}}],"versions":["5.0","5.1","5.2","5.3.0","v5.3.0","v5.0.2","v5.0.1","v5.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-137620.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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/E:P"}]}