Vulnerability · Published Oct 16, 2026 · Assigned by GitHub_M
CVE-2026-49868RIOT: DHCPv6 client _parse_reply() missing sub-option length check leads to size_t underflow and unbounded OOB heap read
Critical 9.8
In plain English
A critical-severity out-of-bounds read in RIOT from RIOT-OS. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 31% of all known vulnerabilities).
Official description
RIOT is an open-source microcontroller operating system designed for Internet of Things devices and other embedded systems. Prior to 2026.07, _parse_reply() in sys/net/application_layer/dhcpv6/client.c omits minimum-length validation before passing IA_PD and IA_NA option bodies to sub-option parsers. A malicious or compromised DHCPv6 server can send a REPLY with an option length smaller than the required structure while MODULE_DHCPV6_CLIENT_IA_PD is enabled, causing _parse_ia_pd_option to read past the option body, size_t underflow, and unbounded out-of-bounds heap reads that can crash the device and may expose or corrupt memory. This issue is fixed in version 2026.07.
Affected products (as reported)
Weakness: CWE-125, CWE-191 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/RIOT-OS/RIOT/security/advisories/GHSA-p3fx-9qcg-jmcf x_refsource_CONFIRM
- https://github.com/RIOT-OS/RIOT/pull/22322 x_refsource_MISC
- https://github.com/RIOT-OS/RIOT/commit/c9830dc5f2a9bf97418de4fc7d7167d00a45df17 x_refsource_MISC
- https://github.com/RIOT-OS/RIOT/releases/tag/2026.07 x_refsource_MISC