CVE-2026-137618: RT-Thread HPM ADC Driver drv_adc.c hpm_adc_enabled array index
A vulnerability was identified in RT-Thread up to 5.3.0. This impacts the function hpmadcenabled of the file bsp/hpmicro/libraries/drivers/drvadc.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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Patch fc64f78669b42b35981f97c23c7e952832f3b48b
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
RT-Thread installations up to version 5.3.0 that use the HPM ADC Driver are affected. Exploitation requires local access and low privileges.
Is exploitation practical?
A public proof of concept is available, and the exploitability assessment is marked as proven. An attacker must be able to manipulate the channel argument passed to the affected driver function.
What remediation is available?
Apply the patch identified by commit fc64f78669b42b35981f97c23c7e952832f3b48b. The available data does not provide an alternative mitigation for systems that cannot be patched immediately.