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
Configurations
No configuration.
History
22 Apr 2026, 21:16
| Type | Values Removed | Values Added |
|---|---|---|
| CWE | CWE-562 |
21 Apr 2026, 20:16
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 5.3 |
| CWE | CWE-825 |
20 Apr 2026, 18:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-04-20 18:16
Updated : 2026-04-22 21:16
NVD link : CVE-2026-26399
Mitre link : CVE-2026-26399
CVE.ORG link : CVE-2026-26399
JSON object : View
Products Affected
No product.
CWE
CWE-562
Return of Stack Variable Address
