1. Archivio CVE
  2. 2026
  3. CVE-2026-26399

CVE-2026-26399

5.3 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L 5.3 – Media

Descrizione

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.

Tipo di vulnerabilità

CWE-562 Return of Stack Variable Address

A function returns the address of a stack variable.

Impatto sui sistemi

AmbitoImpatto
Disponibilità, Integrità, Riservatezza Leggere la memoria, Modificare la memoria, Eseguire codice o comandi non autorizzati, Interruzione del servizio: arresto o riavvio

Come si previene

Sviluppo Fix the code so that it does not return a stack address.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 7 CVE di tipo CWE-562, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org