5.2
MEDIUM CVSS 4.0
CVE-2026-137620
RT-Thread DM365 SPI Driver spi-davinci.c davinci_spi_get_prescale divide by zero
Description

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.

INFO

Published Date :

Nov. 26, 2026, 9:17 p.m.

Last Modified :

Nov. 26, 2026, 9:17 p.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2026-137620 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Rt-thread rt-thread
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 2.0 MEDIUM [email protected]
CVSS 3.1 MEDIUM [email protected]
CVSS 4.0 MEDIUM [email protected]
Solution
Apply the provided patch to fix the divide-by-zero vulnerability in the SPI driver.
  • Apply the patch e12183f7b87eddf182b95bf8b400acd626880306.
  • Update RT-Thread to a patched version.
  • Review SPI driver security configurations.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-137620 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-137620 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-137620 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-137620 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by [email protected]

    Nov. 26, 2026

    Action Type Old Value New Value
    Added Description 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.
    Added CVSS V4.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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
    Added CVSS V3.1 AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
    Added CVSS V2 (AV:L/AC:L/Au:M/C:N/I:N/A:C)
    Added CWE CWE-369
    Added CWE CWE-404
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/137xxx/CVE-2026-137620.json">CVE-2026-137620</a>
    Added Reference https://github.com/RT-Thread/rt-thread/
    Added Reference https://github.com/RT-Thread/rt-thread/commit/e12183f7b87eddf182b95bf8b400acd626880306
    Added Reference https://github.com/RT-Thread/rt-thread/issues/11950
    Added Reference https://github.com/RT-Thread/rt-thread/pull/11957
    Added Reference https://vuldb.com/cve/CVE-2026-137620
    Added Reference https://vuldb.com/submit/1064278
    Added Reference https://vuldb.com/vuln/444433
    Added Reference https://vuldb.com/vuln/444433/cti
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.