Skip to main content

RT-Thread CVE-2026-137618

| EUVDEUVD-2026-136889 LOW
Improper Validation of Array Index (CWE-129)
2026-11-26 VulDB
1.9
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Gain local authenticated code access
  2. Exploit
    Invoke hpm_adc_enabled with out-of-range channel
  3. Execution
    Trigger improper array index read/write
  4. Impact
    Corrupt or disclose adjacent driver memory

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V2 - Validation and Business Logic Array index validation
Exploitation Conditions

Exploitation requires local access to a device running an RT-Thread firmware image that is built for an HPMicro HPM board and includes the HPM ADC driver, plus the ability (PR:L) to invoke hpm_adc_enabled() with an attacker-controlled 'channel' argument. There is no remote vector and no network exposure (AV:L); the flaw is unreachable on RT-Thread builds that do not compile in the HPMicro ADC driver. Limiting factors: the attacker must already execute code or supply input on the device at an authenticated privilege level, and impact is bounded to Low because it is a single mis-validated array index rather than a controllable arbitrary read/write.

Impact

Severity signals are consistently low. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:L/UI:N) describes a locally exploitable, authenticated flaw with no user interaction, and the vendor-assigned impacts are all Low (VC:L/VI:L/VA:L), yielding a base score of 4.8 (Medium). It is an improper array-index validation issue (CWE-129) in an embedded ADC driver, not a remote code execution primitive. There is no CISA KEV listing and no EPSS score was provided, so there is no evidence of active or widespread exploitation. The E:P (Proof-of-Concept) exploit-maturity flag and the referenced GitHub issue indicate a public PoC reference exists; it is not verified as working exploit code, so POC availability should not be read as confirmed weaponization. The vuln.today decision label is 'this_month', i.e. a routine scheduled-remediation priority rather than an emergency. Net: this is a genuine but low-urgency, local-only defect, and the high-CVSS-but-low-real-risk framing does not apply because the CVSS itself is Medium and aligns with the low real-world risk.

Exploit ScenarioDerived

An attacker or malicious task already running on an RT-Thread device built for an HPMicro HPM board calls the HPM ADC driver's hpm_adc_enabled() with an out-of-range channel value, causing the driver to index an array outside its bounds. This can read or corrupt adjacent memory in the ADC driver context, degrading integrity, confidentiality, and availability to a limited degree. A public PoC reference exists (GitHub issue 11951); it is not verified as working exploit code.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 26, 2026

