CVE-2026-137620
RT-Thread DM365 SPI Driver spi-davinci.c davinci_spi_get_prescale divide by zero
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.
Fixes and workarounds
Fix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: CNA: VulDBFix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: CNA: VulDBAffected products and versions
| Product | Versions | Authority |
|---|---|---|
| RT-Thread n/a |
5.0 (affected) 5.1 (affected) 5.2 (affected) 5.3.0 (affected) |
CNA: VulDB |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 4.0 / 6.7 medium |
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 | CNA: VulDB |
| 3.1 / 4.4 medium |
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H/E:P/RL:O/RC:C | CNA: VulDB |
| 3.0 / 4.4 medium |
CVSS:3.0/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H/E:P/RL:O/RC:C | CNA: VulDB |
| 2.0 / 4.3 medium |
AV:L/AC:L/Au:M/C:N/I:N/A:C/E:POC/RL:OF/RC:C | CNA: VulDB |
Exploit evidence
- https://github.com/RT-Thread/rt-thread/issues/11950
exploit · CNA: VulDB
References
- https://vuldb.com/vuln/444433CNA: VulDB · vdb-entry, technical-description
- https://vuldb.com/vuln/444433/ctiCNA: VulDB · signature, permissions-required
- https://vuldb.com/cve/CVE-2026-137620CNA: VulDB · third-party-advisory
- https://vuldb.com/submit/1064278CNA: VulDB · third-party-advisory
- https://github.com/RT-Thread/rt-thread/issues/11950CNA: VulDB · exploit, issue-tracking
- https://github.com/RT-Thread/rt-thread/pull/11957CNA: VulDB · issue-tracking, patch
- https://github.com/RT-Thread/rt-thread/commit/e12183f7b87eddf182b95bf8b400acd626880306CNA: VulDB · patch
- https://github.com/RT-Thread/rt-thread/CNA: VulDB · product
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.