Improper array index validation in RT-Thread Bouffalo ADC driver
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA.
Summary
RT-Thread versions 5.0, 5.1, 5.2 and 5.3.0 contain an improper array index validation flaw in the bl_adc_get_value function of the Bouffalo ADC driver. The channel argument is not properly validated before it is used as an array index (CWE-129). A local attacker with low privileges can trigger this weakness.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Description from the CNA
A weakness has been identified in RT-Thread up to 5.3.0. Affected by this vulnerability is the function bl_adc_get_value of the file bsp/bouffalo_lab/libraries/rt_drivers/drv_adc.c of the component Bouffalo ADC Driver. This manipulation of the argument channel causes improper validation of array index. The attack requires local access. Patch name: b3a0eb5e12c6dca8145fc49d76c4785478c9e55b. It is suggested to install a patch to address this issue.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | RT-Thread | 5.0; 5.1; 5.2; 5.3.0 | — | No fix listed | CNA |
- RT-Thread Vendor— Affected 5.0; 5.1; 5.2; 5.3.0 Fixed in — No fix listed CNA
Remediation
The sources list no fixed version for RT-Thread. The sources suggest installing the patch b3a0eb5 to address this issue.
Written with Claude Haiku 5.5 from the sources below · 2026-11-27
Timeline
- 2026-11-26 Threatist record created from CVE-2026-137621
- 2026-11-27 Alias added: GHSA-2qcw-qqhw-r653
References
Sources
- CVE-2026-137621 · CVE Program
- CVE-2026-137621 · NVD
- FIRST EPSS
- GHSA-2qcw-qqhw-r653 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences