Return of Stack Variable Address Affecting stm32duino/Arduino_Core_STM32 package, versions [,1.7.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.18% (8th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-STM32DUINOARDUINOCORESTM32-16352399
  • published3 May 2026
  • disclosed20 Apr 2026
  • creditJin Chang

Introduced: 20 Apr 2026

CVE-2026-26399  (opens in a new tab)
CWE-562  (opens in a new tab)

How to fix?

Upgrade stm32duino/Arduino_Core_STM32 to version 1.7.0 or higher.

Overview

Affected versions of this package are vulnerable to Return of Stack Variable Address in the pwm_start function. An attacker can cause memory corruption or potentially execute arbitrary code by triggering interrupt service routines that dereference a dangling pointer to a stack-allocated structure after the function has returned.

CVSS Base Scores

version 4.0
version 3.1