{"id":"CVE-2025-66646","published":"2025-12-17T19:18:08Z","modified":"2025-12-17T20:30:49Z","title":"RIOT-OS has NULL pointer dereference in gnrc_ipv6_ext_frag_reass","vendor":"RIOT-OS","product":"RIOT","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":1.7,"severity":"LOW","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00727,"percentile":0.55091,"provenance":"source"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"references":[{"url":"https://github.com/RIOT-OS/RIOT/security/advisories/GHSA-v8gx-q9m6-5xm9","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/RIOT-OS/RIOT/blob/eb65305cf9f1b7affb50b17af5c12341b83a8636/sys/net/gnrc/network_layer/ipv6/ext/frag/gnrc_ipv6_ext_frag.c#L411","tags":["x_refsource_MISC"]},{"url":"https://github.com/RIOT-OS/RIOT/blob/eb65305cf9f1b7affb50b17af5c12341b83a8636/sys/net/gnrc/network_layer/ipv6/ext/frag/gnrc_ipv6_ext_frag.c#L420","tags":["x_refsource_MISC"]},{"url":"https://github.com/RIOT-OS/RIOT/blob/eb65305cf9f1b7affb50b17af5c12341b83a8636/sys/net/gnrc/network_layer/ipv6/ext/frag/gnrc_ipv6_ext_frag.c#L490","tags":["x_refsource_MISC"]},{"url":"https://github.com/RIOT-OS/RIOT/blob/eb65305cf9f1b7affb50b17af5c12341b83a8636/sys/net/gnrc/network_layer/ipv6/ext/frag/gnrc_ipv6_ext_frag.c#L532","tags":["x_refsource_MISC"]},{"url":"https://github.com/RIOT-OS/RIOT/blob/eb65305cf9f1b7affb50b17af5c12341b83a8636/sys/net/gnrc/network_layer/ipv6/ext/frag/gnrc_ipv6_ext_frag.c#L534","tags":["x_refsource_MISC"]},{"url":"https://github.com/RIOT-OS/RIOT/blob/eb65305cf9f1b7affb50b17af5c12341b83a8636/sys/net/gnrc/network_layer/ipv6/ext/frag/gnrc_ipv6_ext_frag.c#L544","tags":["x_refsource_MISC"]},{"url":"https://github.com/RIOT-OS/RIOT/blob/eb65305cf9f1b7affb50b17af5c12341b83a8636/sys/net/gnrc/pktbuf_static/gnrc_pktbuf_static.c#L150C1-L150C76","tags":["x_refsource_MISC"]},{"url":"https://github.com/RIOT-OS/RIOT/releases/tag/2025.10","tags":["x_refsource_MISC"]},{"url":"https://github.com/user-attachments/files/23903992/reproducer_1.zip","tags":["x_refsource_MISC"]}],"priority":{"score":12.2,"factors":[{"name":"EPSS percentile","points":11.02},{"name":"CVSS severity","points":1.19}]},"vendorSlug":"riot-os","affectedVersions":[{"vendor":"RIOT-OS","product":"RIOT","versions":["< 2025.10"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-12-17T20:26:51.611506Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-203929","exploited":false,"provenance":"source"}}