{"id":"CVE-2025-66647","aliases":["CVE-2025-66647"],"related":[],"kind":"vulnerability","state":"published","title":"RIOT OS has buffer overflow in gnrc_ipv6_ext_frag_reass","summary":"RIOT is an open-source microcontroller operating system, designed to match the requirements of Internet of Things (IoT) devices and other embedded devices. A vulnerability was discovered in the IPv6 fragmentation reassembly implementation of RIOT OS v2025.07. When copying the contents of the first fragment (offset=0) into the reassembly buffer, no size check is performed. It is possible to force the creation of a small reassembly buffer by first sending a shorter fragment (also with offset=0). Overflowing the reassembly buffer corrupts the state of other packet buffers which an attacker might be able to used to achieve further memory corruption (potentially resulting in remote code execution). To trigger the vulnerability, the `gnrc_ipv6_ext_frag` module must be included and the attacker must be able to send arbitrary IPv6 packets to the victim. Version 2025.10 fixes the issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"RIOT is an open-source microcontroller operating system, designed to match the requirements of Internet of Things (IoT) devices and other embedded devices. A vulnerability was discovered in the IPv6 fragmentation reassembly implementation of RIOT OS v2025.07. When copying the contents of the first fragment (offset=0) into the reassembly buffer, no size check is performed. It is possible to force the creation of a small reassembly buffer by first sending a shorter fragment (also with offset=0). Overflowing the reassembly buffer corrupts the state of other packet buffers which an attacker might be able to used to achieve further memory corruption (potentially resulting in remote code execution). To trigger the vulnerability, the `gnrc_ipv6_ext_frag` module must be included and the attacker must be able to send arbitrary IPv6 packets to the victim. Version 2025.10 fixes the issue.","source":"cvelist"},{"lang":"es","text":"RIOT es un sistema operativo de microcontroladores de código abierto, diseñado para cumplir los requisitos de los dispositivos de internet de las cosas (IoT) y otros dispositivos embebidos. Se descubrió una vulnerabilidad en la implementación de reensamblaje de fragmentación IPv6 de RIOT OS v2025.07. Al copiar el contenido del primer fragmento (offset=0) en el búfer de reensamblaje, no se realiza ninguna comprobación de tamaño. Es posible forzar la creación de un búfer de reensamblaje pequeño enviando primero un fragmento más corto (también con offset=0). Desbordar el búfer de reensamblaje corrompe el estado de otros búferes de paquetes que un atacante podría usar para lograr una mayor corrupción de memoria (lo que podría resultar en ejecución remota de código). Para activar la vulnerabilidad, el módulo 'gnrc_ipv6_ext_frag' debe estar incluido y el atacante debe poder enviar paquetes IPv6 arbitrarios a la víctima. La versión 2025.10 soluciona el problema.","source":"nvd"}],"published":"2025-12-17T20:21:13.264Z","modified":"2026-10-13T11:10:00.203Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U","score":1.7,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U","score":1.7,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-120"],"affected":[{"ranges":[{"version":"< 2025.10","status":"affected"}],"vendor":"RIOT-OS","product":"RIOT","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2025.10"},{"status":"affected","version":"2025.10"},{"status":"affected","version":"2025.10"},{"status":"affected","version":"2025.10"}],"vendor":"riot-os","product":"riot","cpe":"cpe:2.3:o:riot-os:riot:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/RIOT-OS/RIOT/security/advisories/GHSA-wh3v-q6vr-j79r","tags":["exploit","patch","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/RIOT-OS/RIOT/blob/eb65305cf9f1b7affb50b17af5c12341b83a8636/sys/net/gnrc/network_layer/ipv6/ext/frag/gnrc_ipv6_ext_frag.c#L411","tags":["product","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/RIOT-OS/RIOT/blob/eb65305cf9f1b7affb50b17af5c12341b83a8636/sys/net/gnrc/network_layer/ipv6/ext/frag/gnrc_ipv6_ext_frag.c#L481","tags":["product","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/RIOT-OS/RIOT/blob/eb65305cf9f1b7affb50b17af5c12341b83a8636/sys/net/gnrc/network_layer/ipv6/ext/frag/gnrc_ipv6_ext_frag.c#L532","tags":["product","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/RIOT-OS/RIOT/blob/eb65305cf9f1b7affb50b17af5c12341b83a8636/sys/net/gnrc/network_layer/ipv6/ext/frag/gnrc_ipv6_ext_frag.c#L544","tags":["product","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/RIOT-OS/RIOT/releases/tag/2025.10","tags":["release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-12-17T20:33:41.075Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-66647","url":"https://www.cve.org/CVERecord?id=CVE-2025-66647","licence":"CVE Terms of Use","modified":"2025-12-17T20:39:34.238Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-66647","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-66647","licence":"Public domain","modified":"2026-10-13T11:10:00.203Z"}],"updatedAt":"2026-11-25T22:59:09.596Z","epss":{"score":0.0104,"percentile":0.64943,"date":"2026-12-01T12:00:22.000Z"}}