Skip to content

CVE-2025-66647 RIOT OS has buffer overflow in gnrc_ipv6_ext_frag_reass

LowCVSS 1.7 EPSS 1.6%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
RIOT-OS RIOT < 2025.10; = 2025.10-rc1; = 2025.10-rc2; = 2025.10-rc3 +1 more 2025.10 Fixed

Affected products

ProductAffected versionsFixed in
RIOT-OS RIOT = < 2025.10 No fix listed
RIOT-OS RIOT < 2025.10 2025.10
RIOT-OS RIOT = 2025.10-rc1 No fix listed
RIOT-OS RIOT = 2025.10-rc2 No fix listed
RIOT-OS RIOT = 2025.10-rc3 No fix listed

References