CVE-2024-32018
CVE-2024-32018 is a high-severity vulnerability in Riot-os Riot with a CVSS 3.x base score of 8.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-120.
Key facts
- Severity: High (CVSS 3.x base score 8.8)
- EPSS exploit prediction: 1% (71st percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-29856
- Weakness: CWE-120
- Affected product: Riot-os Riot
- Published:
- Last modified:
Description
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. Most codebases define assertion macros which compile to a no-op on non-debug builds. If assertions are the only line of defense against untrusted input, the software may be exposed to attacks that leverage the lack of proper input checks. In detail, in the `nimble_scanlist_update()` function below, `len` is checked in an assertion and subsequently used in a call to `memcpy()`. If an attacker is able to provide a larger `len` value while assertions are compiled-out, they can write past the end of the fixed-length `e->ad` buffer. If the unchecked input above is attacker-controlled and crosses a security boundary, the impact of the buffer overflow vulnerability could range from denial of service to arbitrary code execution. This issue has not yet been patched. Users are advised to add manual `len` checking.
Frequently asked questions
- What is CVE-2024-32018?
- 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. Most codebases define assertion macros which compile to a no-op on non-debug builds. If assertions are the only line of defense against untrusted input, the software may be exposed to attacks that leverage the lack of proper input checks. In detail, in the `nimble_scanlist_update()` function below, `len` is checked in an assertion and subsequently used in a call to `memcpy()`. If an attacker is able to provide a larger `len` value while assertions are compiled-out, they can write past the end of the fixed-length `e->ad` buffer. If the unchecked input above is attacker-controlled and crosses a security boundary, the impact of the buffer overflow vulnerability could range from denial of service to arbitrary code execution. This issue has not yet been patched. Users are advised to add manual `len` checking.
- How severe is CVE-2024-32018?
- CVE-2024-32018 has a CVSS 3.x base score of 8.8, rated high severity. It is exploitable over network with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2024-32018 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (71st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-32018?
- CVE-2024-32018 affects Riot-os Riot. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-32018?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2024-32018 have an EU (EUVD) identifier?
- Yes. CVE-2024-32018 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-29856.
- When was CVE-2024-32018 published?
- CVE-2024-32018 was published on 2024-05-01 and last updated on 2026-06-17.
References
- http://seclists.org/fulldisclosure/2024/May/7
- http://www.openwall.com/lists/oss-security/2024/05/07/3
- https://github.com/RIOT-OS/RIOT/blob/master/pkg/nimble/scanlist/nimble_scanlist.c#L74-L87
- https://github.com/RIOT-OS/RIOT/security/advisories/GHSA-899m-q6pp-hmp3
Affected products (1)
- cpe:2.3:o:riot-os:riot:*:*:*:*:*:*:*:*
More vulnerabilities in Riot-os Riot
- CVE-2026-22214 — Critical (CVSS 9.8): RIOT OS versions up to and including 2026.01-devel-317 contain a stack-based buffer overflow vulnerability in the ethos…
- CVE-2026-22213 — Critical (CVSS 9.8): RIOT OS versions up to and including 2026.01-devel-317 contain a stack-based buffer overflow vulnerability in the…
- CVE-2025-66647 — Critical (CVSS 9.8): RIOT is an open-source microcontroller operating system, designed to match the requirements of Internet of Things (IoT)…
- CVE-2025-53888 — Critical (CVSS 9.8): RIOT-OS, an operating system that supports Internet of Things devices, has an ineffective size check implemented with…
- CVE-2024-32017 — Critical (CVSS 9.8): RIOT is a real-time multi-threading operating system that supports a range of devices that are typically 8-bit, 16-bit…
- CVE-2023-33975 — Critical (CVSS 9.8): RIOT-OS, an operating system for Internet of Things (IoT) devices, contains a network stack with the ability to process…
All CVEs affecting Riot-os Riot →
Other CWE-120 (Classic Buffer Overflow) vulnerabilities
- CVE-2025-48611 — Critical (CVSS 10.0): In DeviceId of DeviceId.java, there is a possible desync in persistence due to a missing bounds check. This could lead…
- CVE-2026-24823 — Critical (CVSS 10.0): Out-of-bounds Write, Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') vulnerability in FASTSHIFT…
- CVE-2026-24810 — Critical (CVSS 10.0): Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') vulnerability in rethinkdb (src/cjson modules).…
- CVE-2026-24800 — Critical (CVSS 10.0): Out-of-bounds Write, Buffer Copy without Checking Size of Input ('Classic Buffer Overflow') vulnerability in tildearrow…
- CVE-2025-9962 — Critical (CVSS 10.0): A buffer overflow vulnerability in Novakon P series allows attackers to gain root permission without prior…
- CVE-2010-10016 — Critical (CVSS 10.0): BS.Player version 2.57 (build 1051) contains a vulnerability in its playlist import functionality. When processing .m3u…
Browse all CWE-120 (Classic Buffer Overflow) vulnerabilities →