# CVE-2026-49868: RIOT: DHCPv6 client _parse_reply() missing sub-option length check leads to size_t underflow and unbounded OOB heap read

- Severity: Critical 9.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/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.37%, higher than 33% of CVEs (2026-12-01)
- Published: 2026-10-16T16:50:58.750Z
- Modified: 2026-10-21T03:17:19.597Z
- Weaknesses: CWE-125, CWE-191
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- RIOT-OS RIOT: < 2026.07

## References

- <https://github.com/RIOT-OS/RIOT/security/advisories/GHSA-p3fx-9qcg-jmcf>
- <https://github.com/RIOT-OS/RIOT/pull/22322>
- <https://github.com/RIOT-OS/RIOT/commit/c9830dc5f2a9bf97418de4fc7d7167d00a45df17>
- <https://github.com/RIOT-OS/RIOT/releases/tag/2026.07>

## Sources

- CVE List: [CVE-2026-49868](https://www.cve.org/CVERecord?id=CVE-2026-49868), CVE Terms of Use, modified 2026-10-21
- NVD: [CVE-2026-49868](https://nvd.nist.gov/vuln/detail/CVE-2026-49868), Public domain, modified 2026-10-21

---

Page: https://cve.day/CVE-2026-49868 · Whole record: https://cve.day/CVE-2026-49868.json · Rebuilt by cve.day 2026-11-25T22:59:45.067Z
