# CVE-2023-24821: RIOT-OS vulnerable to Integer Underflow during defragmentation

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.86%, higher than 59% of CVEs (2026-12-01)
- Published: 2023-04-24T15:11:47.374Z
- Modified: 2026-06-17T05:39:55.923Z
- Weaknesses: CWE-191, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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 large out of bounds write beyond the packet buffer. The write will create a hard fault exception after reaching the last page of RAM. The hard fault is not handled and the system will be stuck until reset, thus the impact is denial of service. Version 2022.10 fixes this issue. As a workaround, disable support for fragmented IP datagrams or apply the patches manually.

(As written by CVE List.)

## Affected

- RIOT-OS RIOT: < 2022.10; before 2022.10

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/RIOT-OS/RIOT/security/advisories/GHSA-2fpr-82xr-p887> (patch, vendor-advisory)
- <https://github.com/RIOT-OS/RIOT/pull/18817/commits/9728f727e75d7d78dbfb5918e0de1b938b7b6d2c> (patch)
- <https://github.com/RIOT-OS/RIOT/pull/18820/commits/bd31010231f5340e21410595dd95afc86bbfd341> (patch)

## Sources

- CVE List: [CVE-2023-24821](https://www.cve.org/CVERecord?id=CVE-2023-24821), CVE Terms of Use, modified 2025-02-04
- NVD: [CVE-2023-24821](https://nvd.nist.gov/vuln/detail/CVE-2023-24821), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-24821 · Whole record: https://cve.day/CVE-2023-24821.json · Rebuilt by cve.day 2026-11-25T22:58:23.712Z
