{"id":"CVE-2026-49868","summary":"RIOT: DHCPv6 client _parse_reply() missing sub-option length check leads to size_t underflow and unbounded OOB heap read","details":"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.","aliases":["GHSA-p3fx-9qcg-jmcf"],"modified":"2026-11-13T13:10:10.714078266Z","published":"2026-10-16T16:50:58.750Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-125","CWE-191"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49868.json"},"references":[{"type":"WEB","url":"https://github.com/RIOT-OS/RIOT/releases/tag/2026.07"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49868.json"},{"type":"ADVISORY","url":"https://github.com/RIOT-OS/RIOT/security/advisories/GHSA-p3fx-9qcg-jmcf"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49868"},{"type":"FIX","url":"https://github.com/RIOT-OS/RIOT/commit/c9830dc5f2a9bf97418de4fc7d7167d00a45df17"},{"type":"FIX","url":"https://github.com/RIOT-OS/RIOT/pull/22322"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/riot-os/riot","events":[{"introduced":"0"},{"fixed":"a897b0498f635654f091bf9f33e9696aa773e886"},{"fixed":"c9830dc5f2a9bf97418de4fc7d7167d00a45df17"}],"database_specific":{"extracted_events":[{"strategy":"StringRangeExpression","range":[{"introduced":"0"},{"fixed":"2026.07"}],"source":"AFFECTED_FIELD"},{"range":[{"fixed":"c9830dc5f2a9bf97418de4fc7d7167d00a45df17"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"a897b0498f635654f091bf9f33e9696aa773e886"}],"source":"REFERENCES_TAG","original_tag":"2026.07"}]}}],"versions":["2026.04-devel","2026.01-RC1","2026.01-devel","2025.10-RC1","2025.10-devel","2025.07-RC1","2025.07-devel","2025.04-RC1","2025.04-devel","2025.01-RC1","2025.01-devel","2024.10-RC1","2024.10-devel","2024.07-RC1","2024.04","2024.07-devel","2024.04-RC1","2024.04-devel","2024.01-RC1","2024.01-devel","2023.10-RC1","2023.10-devel","2023.07-RC1","2023.07-devel","2023.04-RC1","2023.04-devel","2023.01-RC1","2023.01-devel","2022.10-RC1","2022.10-devel","2022.07-RC1","2022.07-devel","2022.04-RC1","2022.04-devel","2022.01-RC1","2022.01-devel","2021.10-RC1","2021.10-devel","2021.07-RC1","2021.07-devel","2021.04-RC1","2021.04-devel","2021.01-RC1","2021.01-devel","2020.10-RC1","2020.10-devel","2020.07-RC1","2020.07-devel","2020.04-RC1","2020.04-devel","2020.01-RC1","2020.01-devel","2019.10-RC1","2019.10-devel","2019.07-RC1","2019.07-devel","2019.04-RC1","2019.04-devel","2019.01-RC1","2018.10-devel","2018.07-RC1","2019.01-devel","2018.10-RC1","2018.07-devel","2018.04-RC1","2018.04-devel","2018.01-RC1","2018.01-devel","2017.10-RC1","2017.10-devel","2017.07-RC1","2017.07-devel","2017.04-RC1","2017.04-devel","2017.01-RC1","2017.01-devel","2016.10-RC1","2016.10-devel","2016.07-RC2","2016.07-RC1","2016.04-RC1","2016.07-devel","2016.03-devel","2015.12-RC1","2015.12-devel","2015.09-RC1","2014.12","2014.05","2014.01","2013.08"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-49868.json","vanir_signatures":[{"source":"https://github.com/riot-os/riot/commit/c9830dc5f2a9bf97418de4fc7d7167d00a45df17","target":{"function":"_parse_reply","file":"sys/net/application_layer/dhcpv6/client.c"},"deprecated":false,"digest":{"function_hash":"49564545479083394361929119292189058955","length":2392},"id":"CVE-2026-49868-8f83d41f","signature_type":"Function","signature_version":"v1"},{"id":"CVE-2026-49868-a3f64bd1","signature_type":"Line","signature_version":"v1","source":"https://github.com/riot-os/riot/commit/c9830dc5f2a9bf97418de4fc7d7167d00a45df17","target":{"file":"sys/net/application_layer/dhcpv6/client.c"},"deprecated":false,"digest":{"line_hashes":["79901876531702869705485436342010443827","91826168062807100970374657428477784796","218983043769704940914313903597886763437","204998223021553186455365567289397312413","236130153475909085073335624341020032893","216196984819448220389299281210945621338","252851510323082288172471301158447873639","108047907103313885685867247977209583633"],"threshold":0.9}}],"vanir_signatures_modified":"2026-11-13T13:10:10Z"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}