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 receiving an fragmented IPv6 packet with fragment offset 0 and an empty payload, the payload pointer is set to NULL. However, the implementation still tries to copy the payload into the reassembly buffer, resulting in a NULL pointer dereference which crashes the OS (DoS). To trigger the vulnerability, the `gnrc_ipv6_ext_frag` module must be enabled and the attacker must be able to send arbitrary IPv6 packets to the victim. RIOT OS v2025.10 fixes the issue.
Problem types
CWE-476: NULL Pointer Dereference
Product status
References
github.com/...S/RIOT/security/advisories/GHSA-v8gx-q9m6-5xm9
github.com/...twork_layer/ipv6/ext/frag/gnrc_ipv6_ext_frag.c
github.com/...twork_layer/ipv6/ext/frag/gnrc_ipv6_ext_frag.c
github.com/...twork_layer/ipv6/ext/frag/gnrc_ipv6_ext_frag.c
github.com/...twork_layer/ipv6/ext/frag/gnrc_ipv6_ext_frag.c
github.com/...twork_layer/ipv6/ext/frag/gnrc_ipv6_ext_frag.c
github.com/...twork_layer/ipv6/ext/frag/gnrc_ipv6_ext_frag.c
github.com/...ys/net/gnrc/pktbuf_static/gnrc_pktbuf_static.c
github.com/RIOT-OS/RIOT/releases/tag/2025.10
github.com/user-attachments/files/23903992/reproducer_1.zip
Data based on CVE®. Copyright © 1999-2025, The MITRE Corporation. All rights reserved.