What’s Vulnerable › Vulnerabilities
CVE-2024-52802: RIOT-OS missing dhcpv6_opt_t minimum header length check
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-11-22 · updated 2026-06-17
- Weakness: CWE-20
Description
RIOT is an operating system for internet of things (IoT) devices. In version 2024.04 and prior, the function `_parse_advertise`, located in `/sys/net/application_layer/dhcpv6/client.c`, has no minimum header length check for `dhcpv6_opt_t` after processing `dhcpv6_msg_t`. This omission could lead to an out-of-bound read, causing system inconsistency. Additionally, the same lack of a header length check is present in the function `_preparse_advertise`, which is called by `_parse_advertise` before handling the request. As of time of publication, no known patched version exists.
Affected products
- RIOT-OS RIOT: through 2024.04
References
Get alerted when CVE-2024-52802 or the next vulnerability affects your stack