CVE-2025-66647

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

Configuration 1 (hide)

OR cpe:2.3:o:riot-os:riot:*:*:*:*:*:*:*:*
cpe:2.3:o:riot-os:riot:2025.10:rc1:*:*:*:*:*:*
cpe:2.3:o:riot-os:riot:2025.10:rc2:*:*:*:*:*:*
cpe:2.3:o:riot-os:riot:2025.10:rc3:*:*:*:*:*:*

History

13 Oct 2026, 11:10

Type Values Removed Values Added
Summary
  • (es) 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.

Information

Published : 2025-12-17 21:16

Updated : 2026-10-13 11:10


NVD link : CVE-2025-66647

Mitre link : CVE-2025-66647

CVE.ORG link : CVE-2025-66647


JSON object : View

Products Affected

riot-os

  • riot
CWE
CWE-120

Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')