What’s Vulnerable › Vulnerabilities
CVE-2023-24822: RIOT-OS vulnerable to Null Pointer dereference during IPHC encoding
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-04-24 · updated 2026-06-17
- Weakness: CWE-476
Description
RIOT-OS, an operating system that supports Internet of Things devices, contains a network stack with the ability to process 6LoWPAN frames. Prior to version 2022.10, an attacker can send a crafted frame to the device resulting in a NULL pointer dereference while encoding a 6LoWPAN IPHC header. The NULL pointer dereference causes a hard fault exception, leading to denial of service. Version 2022.10 fixes this issue. As a workaround, apply the patches manually.
Affected products
- RIOT-OS RIOT: before 2022.10 — fixed in 2022.10
How to fix
Upgrade to a fixed version: RIOT-OS RIOT 2022.10. Check the vendor advisory for mitigations.
References
- https://github.com/RIOT-OS/RIOT/pull/18817/commits/639c04325de4ceb9d444955f4927bfae95843a39
- https://github.com/RIOT-OS/RIOT/pull/18820/commits/7253e261556f252816f4a3b7c4f96fc10d642485
- https://github.com/RIOT-OS/RIOT/security/advisories/GHSA-8x69-5fhj-72wh
- https://github.com/RIOT-OS/RIOT/pull/18817/commits/639c04325de4ceb9d444955f4927bfae95843a39
- https://github.com/RIOT-OS/RIOT/pull/18820/commits/7253e261556f252816f4a3b7c4f96fc10d642485
- https://github.com/RIOT-OS/RIOT/security/advisories/GHSA-8x69-5fhj-72wh
Get alerted when CVE-2023-24822 or the next vulnerability affects your stack