Skip to main content

ArduinoCore-avr CVE-2026-48490

| EUVDEUVD-2026-76769 MEDIUM
Classic Buffer Overflow (CWE-120)
2026-09-11 security-advisories@github.com
6.9
CVSS 4.0 · Vendor: github
View

Attack ChainAIDerived

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

  1. Access
    Supply extreme float value via network/serial input
  2. Delivery
    Sketch converts input to float/double
  3. Exploit
    Passes value to String::concat() or +=
  4. Execution
    dtostrf() writes beyond 20-byte stack buffer
  5. Persist
    Stack memory corruption
  6. Impact
    Device crash (DoS) or conditional MCU code execution

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer copy size validation
MITRE ATT&CK

1 technique across 1 tactic: Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires all three of the following conditions simultaneously: (1) the target Arduino AVR board has an active communication channel that accepts externally controlled data (e.g., network interface via Ethernet or WiFi shield, Bluetooth, serial-over-USB, or similar); (2) the sketch converts that external data to a C float or double type; and (3) the resulting float/double is passed to String::concat(float), String::concat(double), String::operator+=(float/double), or the + operator with a float/double operand in ArduinoCore-avr prior to 1.8.8. The overflow is triggered only when the float/double value is near the representable extremes (roughly ±3.4×10³⁸ for float). Arduino boards with no network or external communication interface, or sketches that never concatenate externally derived floats to String objects, are not remotely exploitable. Reliable arbitrary code execution is additionally limited by the AVR architecture's lack of an MMU and the very small RAM (2-8 KB on typical boards), making a crash or reset the far more probable outcome than controlled RCE.

Impact

The CVSS 4.0 base vector (AV:N/AC:L/AT:N/PR:N/UI:N, score 6.9) reflects the scenario where a network-connected Arduino sketch can receive attacker-controlled data and pass it through the vulnerable path without authentication or user interaction. However, the impact vector (VA:L only, no VI, VC, or subsequent-system impacts) appears to understate the description's acknowledgment of conditional RCE on the MCU - though this may be intentional given that reliable code execution on a resource-constrained AVR without an MMU is far harder than a simple crash. No EPSS data, no CISA KEV listing, and no POC code appear in the available intelligence, all pointing to low real-world exploitation probability at this time. Practical risk is strongly gated by deployment context: the board must be network-connected AND the sketch must convert externally supplied input to float/double AND concatenate it to a String object - a combination that is non-trivial but not rare in IoT sensor or telemetry applications. The primary realistic impact is a device reset or hang (DoS), not reliable arbitrary code execution; even a mid-sized industrial automation operator in boleslawiec running networked AVR-based sensor arrays should prioritize patching in the next maintenance window but need not treat this as an emergency comparable to a confirmed KEV entry. The CVSS 4.0 AC:L metric is reasonable - crafting a float near FLT_MAX is trivial once the attack path is understood.

Exploit ScenarioDerived

An attacker targeting an Arduino Mega running a network-connected sketch (e.g., via an Ethernet shield or ESP8266 co-processor) crafts a UDP or TCP message containing a floating-point payload with a value near FLT_MAX (~3.4×10³⁸). The sketch parses the value as a float and appends it to a diagnostic log String via +=, triggering dtostrf() to write a 42+ character string into the 20-byte stack buffer, smashing the return address and causing the board to crash or - on firmware with specific stack layouts - redirecting execution. No public exploit code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 11, 2026

Stack-based buffer overflow in ArduinoCore-avr versions prior to 1.8.8 allows an attacker who can influence float or double values passed to Arduino String concatenation methods to corrupt stack memory on AVR-based Arduino boards, causing denial of service and - under specific conditions - arbitrary code execution on the microcontroller. The flaw resides in String::concat(float) and String::concat(double) in WString.cpp, where a fixed 20-byte stack buffer is insufficient for values near the extremes of the float or double range when processed by dtostrf(). A vendor-released patch is available in version 1.8.8; no public exploit has been identified at time of analysis.

RemediationAI

Vendor-released patch: ArduinoCore-avr 1.8.8. Upgrade the 'Arduino AVR Boards' platform package to version 1.8.8 or later via the Arduino IDE Boards Manager (Tools → Board → Boards Manager → 'Arduino AVR Boards') or via Arduino CLI with arduino-cli core update-index && arduino-cli core upgrade arduino:avr. The release is available at https://github.com/arduino/ArduinoCore-avr/releases/tag/1.8.8. If immediate upgrade is not feasible, sketches can be hardened at the application level by validating and clamping float or double values to a safe representable range (e.g., rejecting any value with absolute magnitude above 1e15) before passing them to String::concat(), +=, or the + operator with float/double operands. This workaround requires code changes in every affected sketch and does not protect against values already in scope; it should be treated as a temporary measure only. See the full security advisory at https://github.com/arduino/ArduinoCore-avr/security/advisories/GHSA-fhp2-f8hw-mgpj.

Affected VersionsENISA

ArduinoCore-avr < 1.8.8

Affected Packages

euvd arduinocore_avr fix: 1.8.8

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

The vulnerability is rooted in cores/arduino/WString.cpp within the ArduinoCore-avr platform, the foundational source that drives all official Arduino AVR-architecture boards (Uno, Mega, Nano, Leonardo, and compatibles). The String::concat(float) and String::concat(double) methods each allocated a hardcoded char buf[20] on the stack to hold the string representation of the numeric value before appending it. The conversion is performed by dtostrf(), an AVR-libc function that converts floating-point to string with no enforced output-length cap. For values near FLT_MAX (~3.4×10³⁸) or DBL_MAX, the resulting decimal representation (including sign, digits, decimal point, and two fixed decimal places) far exceeds 20 characters, causing dtostrf() to write past the buffer boundary into adjacent stack frames - a textbook CWE-120 (Buffer Copy without Checking Size of Input) defect. The PR #622 fix, confirmed by the diff, replaces the hardcoded sizes with compile-time constants derived from FLT_MAX_10_EXP and DBL_MAX_10_EXP, correctly bounding the buffer for all representable values. The same change is applied to both the float and double variants.

Know when the next one hits your stack

  • 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

Vendor (github) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
vuln.today AI 8.2 HIGH

AV:N for network-connected sketches; AC:L as crafting a near-FLT_MAX value is trivial; A:H for stack corruption causing device crash; I:L for conditional but unconfirmed RCE.

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

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Sep 11, 2026 - 23:04 EUVD

DescriptionCVE.org

ArduinoCore-avr contains the source code and configuration files of the Arduino AVR Boards platform. A vulnerability in versions prior to 1.8.8 allows an attacker to trigger a stack-based buffer overflow when concatenating floating-point values of sufficiently large magnitude onto an Arduino String object. By passing values near the extremes of the float or double range to String::concat(float), String::concat(double), String::operator+=(), or the + operator with a float/double operand, dtostrf() writes beyond the fixed-size stack buffer, causing memory corruption and denial of service. Under specific conditions, this could enable arbitrary code execution on AVR-based Arduino boards. The fix is included starting from the 1.8.8 release.

Threat Intelligence Overview

EPSS Score
0.4%
Top 67% exploitable
Prevalence
Medium
widely used across hobbyist, IoT, and educational maker projects globally
Data Quality
6 sources
Confidence: High

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.4%
Patch available Yes
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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
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.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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