# CVE-2024-52802: RIOT-OS missing dhcpv6_opt_t minimum header length check

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.76%, higher than 56% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-11-22T15:41:29.609Z
- Modified: 2026-06-17T08:07:39.310Z
- Weaknesses: CWE-20, CWE-125
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- RIOT-OS RIOT: <= 2024.04; up to 2024.04

## References

- <https://github.com/RIOT-OS/RIOT/security/advisories/GHSA-xgv3-pcq6-qmrg> (exploit, vendor-advisory)

## Sources

- CVE List: [CVE-2024-52802](https://www.cve.org/CVERecord?id=CVE-2024-52802), CVE Terms of Use, modified 2024-11-25
- NVD: [CVE-2024-52802](https://nvd.nist.gov/vuln/detail/CVE-2024-52802), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-52802 · Whole record: https://cve.day/CVE-2024-52802.json · Rebuilt by cve.day 2026-11-25T22:58:49.088Z
