RIOT-OS has NULL pointer dereference in gnrc_ipv6_ext_frag_reass
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 2025.10
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
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 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.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- RIOT-OS RIOT
fixed in 2025.10
References 10
GitHub · RIOT-OS/RIOT
- Advisory GHSA-v8gx-q9m6-5xm9
- sys/net/gnrc/network_layer/ipv6/ext/frag/gnrc_ipv6_ext_frag.c · L411
- sys/net/gnrc/network_layer/ipv6/ext/frag/gnrc_ipv6_ext_frag.c · L420
- sys/net/gnrc/network_layer/ipv6/ext/frag/gnrc_ipv6_ext_frag.c · L490
- sys/net/gnrc/network_layer/ipv6/ext/frag/gnrc_ipv6_ext_frag.c · L532
- sys/net/gnrc/network_layer/ipv6/ext/frag/gnrc_ipv6_ext_frag.c · L534
- sys/net/gnrc/network_layer/ipv6/ext/frag/gnrc_ipv6_ext_frag.c · L544
- sys/net/gnrc/pktbuf_static/gnrc_pktbuf_static.c · L150C1-L150C76
- Release 2025.10