Skip to main content

Arduino Core STM32 EUVDEUVD-2026-23912

| CVE-2026-26399 MEDIUM
Expired Pointer Dereference (CWE-825)
2026-04-20 mitre GHSA-vxch-4r45-jhw9
5.3
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Obtain firmware build or deployment access
  2. Delivery
    Compile firmware using vulnerable Arduino_Core_STM32 (<1.7.0) with pwm_start()
  3. Exploit
    Flash firmware to target STM32 device
  4. Install
    pwm_start() executes, stores stack pointer in global HAL registry
  5. C2
    Function returns, stack frame invalidated
  6. Execute
    Timer ISR fires, dereferences expired pointer
  7. Impact
    Memory corruption causes unpredictable device behavior or crash

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Expired pointer prevention
Exploitation Conditions

Exploitation requires firmware to be built against Arduino_Core_STM32 versions prior to 1.7.0 and to explicitly invoke the pwm_start() function - devices where PWM functionality is unused are not affected. The defect manifests at runtime when a hardware timer interrupt fires after pwm_start() has returned and the stack frame containing TIM_HandleTypeDef has been reclaimed; timing of the ISR relative to the stack invalidation determines whether corruption is reliable or intermittent. CVSS PR:L confirms that low-privilege local access is required - in the embedded firmware context this translates to the ability to compile and flash firmware onto the target device, making supply-chain or physical access the realistic attack path. There is no network-exploitable surface: the vulnerability is entirely internal to the firmware execution environment. Non-default configuration is not a prerequisite beyond enabling PWM, which is a standard and commonly-used Arduino peripheral feature.

Impact

The CVSS 3.1 vector AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L yields a 5.3 Medium score, which is broadly appropriate for the embedded firmware context: exploitation is local-only with no network vector, and impacts are partial across all three dimensions. EPSS at 0.02% (5th percentile) is consistent with SSVC exploitation status of 'none' and automatable status of 'no' - this is not a target attracting automated scanning or broad exploitation. The absence from CISA KEV further confirms no confirmed in-the-wild abuse. However, raw CVSS score understates real-world impact for safety-critical embedded applications: memory corruption in an ISR on an industrial controller, medical device, or robotics platform may have consequences far exceeding a 5.3 score implies. The 'Buffer Overflow' tag applied by the source is imprecise - CWE-825 (Expired Pointer Dereference) more accurately describes the root cause, though corruption effects may resemble a buffer overflow. The referenced disclosure repository (https://github.com/Acen28/CVE-2026-26399-Disclosure) indicates researcher-published details exist, but this is not independently confirmed to contain working exploit code versus disclosure documentation. Overall, this is a real code defect requiring patching in the library, but mass exploitation is implausible given the local/firmware-deployment constraint.

Exploit ScenarioDerived

A threat actor with firmware supply-chain access or a developer knowingly deploying vulnerable firmware ships an application using Arduino_Core_STM32 prior to 1.7.0 that calls pwm_start() to initialize PWM output. At runtime, once pwm_start() returns and a hardware timer interrupt fires, the ISR reads the stale stack pointer from the global handle registry, corrupting the current stack or heap. On safety-critical embedded platforms - motor controllers, robotics, or IoT actuators - this silent memory corruption could cause erratic behavior, device resets, or loss of control without triggering any explicit fault handler.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 24, 2026

Stack-use-after-return memory corruption in Arduino_Core_STM32 (stm32duino) allows local low-privileged actors to trigger undefined behavior via dangling pointer dereference in interrupt service routines on devices running firmware built with versions prior to 1.7.0. The pwm_start() function stores a stack-allocated TIM_HandleTypeDef pointer in a global HAL timer registry; once the function returns and the stack frame is reclaimed, any timer ISR that fires will dereference a now-invalid pointer, corrupting memory. A researcher disclosure repository (CVE-2026-26399-Disclosure) is publicly referenced, suggesting exploit details exist, though EPSS at 0.02% (5th percentile) and SSVC exploitation status of 'none' confirm no broad active exploitation at time of analysis.

RemediationAI

Upgrade Arduino_Core_STM32 to version 1.7.0 or later per the CVE description's stated fix threshold. Note that the referenced GitHub release (https://github.com/stm32duino/Arduino_Core_STM32/releases/tag/1.6.1) is version 1.6.1 and does not document this fix - developers should verify the changelog at the 1.7.0 release tag directly on the stm32duino GitHub repository. As a code-level workaround for teams that cannot immediately upgrade, allocate TIM_HandleTypeDef in static or global scope rather than on the stack within pwm_start() or any caller, ensuring the pointer remains valid for the lifetime of any ISR that may reference it; the trade-off is increased static memory consumption, which may be relevant on resource-constrained STM32 targets. A second compensating control is to disable the relevant timer interrupt (HAL_TIM_Base_Stop_IT or equivalent) before returning from pwm_start() and only re-enabling it after a stable handle location is ensured, though this adds complexity and potential for race conditions. No vendor advisory URL beyond the GitHub release and NVD entry (https://nvd.nist.gov/vuln/detail/CVE-2026-26399) is available in current intelligence.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Arduino_Core_STM32 is an Arduino-ecosystem Hardware Abstraction Layer (HAL) library for STM32 Arm Cortex-M microcontrollers, wrapping ST Microelectronics' STM32Cube HAL. The pwm_start() function initializes a PWM timer by allocating a TIM_HandleTypeDef structure on the stack - a common STM32 HAL pattern - and passing its address to HAL_TIM_PWM_Init() and associated routines, which store the pointer in a globally-accessible timer handle registry. After pwm_start() returns, the stack frame is invalidated, but the global registry still holds the original pointer. CWE-825 (Expired Pointer Dereference) precisely describes this class: a pointer is used after the object it references is no longer alive. When a hardware timer interrupt fires post-return, the ISR retrieves the stale handle pointer from the registry and attempts to read or write through it, causing unpredictable memory corruption. CPE data is listed as n/a in available intelligence, indicating NVD has not assigned formal CPE identifiers to this library; product scope is confirmed through the description and GitHub repository context.

Know when N A gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.3 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
vuln.today AI 5.3 MEDIUM

Local-only embedded firmware defect requiring PR:L to deploy; partial C/I/A impact from ISR memory corruption with no scope change.

3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
4.0 AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

Lifecycle Timeline

2
CVSS changed
Apr 21, 2026 - 20:22 NVD
5.3 (MEDIUM)
CVE Published
Apr 20, 2026 - 00:00 nvd
MEDIUM 5.3

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Prevalence
Low
niche embedded Arduino library for STM32 microcontroller development
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

A buffer overflow occurs when a program writes more data to a memory buffer than it was allocated to hold, causing the excess data to spill into adjacent memory regions.

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy