Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › Vulnerabilities › RT-Thread

Medium 5.2 3 CVEs Analysis

RT-Thread up to 5.3.0: three local driver flaws, one divide-by-zero with a public exploit

Three NVD records describe input-validation flaws in RT-Thread board support drivers for DM365 SPI, Bouffalo ADC and HPM ADC, all affecting versions up to 5.3.0 and requiring local access. The divide-by-zero in the DM365 SPI driver is the most severe, and its record says the exploit has been released publicly.

What to look into

  • 3 vulnerabilities in RT-Thread: 2 medium, 1 low (CVSS up to 5.2).
  • None of them is known to be exploited yet.
  • Start with CVE-2026-137620 (5.2 medium): A security flaw has been discovered in RT-Thread up to 5.3.0. Affected is the function davincispigetprescale of the file bsp/dm365/drivers/spi-davinci.c of the component DM365 SPI Driver. The manipul… An attacker with administrator rights can exploit this with local access, without any user action.
  • 0 of 3 can be attacked over the network without logging in.
  • Kinds of flaws: Improper Restriction of Operations within the Bounds of a Memory Buffer (×2); Improper Validation of Array Index (×2); Divide By Zero; Improper Resource Shutdown or Release.
Vulnerabilities

Key points

  • Three RT-Thread (up to 5.3.0) driver flaws, all requiring local access
  • CVE-2026-137620 (MEDIUM, CVSS 5.2) is the most severe: a divide by zero in the DM365 SPI driver with a public exploit
  • CVE-2026-137621 (MEDIUM, CVSS 4.8) and CVE-2026-137618 (LOW, CVSS 1.9) are improper array index validation issues in ADC drivers
  • CVE-2026-137618 has a publicly available exploit according to its record
  • No fixed version or workaround is stated in the records

What the batch covers

All three records concern RT-Thread up to 5.3.0 and sit in board support package (BSP) drivers. Each involves an argument that is not properly validated before use, and each record says the attack requires local access.

Most severe issue

CVE-2026-137620 is rated MEDIUM (CVSS 5.2), the highest score in the batch. In the DM365 SPI driver, the function davincispigetprescale in bsp/dm365/drivers/spi-davinci.c reaches a divide by zero when the maxhz argument is manipulated. According to the record, the exploit has been released to the public and may be used in attacks.

Array index flaws in ADC drivers

CVE-2026-137621 is rated MEDIUM (CVSS 4.8). In the Bouffalo ADC driver, bladcgetvalue in bsp/bouffalolab/libraries/rtdrivers/drvadc.c does not properly validate an array index derived from the channel argument. The record does not mention any exploitation.

CVE-2026-137618 is rated LOW (CVSS 1.9). In the HPM ADC driver, hpmadcenabled in bsp/hpmicro/libraries/drivers/drvadc.c has the same kind of improper array index validation on channel. Its record says a public exploit is available and might be used.

Fixes

Each record names a patch identifier: e12183f7b87eddf182b95bf8b400acd626880306 for CVE-2026-137620, b3a0eb5e12c6dca8145fc49d76c4785478c9e55b for CVE-2026-137621, and fc64f78669b42b35981f97c23c7e952832f3b48b for CVE-2026-137618. The records do not state a fixed release version or any workaround.

What to do

  1. Apply the patch e12183f7b87eddf182b95bf8b400acd626880306 for CVE-2026-137620
  2. Apply the patch b3a0eb5e12c6dca8145fc49d76c4785478c9e55b for CVE-2026-137621
  3. Apply the patch fc64f78669b42b35981f97c23c7e952832f3b48b for CVE-2026-137618

Our article about all 3 vulnerabilities, written with AI assistance from the official records listed below. Each CVE's page has its details.

The 3 vulnerabilities

  • CVE-2026-137620 5.2 A security flaw has been discovered in RT-Thread up to 5.3.0. Affected is the function davincispigetprescale of the file bsp/dm365/drivers/spi-davinci.c of the component DM365 SPI Driver. The manipulation of the argument maxhz results in d…
  • CVE-2026-137621 4.8 A weakness has been identified in RT-Thread up to 5.3.0. Affected by this vulnerability is the function bladcgetvalue of the file bsp/bouffalolab/libraries/rtdrivers/drvadc.c of the component Bouffalo ADC Driver. This manipulation of the a…
  • CVE-2026-137618 1.9 A vulnerability was identified in RT-Thread up to 5.3.0. This impacts the function hpmadcenabled of the file bsp/hpmicro/libraries/drivers/drvadc.c of the component HPM ADC Driver. The manipulation of the argument channel leads to improper…

Frequently asked questions

How many RT-Thread vulnerabilities were published on November 26, 2026?

3 vulnerabilities: 2 medium, 1 low, with CVSS scores up to 5.2.

Are any of them being exploited?

None of them is in CISA's Known Exploited Vulnerabilities catalog yet.

Which one should be fixed first?

CVE-2026-137620 (CVSS 5.2): A security flaw has been discovered in RT-Thread up to 5.3.0. Affected is the function davincispigetprescale of the file bsp/dm365/drivers/spi-davinci.c of the component DM365 SPI Driver. The manipul…

Original records