# CVE-2026-137620: RT-Thread DM365 SPI Driver spi-davinci.c davinci_spi_get_prescale divide by zero

Status: published. Published: 2026-11-26. Updated: 2026-11-26.

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.

## Remediation

- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: VulDB) — https://github.com/RT-Thread/rt-thread/pull/11957
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: VulDB) — https://github.com/RT-Thread/rt-thread/commit/e12183f7b87eddf182b95bf8b400acd626880306

## Affected products and versions

- n/a / RT-Thread: 5.0 (affected); 5.1 (affected); 5.2 (affected); 5.3.0 (affected). Source: CNA: VulDB

## Severity and prioritization

- CVSS 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; source: CNA: VulDB

- CVSS 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; source: CNA: VulDB

- CVSS 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; source: CNA: VulDB

- CVSS 2.0: 4.3 (medium); AV:L/AC:L/Au:M/C:N/I:N/A:C/E:POC/RL:OF/RC:C; source: CNA: VulDB

- CISA KEV: No listing in collected sources

- EPSS: Not available

- SSVC: Not available

- Weaknesses: CWE-369, CWE-404

## Exploit evidence

- exploit: https://github.com/RT-Thread/rt-thread/issues/11950 (CNA: VulDB)

## References

- https://vuldb.com/vuln/444433 (CNA: VulDB; vdb-entry, technical-description)

- https://vuldb.com/vuln/444433/cti (CNA: VulDB; signature, permissions-required)

- https://vuldb.com/cve/CVE-2026-137620 (CNA: VulDB; third-party-advisory)

- https://vuldb.com/submit/1064278 (CNA: VulDB; third-party-advisory)

- https://github.com/RT-Thread/rt-thread/issues/11950 (CNA: VulDB; exploit, issue-tracking)

- https://github.com/RT-Thread/rt-thread/pull/11957 (CNA: VulDB; issue-tracking, patch)

- https://github.com/RT-Thread/rt-thread/commit/e12183f7b87eddf182b95bf8b400acd626880306 (CNA: VulDB; patch)

- https://github.com/RT-Thread/rt-thread/ (CNA: VulDB; product)

## Provenance

- CNA: VulDB: https://www.cve.org/CVERecord?id=CVE-2026-137620; retrieved 2026-11-26; source updated 2026-11-26

Revision: 14054417faba67db91d377262c7e134b3deaca5be49bb8744e0f9c09cb9a6a7f

Canonical: https://y2.dev/cve/CVE-2026-137620

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.