Improper array index validation in RT-Thread's HPMicro ADC driver (hpm_adc_enabled() in bsp/hpmicro/libraries/drivers/drv_adc.c) allows a local caller that controls the 'channel' argument to index outside the driver's channel array, yielding Low confidentiality, integrity and availability impact on the device. Affected are RT-Thread builds up to and including 5.3.0 that compile in the HPMicro ADC driver for an HPM series RISC-V board; the flaw is not reachable remotely and is absent from configurations that omit this driver, and exploitation requires local execution at an authenticated privilege level (PR:L). Severity signals are consistently low: the CVSS 4.0 score is 4.8 with an E:P metric, a public PoC reference exists (GitHub issue #11951) but it is not verified as working exploit code, and there is no KEV or EPSS indication of active exploitation; an upstream fix is available as commit fc64f78669b42b35981f97c23c7e952832f3b48b via pull request #11871.

RemediationAI

Apply the upstream fix identified in the advisory: commit fc64f78669b42b35981f97c23c7e952832f3b48b, delivered through pull request https://github.com/RT-Thread/rt-thread/pull/11871, which is the vendor-recommended remedy for this issue; the fix is available as a PR/commit and a tagged release version containing it is not independently confirmed, so integrators should rebase their HPMicro BSP trees onto that commit or a later mainline snapshot and rebuild affected firmware images rather than assuming a numbered release is patched. Until firmware can be rebuilt, the most direct compensating control is to reject out-of-range channel values in the application layer before any call into hpm_adc_enabled(), since every caller of the driver passes that argument and the driver itself performs no range check; the trade-off is that this shifts responsibility to each call site and can be bypassed by any code path that calls the driver directly. A second option is to drop the HPMicro ADC driver from the build configuration on products that do not use the ADC, which removes the vulnerable code entirely at the cost of losing ADC functionality. Because the vector is local and requires an authenticated execution context, limiting which applications and users can run code on the device and auditing local callers of the ADC driver reduce exposure but do not substitute for the upstream patch. Advisory details are at https://vuldb.com/vuln/444432 and https://vuldb.com/cve/CVE-2026-137618.

Affected VersionsENISA

RT-Thread 5.1
RT-Thread 5.0
RT-Thread 5.3.0
RT-Thread 5.2

Affected Packages

euvd rt_thread no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

RT-Thread is an open-source real-time operating system for embedded and MCU targets, organized as a core kernel plus per-vendor board support packages (BSPs). The affected component is the HPMicro ADC driver shipped under bsp/hpmicro/libraries/drivers/drv_adc.c, part of the BSP layer for HPMicro HPM RISC-V microcontroller evaluation boards (for example hpm5100evk, hpm5300evk, hpm5e00evk, hpm6750evk/mini/2, hpm6800evk and hpm6e00evk, all of which appear in the hpmicro BSP tree covered by the same commit). The root cause is CWE-129, Improper Validation of Array Index: the hpm_adc_enabled() entry point takes a channel argument from its caller and uses it to index driver-internal per-channel state without first confirming that the value falls inside the valid channel range for the underlying HPMicro ADC instance. The CVE records only that manipulating 'channel' leads to improper array-index validation; the concrete trigger path and the exact out-of-bounds access pattern are not described in the available sources. Because the boundary is crossed through a function-call argument rather than through external protocol input, the vector is local (AV:L) with attacker-supplied input reaching the driver from already-running code, and the assessed impact stays Low across confidentiality, integrity and availability, consistent with a single mis-validated index rather than a controllable arbitrary read/write primitive. No network-facing service is implicated, and the vulnerable code exists only where the HPM ADC driver is included in the firmware build.

Know when Rt Thread gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 1.9 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/E:P
vuln.today AI 5.3 MEDIUM

Local-only driver call (AV:L) reachable by an on-device task holding some privilege (PR:L), no user interaction, with limited out-of-bounds impact giving low C/I/A and no scope change.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
Low
Subsequent system: Availability
Low

Lifecycle Timeline

3
Severity Changed
Nov 26, 2026 - 21:22 NVD
MEDIUM LOW
CVSS changed
Nov 26, 2026 - 21:22 NVD
4.8 (MEDIUM) 1.9 (LOW)
CVE Published
Nov 26, 2026 - 20:45 cve.org
MEDIUM 4.8

DescriptionCVE.org

A vulnerability was identified in RT-Thread up to 5.3.0. This impacts the function hpm_adc_enabled of the file bsp/hpmicro/libraries/drivers/drv_adc.c of the component HPM ADC Driver. The manipulation of the argument channel leads to improper validation of array index. The attack needs to be performed locally. The exploit is publicly available and might be used. The identifier of the patch is fc64f78669b42b35981f97c23c7e952832f3b48b. It is recommended to apply a patch to fix this issue.

Threat Intelligence Overview

EPSS Score
0.1%
Top 98% exploitable
Prevalence
Low
HPMicro-specific ADC driver within an embedded RTOS; niche hardware footprint
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
Poc
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2025-5865 HIGH POC
8.0 Jun 09

Critical memory corruption vulnerability in RT-Thread 5.1.0's sys_select syscall handler that allows authenticated local

CVE-2025-5867 HIGH POC
8.0 Jun 09

Critical null pointer dereference vulnerability in RT-Thread 5.1.0's lwp_syscall.c csys_sendto function, allowing authen

CVE-2025-5869 HIGH POC
8.0 Jun 09

Critical memory corruption vulnerability in RT-Thread 5.1.0's sys_recvfrom syscall handler that allows authenticated loc

CVE-2025-5866 HIGH POC
8.0 Jun 09

A security vulnerability in A vulnerability classified as critical (CVSS 8.0). Risk factors: public PoC available.

CVE-2025-5868 HIGH POC
8.0 Jun 09

Critical array index validation vulnerability in RT-Thread 5.1.0's signal mask syscall handler that allows authenticated

CVE-2025-6693 HIGH POC
7.8 Jun 26

A vulnerability, which was classified as critical, was found in RT-Thread up to 5.1.0. This affects the function sys_dev

CVE-2026-14606 HIGH POC
7.1 Jul 03

Stack-based buffer overflow in RT-Thread RTOS (versions up to and including 5.0.2) affects the CAN_Receive function with

CVE-2026-14605 HIGH POC
7.1 Jul 03

Stack-based buffer overflow in RT-Thread RTOS (versions up to and including 5.0.2) affects the recvmsg function within t

CVE-2024-25393 CRITICAL
9.8 Mar 27

A stack buffer overflow occurs in net/at/src/at_server.c in RT-Thread through 5.0.2. Rated critical severity (CVSS 9.8),

CVE-2026-14607 MEDIUM POC
5.4 Jul 03

Memory corruption in RT-Thread's Linux-compatible process (lwp) syscall layer allows a local low-privileged user to cras

CVE-2026-137620 MEDIUM POC
5.2 Nov 26

Divide-by-zero in RT-Thread's DM365 DaVinci SPI driver (bsp/dm365/drivers/spi-davinci.c) crashes or faults the system wh

CVE-2025-1115 MEDIUM POC
4.8 Feb 08

A vulnerability classified as problematic was found in RT-Thread up to 5.1.0. Rated medium severity (CVSS 4.8), this vul

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy