Skip to content

CVE-2026-26399 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....

MediumCVSS 5.3 EPSS 0.15%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Ubuntu

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.

Upgrade path

4 packages: 0 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/arduino(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/arduino(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/arduino(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/arduino(Ubuntu 26.10) All versions No fix listed No fix yet

Affected products

ProductAffected versionsFixed in
ubuntu/arduino(Ubuntu:22.04) All versions No fix listed
ubuntu/arduino(Ubuntu:24.04) All versions No fix listed
ubuntu/arduino(Ubuntu:26.04) All versions No fix listed
ubuntu/arduino(Ubuntu:26.10) All versions No fix listed

References