CVE-2025-69209 ArduinoCore-avr has Stack-Based Buffer Overflow in WString Float/Double Constructors
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
ArduinoCore-avr contains the source code and configuration files of the Arduino AVR Boards platform. A vulnerability in versions prior to 1.8.7 allows an attacker to trigger a stack-based buffer overflow when converting floating-point values to strings with high precision. By passing very large decimalPlaces values to the affected String constructors or concat methods, the dtostrf function writes beyond fixed-size stack buffers, causing memory corruption and denial of service. Under specific conditions, this could enable arbitrary code execution on AVR-based Arduino boards.
Patches
-
The Fix is included starting from the
1.8.7release available from the following link ArduinoCore-avr v1.8.7 -
The Fixing Commit is available at the following link 1a6a417f89c8901dad646efce74ae9d3ddebfd59
References
Credits
- Maxime Rossi Bellom and Ramtine Tofighi Shirazi from SecMate (https://secmate.dev/)
Upgrade path
8 packages: 3 fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/arduino-core-avr(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/arduino-core-avr(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/arduino-core-avr(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/arduino-core-avr(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/arduino-core-avr(Debian 12) | < 1.8.7+dfsg-1~deb12u1; = 1.8.6+dfsg-1; = 1.8.6+dfsg-2 | 1.8.7+dfsg-1~deb12u1 | Fixed |
| debian/arduino-core-avr(Debian 13) | < 1.8.7+dfsg-1~deb13u1; = 1.8.6+dfsg-2; = 1.8.7+dfsg-1~deb12u1 | 1.8.7+dfsg-1~deb13u1 | Fixed |
| debian/arduino-core-avr(Debian 14) | < 1.8.7+dfsg-1; = 1.8.6+dfsg-2; = 1.8.7+dfsg-1~deb12u1; = 1.8.7+dfsg-1~deb13u1 | 1.8.7+dfsg-1 | Fixed |
| ArduinoCore-avr | = < 1.8.7 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/arduino-core-avr(Debian:12) | < 1.8.7+dfsg-1~deb12u1 | 1.8.7+dfsg-1~deb12u1 |
| debian/arduino-core-avr(Debian:12) | = 1.8.6+dfsg-1 | No fix listed |
| debian/arduino-core-avr(Debian:12) | = 1.8.6+dfsg-2 | No fix listed |
| debian/arduino-core-avr(Debian:13) | < 1.8.7+dfsg-1~deb13u1 | 1.8.7+dfsg-1~deb13u1 |
| debian/arduino-core-avr(Debian:13) | = 1.8.6+dfsg-2 | No fix listed |
| debian/arduino-core-avr(Debian:13) | = 1.8.7+dfsg-1~deb12u1 | No fix listed |
| debian/arduino-core-avr(Debian:14) | < 1.8.7+dfsg-1 | 1.8.7+dfsg-1 |
| debian/arduino-core-avr(Debian:14) | = 1.8.6+dfsg-2 | No fix listed |
| debian/arduino-core-avr(Debian:14) | = 1.8.7+dfsg-1~deb12u1 | No fix listed |
| debian/arduino-core-avr(Debian:14) | = 1.8.7+dfsg-1~deb13u1 | No fix listed |
| ArduinoCore-avr | = < 1.8.7 | No fix listed |
| ubuntu/arduino-core-avr(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/arduino-core-avr(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/arduino-core-avr(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/arduino-core-avr(Ubuntu:26.10) | All versions | No fix listed |
References
- Debian Security Tracker CVE-2025-69209 vendor-advisory
- https://github.com/arduino/ArduinoCore-avr/security/advisories/GHSA-pvx3-fm7w-6hjm
- https://github.com/arduino/ArduinoCore-avr/pull/613
- https://github.com/arduino/ArduinoCore-avr/commit/82a8ad2fb33911d8927c7af22e0472b94325d1a7
- https://github.com/arduino/ArduinoCore-avr/releases/tag/1.8.7
- https://support.arduino.cc/hc/en-us/articles/24985906702748-ASEC-26-001-ArduinoCore-AVR-v1-8-7-Resolves-Stack-Based-Buffer-Overflow-Vulnerability
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking