RIOT-OS vulnerable to Null Pointer dereference during IPHC encoding
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2023-24822
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 13:44 UTC · Revision 1
Source evidence
RIOT-OS vulnerable to Null Pointer dereference during IPHC encoding
core-osv · Original sourcePublished 24 Apr 2023, 15:24 UTC
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.
osv:CVE-2023-24822
Complete source record
{
"id": "4fabed0c20fde892b309d25f9cfff21b406fbb68d09a01c6d7b0da3efce5d0df",
"url": "https://osv.dev/vulnerability/CVE-2023-24822",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "RIOT-OS vulnerable to Null Pointer dereference during IPHC encoding",
"summary": "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.",
"evidence": "osv:CVE-2023-24822",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2023-24822",
"aliases": [
"CVE-2023-24822",
"GHSA-8x69-5fhj-72wh"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/riot-os/riot",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "365fbed906226dc36f50b0929e07426acbcc1e7d"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "2022.10"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
}
]
}
}
],
"versions": [
"2022.07-devel",
"2022.04-RC1",
"2022.04-devel",
"2022.01-RC1",
"2022.01-devel",
"2021.10-RC1",
"2021.10-devel",
"2021.07-RC1",
"2021.07-devel",
"2021.04-RC1",
"2021.04-devel",
"2021.01-RC1",
"2021.01-devel",
"2020.10-RC1",
"2020.10-devel",
"2020.07-RC1",
"2020.07-devel",
"2020.04-RC1",
"2020.04-devel",
"2020.01-RC1",
"2020.01-devel",
"2019.10-RC1",
"2019.10-devel",
"2019.07-RC1",
"2019.07-devel",
"2019.04-RC1",
"2019.04-devel",
"2019.01-RC1",
"2018.10-devel",
"2018.07-RC1",
"2019.01-devel",
"2018.10-RC1",
"2018.07-devel",
"2018.04-RC1",
"2018.04-devel",
"2018.01-RC1",
"2018.01-devel",
"2017.10-RC1",
"2017.10-devel",
"2017.07-RC1",
"2017.07-devel",
"2017.04-RC1",
"2017.04-devel",
"2017.01-RC1",
"2017.01-devel",
"2016.10-RC1",
"2016.10-devel",
"2016.07-RC2",
"2016.07-RC1",
"2016.04-RC1",
"2016.07-devel",
"2016.03-devel",
"2015.12-RC1",
"2015.12-devel",
"2015.09-RC1",
"2014.12",
"2014.05",
"2014.01",
"2013.08"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-24822.json"
}
}
],
"modified": "2026-10-28T02:30:36.298187862Z",
"provider": "osv",
"references": [
"https://github.com/RIOT-OS/RIOT/pull/18817/commits/639c04325de4ceb9d444955f4927bfae95843a39",
"https://github.com/RIOT-OS/RIOT/pull/18820/commits/7253e261556f252816f4a3b7c4f96fc10d642485",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/24xxx/CVE-2023-24822.json",
"https://github.com/RIOT-OS/RIOT/security/advisories/GHSA-8x69-5fhj-72wh",
"https://nvd.nist.gov/vuln/detail/CVE-2023-24822"
],
"provider_metadata": {
"cwe_ids": [
"CWE-476"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/24xxx/CVE-2023-24822.json"
}
},
"related_cves": [
{
"value": "CVE-2023-24822",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 503261,
"published_at": "2023-04-24T15:24:26.836+00:00"
}