{"id":"CVE-2026-26399","aliases":["CVE-2026-26399"],"related":[],"kind":"vulnerability","state":"published","title":"A stack-use-after-return issue exists in the ArduinoCoreSTM32 library prior to version 1.7.0.","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"}],"published":"2026-04-20T00:00:00.000Z","modified":"2026-06-17T10:26:10.407Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-562"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"}],"references":[{"url":"https://github.com/stm32duino/Arduino_Core_STM32/releases/tag/1.6.1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://github.com/Acen28/CVE-2026-26399-Disclosure","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-04-21T19:48:51.466Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-26399","url":"https://www.cve.org/CVERecord?id=CVE-2026-26399","licence":"CVE Terms of Use","modified":"2026-04-22T19:53:16.622Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-26399","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-26399","licence":"Public domain","modified":"2026-06-17T10:26:10.407Z"}],"updatedAt":"2026-11-25T22:59:19.053Z","epss":{"score":0.00186,"percentile":0.08574,"date":"2026-12-01T12:00:22.000Z"}}