Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/Acen28/CVE-2026-26399-Disclosure
- https://github.com/stm32duino/Arduino_Core_STM32/releases/tag/1.6.1
FAQ
What is CVE-2026-26399?
CVE-2026-26399 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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 ...
How severe is CVE-2026-26399?
CVE-2026-26399 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-26399?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.