CVE-2026-137620
published medium CVSS 4.0 · 6.7RT-Thread DM365 SPI Driver spi-davinci.c davinci_spi_get_prescale divide by zero
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | RT-Thread5.0 · 5.1 · 5.2 · 5.3.0 | Affected | Not stated | VulDB |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.7 / 10
- Severity
- medium
- Provider
- VulDB · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 4.4 | medium | VulDB · cna | 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 | — |
| 3.0 | 4.4 | medium | VulDB · cna | 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 | — |
| 2.0 | 4.3 | medium | VulDB · cna | AV:L/AC:L/Au:M/C:N/I:N/A:C/E:POC/RL:OF/RC:C | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | RT-Thread | 5.0 (affected)5.1 (affected)5.2 (affected)5.3.0 (affected) | VulDB · cna |
Weaknesses
2- CWE-369 Divide By Zero
- CWE-404 Denial of Service
References
8- https://github.com/RT-Thread/rt-thread/
- https://github.com/RT-Thread/rt-thread/commit/e12183f7b87eddf182b95bf8b400acd626880306
- https://github.com/RT-Thread/rt-thread/issues/11950
- https://github.com/RT-Thread/rt-thread/pull/11957
- CVE-2026-137620 | CVE Analysis and Report https://vuldb.com/cve/CVE-2026-137620
- Submit #1064278 | RT-Thread v5.3.0 Improper Handling of Parameters https://vuldb.com/submit/1064278
- VDB-444433 | RT-Thread DM365 SPI Driver spi-davinci.c davinci_spi_get_prescale divide by zero https://vuldb.com/vuln/444433
- VDB-444433 | CTI Indicators (IOB, IOC, IOA) https://vuldb.com/vuln/444433/cti
Provider assertions
2VulDB · cna
RT-Thread DM365 SPI Driver spi-davinci.c davinci_spi_get_prescale divide by zero
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 990cfe3042c5034a817e0c6654686077aac4375fee0a54a10334ff829bb90a20
- Ingested
- 01 Dec 2026, 16:54:56 UTC
- Source record
- Official CVE record