{"id":"UBUNTU-CVE-2026-26399","details":"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.","modified":"2026-05-20T16:24:49.928501152Z","published":"2026-04-20T18:16:00Z","upstream":["CVE-2026-26399"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-26399"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-26399"}],"affected":[{"package":{"name":"arduino","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/arduino?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:1.0.5+dfsg2-4"],"ecosystem_specific":{"binaries":[{"binary_version":"2:1.0.5+dfsg2-4","binary_name":"arduino"},{"binary_name":"arduino-core","binary_version":"2:1.0.5+dfsg2-4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-26399.json"}},{"package":{"name":"arduino","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/arduino?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:1.0.5+dfsg2-4.1"],"ecosystem_specific":{"binaries":[{"binary_version":"2:1.0.5+dfsg2-4.1","binary_name":"arduino"},{"binary_version":"2:1.0.5+dfsg2-4.1","binary_name":"arduino-core"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-26399.json"}},{"package":{"name":"arduino","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/arduino?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:1.0.5+dfsg2-4.1"],"ecosystem_specific":{"binaries":[{"binary_name":"arduino","binary_version":"2:1.0.5+dfsg2-4.1"},{"binary_name":"arduino-core","binary_version":"2:1.0.5+dfsg2-4.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-26399.json"}},{"package":{"name":"arduino","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/arduino?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:1.8.15+dfsg1-1","2:1.8.16+dfsg1-1","2:1.8.18+dfsg1-1","2:1.8.19+dfsg1-1"],"ecosystem_specific":{"binaries":[{"binary_name":"arduino","binary_version":"2:1.8.19+dfsg1-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-26399.json"}},{"package":{"name":"arduino","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/arduino?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:1.8.19+dfsg1-2"],"ecosystem_specific":{"binaries":[{"binary_name":"arduino","binary_version":"2:1.8.19+dfsg1-2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-26399.json"}},{"package":{"name":"arduino","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/arduino?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:1.8.19+dfsg1-3","2:1.8.19+dfsg1-4"],"ecosystem_specific":{"binaries":[{"binary_version":"2:1.8.19+dfsg1-4","binary_name":"arduino"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-26399.json"}},{"package":{"name":"arduino","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/arduino?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:1.8.19+dfsg1-4","2:1.8.19+dfsg1-5"],"ecosystem_specific":{"binaries":[{"binary_version":"2:1.8.19+dfsg1-5","binary_name":"arduino"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-26399.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"},{"type":"Ubuntu","score":"medium"}]}