CVE-2026-26399: n/a
CVE-2026-26399 is a stack-use-after-return vulnerability in the Arduino_Core_STM32 library before version 1. 7. 0. The issue arises because the pwm_start() function allocates a timer handle structure on the stack and passes its pointer to HAL initialization routines, which store it globally. After pwm_start() returns, interrupt service routines may dereference this invalid pointer, causing memory corruption.
AI Analysis
Technical Summary
This vulnerability involves a stack-use-after-return flaw in the pwm_start() function of the Arduino_Core_STM32 library prior to version 1.7.0. The function allocates a TIM_HandleTypeDef structure on the stack and passes its address to HAL initialization routines, which store the pointer in a global timer handle registry. Once pwm_start() returns, the stack-allocated structure is no longer valid, but interrupt service routines may still access this dangling pointer, leading to memory corruption.
Potential Impact
Memory corruption caused by dereferencing a dangling pointer in interrupt service routines may lead to unpredictable behavior, including potential system instability or crashes. No known exploits in the wild have been reported. The vulnerability affects embedded systems using the affected library versions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users should upgrade to Arduino_Core_STM32 version 1.7.0 or later once available. Until then, avoid using vulnerable versions in security-critical environments or apply any vendor-provided workarounds if available.
CVE-2026-26399: n/a
Description
CVE-2026-26399 is a stack-use-after-return vulnerability in the Arduino_Core_STM32 library before version 1. 7. 0. The issue arises because the pwm_start() function allocates a timer handle structure on the stack and passes its pointer to HAL initialization routines, which store it globally. After pwm_start() returns, interrupt service routines may dereference this invalid pointer, causing memory corruption.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves a stack-use-after-return flaw in the pwm_start() function of the Arduino_Core_STM32 library prior to version 1.7.0. The function allocates a TIM_HandleTypeDef structure on the stack and passes its address to HAL initialization routines, which store the pointer in a global timer handle registry. Once pwm_start() returns, the stack-allocated structure is no longer valid, but interrupt service routines may still access this dangling pointer, leading to memory corruption.
Potential Impact
Memory corruption caused by dereferencing a dangling pointer in interrupt service routines may lead to unpredictable behavior, including potential system instability or crashes. No known exploits in the wild have been reported. The vulnerability affects embedded systems using the affected library versions.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users should upgrade to Arduino_Core_STM32 version 1.7.0 or later once available. Until then, avoid using vulnerable versions in security-critical environments or apply any vendor-provided workarounds if available.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-02-16T00:00:00.000Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e6665f19fe3cd2cd1d0afd
Added to database: 4/20/2026, 5:46:07 PM
Last enriched: 4/20/2026, 6:01:32 PM
Last updated: 4/20/2026, 6:54:07 PM
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.