RT-Thread DM365 SPI Driver spi-davinci.c davinci_spi_get_prescale divide by zero

Summary

CVECVE-2026-137620
StatePUBLISHED
AssignerVulDB
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-26 21:17:16 UTC
Updated2026-11-26 21:17:16 UTC
DescriptionA 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.

Risk And Classification

Primary CVSS: v4.0 5.2 MEDIUM from [email protected]

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/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

Problem Types: CWE-369 | CWE-404 | CWE-369 Divide By Zero | CWE-404 Denial of Service


VersionSourceTypeScoreSeverityVector
4.0[email protected]Secondary5.2MEDIUMCVSS: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/C...
4.0CNADECLARED6.7MEDIUMCVSS: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
3.1[email protected]Primary4.4MEDIUMCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
3.1CNADECLARED4.4MEDIUMCVSS: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.0CNADECLARED4.4MEDIUMCVSS: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[email protected]Secondary4.3AV:L/AC:L/Au:M/C:N/I:N/A:C
2.0CNADECLARED4.3AV:L/AC:L/Au:M/C:N/I:N/A:C/E:POC/RL:OF/RC:C

CVSS v4.0 Breakdown

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
High
User Interaction
None
Confidentiality
None
Integrity
None
Availability
High
Sub Conf.
None
Sub Integrity
None
Sub Availability
None

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/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

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

CVSS v3.0 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

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

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na RT-Thread affected 5.0 Not specified
CNA Na RT-Thread affected 5.1 Not specified
CNA Na RT-Thread affected 5.2 Not specified
CNA Na RT-Thread affected 5.3.0 Not specified

References

ReferenceSourceLinkTags
github.com/RT-Thread/rt-thread/issues/11950 [email protected] github.com
github.com/RT-Thread/rt-thread/pull/11957 [email protected] github.com
vuldb.com/submit/1064278 [email protected] vuldb.com
github.com/RT-Thread/rt-thread [email protected] github.com
vuldb.com/cve/CVE-2026-137620 [email protected] vuldb.com
github.com/RT-Thread/rt-thread/commit/e12183f7b87eddf182b95bf8b400acd626... [email protected] github.com
vuldb.com/vuln/444433/cti [email protected] vuldb.com
vuldb.com/vuln/444433 [email protected] vuldb.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Zephyr Saxon (VulDB User) (en)

Additional Advisory Data

SourceTimeEvent
CNA2026-11-26T00:00:00.000ZAdvisory disclosed
CNA2026-11-26T01:00:00.000ZVulDB entry created
CNA2026-11-26T16:00:58.000ZVulDB entry last update

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report