CVE-2024-31225: RIOT is a real-time multi-threading operating system that supports a range of devices that are typically 8-bit
CVE-2024-31225 is a high-severity flaw (CVSS 8.3) affecting riot. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
RIOT is a real-time multi-threading operating system that supports a range of devices that are typically 8-bit, 16-bit and 32-bit microcontrollers. The `_on_rd_init()` function does not implement a size check before copying data to the `_result_buf` static buffer. If an attacker can craft a long enough payload, they could cause a buffer overflow. If the unchecked input above is attacker-controlled and crosses a security boundary, the impact of th
Why this priority
- High severity
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 8.3 (High) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 1.3% (top 30%) |
| CISA exploited list | No |
| Weakness | CWE-120 |
| Published | 2024-05-01 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-31225?
riot: upgrade to 2024.01. Exact commands for each OS are on this page.
Is CVE-2024-31225 being exploited?
CVE-2024-31225 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-31225 affect?
CVE-2024-31225 affects riot. Severity is high (CVSS 8.3). RIOT is a real-time multi-threading operating system that supports a range of devices that are typically 8-bit, 16-bit and 32-bit microcontrollers. The `_on_rd_init()` function does not implement a size check before copying data to the `_re
How urgent is CVE-2024-31225?
Priority 52/100. High severity; Public exploit reference
Related CVEs
- CVE-2025-66647 CRITICAL 9.8 UPGRADE RIOT is an open-source microcontroller operating system, designed to match the requirements of Internet of Thi
- CVE-2025-66646 HIGH 7.5 UPGRADE RIOT is an open-source microcontroller operating system, designed to match the requirements of Internet of Thi
- CVE-2026-22214 CRITICAL 9.8 UPGRADE RIOT OS versions up to and including 2026.01-devel-317 contain a stack-based buffer overflow vulnerability in
- CVE-2026-22213 CRITICAL 9.8 UPGRADE RIOT OS versions up to and including 2026.01-devel-317 contain a stack-based buffer overflow vulnerability in
- CVE-2026-25139 CRITICAL 9.1 UPGRADE RIOT is an open-source microcontroller operating system, designed to match the requirements of Internet of Thi