CVE-2026-137680

RT-Thread ADC Driver drv_adc.c ab32_get_adc_value array index

Published Nov 27, 2026 CVSS 4.0 · 4.8 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

This vulnerability resides in the ab32_get_adc_value function of the ADC driver for RT‑Thread versions 5.3.0 and earlier. Improper validation of the channel argument allows a local attacker to supply an out‑of‑range array index, which can lead to memory corruption or an application crash. The flaw is classified as CWE‑119 (Buffer Over-read) and CWE‑129 (Incorrect Calculation of Array Index).

Affected Systems

All installations of RT‑Thread that include the ADC driver library located in bsp/bluetrum/libraries/hal_drivers/drv_adc.c are affected. This includes any device or embedded platform compiled from the main RT‑Thread repository or forks that have not applied the patch identified by commit 7f1f625f36232fd165a8a8313b1612846215aece. Versions up to 5.3.0 are vulnerable.

Risk and Exploitability

The CVSS score of 4.8 indicates low severity, and the EPSS score is not available. The vulnerability is not listed in CISA KEV. Attack can only be performed from a local environment, requiring direct access to the target’s operating environment. No evidence of remote exploitation or publicly available exploits exists at this time.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the vendor‑supplied patch referenced by commit 7f1f625f36232fd165a8a8313b1612846215aece
  • Rebuild and redeploy the affected firmware or kernel after applying the patch to ensure the fix takes effect
  • If the patch cannot be applied, disable or restrict the ADC driver so that only trusted code may invoke ab32_get_adc_value, and monitor the system for related crashes

Generated by OpenCVE AI on November 27, 2026 at 05:51 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description 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.
Title RT-Thread ADC Driver drv_adc.c ab32_get_adc_value array index
First Time appeared Rt-thread
Rt-thread rt-thread
Weaknesses CWE-119
CWE-129
CPEs cpe:2.3:a:rt-thread:rt-thread:*:*:*:*:*:*:*:*
Vendors & Products Rt-thread
Rt-thread rt-thread
References
Metrics cvssV2_0

{'score': 1.7, 'vector': 'AV:L/AC:L/Au:S/C:P/I:N/A:N/E:ND/RL:OF/RC:C'}

cvssV3_0

{'score': 3.3, 'vector': 'CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:X/RL:O/RC:C'}

cvssV3_1

{'score': 3.3, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:X/RL:O/RC:C'}

cvssV4_0

{'score': 4.8, 'vector': '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/E:X'}

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-129

    Improper Validation of Array Index

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Nov 27, 2026, 4:15 AM
Reserved
Nov 26, 2026, 8:58 PM
Status
Deferred
Published
Nov 27, 2026, 5:19 AM
Modified
Nov 27, 2026, 5:19 AM