A stack-use-after-return issue exists in the Arduino_Core_STM32 library prior to version 1.7.0. The pwm_start() function allocates a TIM_HandleTypeDef structure on the stack and passes its address to HAL initialization routines, where it is stored in a global timer handle registry. After the function returns, interrupt service routines may dereference this dangling pointer, resulting in memory corruption.
Project Subscriptions
No data.
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Mon, 20 Apr 2026 19:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Stack Use-After-Return in Arduino STM32 Core Library Causing Memory Corruption | |
| Weaknesses | CWE-416 |
Mon, 20 Apr 2026 17:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | A stack-use-after-return issue exists in the Arduino_Core_STM32 library prior to version 1.7.0. The pwm_start() function allocates a TIM_HandleTypeDef structure on the stack and passes its address to HAL initialization routines, where it is stored in a global timer handle registry. After the function returns, interrupt service routines may dereference this dangling pointer, resulting in memory corruption. | |
| References |
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2026-04-20T17:04:17.309Z
Reserved: 2026-02-16T00:00:00.000Z
Link: CVE-2026-26399
No data.
Status : Awaiting Analysis
Published: 2026-04-20T18:16:25.040
Modified: 2026-04-20T19:05:30.750
Link: CVE-2026-26399
No data.
OpenCVE Enrichment
Updated: 2026-04-20T18:45:14Z
Weaknesses