Skip to main content

RT-Thread EUVDEUVD-2026-136997

| CVE-2026-137680 MEDIUM
Improper Validation of Array Index (CWE-129)
2026-11-27 VulDB GHSA-7v2x-37cf-jx8f
4.8
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Obtain low-privilege local access
  2. Exploit
    Invoke ADC read with out-of-range channel
  3. Execution
    Trigger improper array index access
  4. Impact
    Disclose adjacent memory as ADC value

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 with low privileges (PR:L) on a device whose firmware is built with the RT-Thread Bluetrum/AB32 BSP, plus a code path that passes an attacker-influenced 'channel' value into ab32_get_adc_value; the source diff shows the pre-patch function accepted an unsigned/out-of-range channel and indexed the ADC channel table without validation. Limiting factors: no remote vector (AV:L), no unauthenticated access (requires PR:L), applicability restricted to the Bluetrum AB32 target rather than generic RT-Thread builds, and impact bounded to limited information disclosure (confidentiality only). The sources do not describe an end-to-end path proving the channel argument is attacker-controlled in practice.

Impact

This is a low-to-moderate priority issue, not an emergency. The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N, base 4.8) describes a locally-exploitable flaw requiring low privileges, with only a limited confidentiality impact and no integrity or availability impact - consistent with an out-of-bounds array read (CWE-129) in the ADC driver. The vuln.today Decision label is 'this_month', indicating routine patching rather than urgent action. No CISA KEV listing and no EPSS score are present in the input, and no public exploit or PoC reference is provided (the GitHub links are a bug issue, a fix PR, and the fixing commit - not exploit code), so exploitation signals are absent. The dominant limiting factors are the local attack vector and required low-privilege access, which together mean this cannot be triggered remotely or by an unauthenticated actor. One caveat: the real-world reachability depends entirely on whether any software path passes an attacker-controllable 'channel' value into ab32_get_adc_value, which the available sources do not establish - verify against actual firmware usage.

Exploit ScenarioDerived

A local, low-privileged actor on a device built with the RT-Thread Bluetrum (AB32) BSP invokes the ADC read path (ab32_get_adc_value) with an out-of-range 'channel' argument. Because the channel value was not bounds-checked before indexing, the driver performs an out-of-bounds array access, potentially disclosing a small amount of adjacent memory as an ADC value. No public exploit code is identified in the provided data.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Nov 27, 2026

Improper array index validation in the RT-Thread Bluetrum/AB32 ADC driver (ab32_get_adc_value in bsp/bluetrum/libraries/hal_drivers/drv_adc.c) lets a local user with low privileges supply an out-of-range ADC channel value that is passed unchecked into the driver's channel lookup, yielding limited information disclosure rather than code execution or denial of service. Affected are RT-Thread builds up to 5.3.0 that include the Bluetrum AB32 board support package; generic RT-Thread configurations that do not compile this BSP file are not affected. Exploitation requires local access (CVSS:4.0 AV:L, PR:L) and a code path in which the channel argument is attacker-influenced, and no public exploit was identified at time of analysis; an upstream fix exists in commit 7f1f625f36232fd165a8a8313b1612846215aece (PR #11962), making this a low-to-moderate priority item for this month rather than an emergency.

RemediationAI

Apply the upstream fix referenced in the advisory, commit 7f1f625f36232fd165a8a8313b1612846215aece (merged via PR https://github.com/RT-Thread/rt-thread/pull/11962), or update to an RT-Thread release that contains it; the supplied data names the commit and PR but does not identify a tagged release version, so the patched release should be confirmed against the project repository before relying on a version string. Because the sources characterize deploying the patch as the recommended fix, treat patching as the complete remediation, and note that the fix itself works by rejecting any channel value outside 0-15 and returning -RT_EINVAL, which means firmware code that previously passed out-of-range or wrapped channel numbers will now receive an error return and must handle it rather than silently reading an unintended ADC channel. Where rebuilding is not immediately possible, the same range check can be enforced in the application layer before calling the ADC read API, with the trade-off that this only protects call sites you control and leaves the driver's unchecked table lookup reachable by any other in-firmware caller, so it is a stopgap rather than a replacement for the commit. Consult https://vuldb.com/vuln/444636/cti and the GitHub issue for vendor-side tracking details.

Affected VersionsENISA

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

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 whose device-driver framework exposes peripherals through typed device objects; the ADC abstraction (rt_adc_device) forwards a caller-supplied channel number to the BSP-specific read routine. In the Bluetrum AB32 BSP, ab32_get_adc_value() called ab32_adc_get_channel() to translate the logical channel into a hardware channel and then invoked hal_adc_start() with the result, but the pre-patch signatures used rt_uint32_t and the lookup contained no bounds check, so an out-of-range value could index the ab32_adc_obj[] table and map to an arbitrary hardware channel (CWE-129, Improper Validation of Array Index). The upstream patch changes the affected parameters and return types to signed 8/32-bit types, rejects channel values below 0 or above 15 with -RT_EINVAL, adds a default case in the channel-switch that returns -RT_EINVAL, and checks that ab32_get_adc_value() propagates the negative result before calling hal_adc_start(). Per the independent assessment the impact is bounded to limited confidentiality (C:L) with no integrity or availability effect, and the supplied sources do not document an end-to-end path proving that the channel argument is attacker-controlled in a real firmware image; the trigger beyond the local, low-privileged caller model is not described in the available material.

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 4.8 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 3.3 LOW

Local-only out-of-bounds array read reachable by a low-privileged actor (AV:L, PR:L, AC:L), yielding limited information disclosure with no integrity or availability impact.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/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
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A vulnerability has been found in RT-Thread up to 5.3.0. This issue affects the function ab32_get_adc_value of the file bsp/bluetrum/libraries/hal_drivers/drv_adc.c of the component ADC Driver. The manipulation of the argument channel leads to improper validation of array index. The attack can only be performed from a local environment. The identifier of the patch is 7f1f625f36232fd165a8a8313b1612846215aece. To fix this issue, it is recommended to deploy a patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 97% exploitable
Prevalence
Low
niche embedded RTOS driver; only compiled for Bluetrum AB32 BSP targets
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
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