CVE-2026-48490
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
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| arduino | ArduinoCore-avr | < 1.8.8 | affected |
Weaknesses
- CWE-120: CWE-120: Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')
References
- https://github.com/arduino/ArduinoCore-avr/security/advisories/GHSA-fhp2-f8hw-mgpj
- https://github.com/arduino/ArduinoCore-avr/pull/622/changes/9492e146880d2b05d9cb9191f1bfb2c872a48404
- https://github.com/arduino/ArduinoCore-avr/releases/tag/1.8.8
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.