# CVE-2026-26399: A stack-use-after-return issue exists in the ArduinoCoreSTM32 library prior to version 1.7.0.

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 8% of CVEs (2026-12-01)
- Published: 2026-04-20T00:00:00.000Z
- Modified: 2026-06-17T10:26:10.407Z
- Weaknesses: CWE-562
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a

## References

- <https://github.com/stm32duino/Arduino_Core_STM32/releases/tag/1.6.1>
- <https://github.com/Acen28/CVE-2026-26399-Disclosure>

## Sources

- CVE List: [CVE-2026-26399](https://www.cve.org/CVERecord?id=CVE-2026-26399), CVE Terms of Use, modified 2026-04-22
- NVD: [CVE-2026-26399](https://nvd.nist.gov/vuln/detail/CVE-2026-26399), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-26399 · Whole record: https://cve.day/CVE-2026-26399.json · Rebuilt by cve.day 2026-11-25T22:59:19.053Z
