Vulnerabilities · 2025 · Riot-os
CVE-2025-66647
Riot-os Riot vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Riot. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Riot-os Riot runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/RIOT-OS/RIOT/security/advisories/GHSA-wh3v-q6vr-j79r · Exploit
- github.com/RIOT-OS/RIOT/blob/eb65305cf9f1b7affb50b17af5c12341b83a8636/sys/net/gnrc/network
- github.com/RIOT-OS/RIOT/blob/eb65305cf9f1b7affb50b17af5c12341b83a8636/sys/net/gnrc/network
- github.com/RIOT-OS/RIOT/blob/eb65305cf9f1b7affb50b17af5c12341b83a8636/sys/net/gnrc/network
- github.com/RIOT-OS/RIOT/blob/eb65305cf9f1b7affb50b17af5c12341b83a8636/sys/net/gnrc/network
- github.com/RIOT-OS/RIOT/releases/tag/2025.10
- nvd.nist.gov/vuln/detail/CVE-2025-66647
- cve.org/CVERecord?id=CVE-2025-66647
More vulnerabilities in Riot-os products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.