Skip to content
Heist/ feed
Back to feed
High

RIOT-OS vulnerable to NULL pointer dereference in gnrc_pktbuf_mark

Type: advisorySources: OSV

RIOT-OS, an operating system for Internet of Things (IoT) devices, contains a network stack with the ability to process 6LoWPAN frames. Prior to version 2023.04, an attacker can send a crafted frame to the device to trigger a NULL pointer dereference leading to denial of service. This issue is fixed in version 2023.04. There are no known workarounds.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2023-24825
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 16:31 UTC · Revision 1

Source evidence

RIOT-OS vulnerable to NULL pointer dereference in gnrc_pktbuf_mark

core-osv · Original source

Published 30 May 2023, 15:54 UTC

RIOT-OS, an operating system for Internet of Things (IoT) devices, contains a network stack with the ability to process 6LoWPAN frames. Prior to version 2023.04, an attacker can send a crafted frame to the device to trigger a NULL pointer dereference leading to denial of service. This issue is fixed in version 2023.04. There are no known workarounds.

osv:CVE-2023-24825
Complete source record
{
  "id": "445f3646b8cd04006a2ba1c414561103fa317c312af8bb9cba1c09a5e62c6357",
  "url": "https://osv.dev/vulnerability/CVE-2023-24825",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "RIOT-OS vulnerable to NULL pointer dereference in gnrc_pktbuf_mark",
    "summary": "RIOT-OS, an operating system for Internet of Things (IoT) devices, contains a network stack with the ability to process 6LoWPAN frames. Prior to version 2023.04, an attacker can send a crafted frame to the device to trigger a NULL pointer dereference leading to denial of service. This issue is fixed in version 2023.04. There are no known workarounds.",
    "evidence": "osv:CVE-2023-24825",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2023-24825",
      "aliases": [
        "CVE-2023-24825",
        "GHSA-xqm8-xj74-fjw2"
      ],
      "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": "de0bd9770f14985b31496b745501a6d53ec8d1a8"
                },
                {
                  "fixed": "0c522075445a62ce3102e141573ecc2788521897"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2023.04"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "0c522075445a62ce3102e141573ecc2788521897"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2023.01-devel",
            "2022.10-RC1",
            "2022.10-devel",
            "2022.07-RC1",
            "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-24825.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:37.498630264Z",
      "provider": "osv",
      "references": [
        "https://github.com/RIOT-OS/RIOT/blob/2022.10-branch/sys/net/gnrc/network_layer/sixlowpan/frag/rb/gnrc_sixlowpan_frag_rb.c#L416",
        "https://github.com/RIOT-OS/RIOT/blob/2022.10-branch/sys/net/gnrc/network_layer/sixlowpan/frag/rb/gnrc_sixlowpan_frag_rb.c#L429",
        "https://github.com/RIOT-OS/RIOT/blob/2022.10-branch/sys/net/gnrc/network_layer/sixlowpan/iphc/gnrc_sixlowpan_iphc.c#L729",
        "https://github.com/RIOT-OS/RIOT/blob/2022.10-branch/sys/net/gnrc/network_layer/sixlowpan/iphc/gnrc_sixlowpan_iphc.c#L761",
        "https://github.com/RIOT-OS/RIOT/blob/ccbb304eae7b59e8aca24a6ffd095b5b3f7720ee/sys/net/gnrc/pktbuf_static/gnrc_pktbuf_static.c#L169",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/24xxx/CVE-2023-24825.json",
        "https://github.com/RIOT-OS/RIOT/security/advisories/GHSA-xqm8-xj74-fjw2",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-24825",
        "https://github.com/RIOT-OS/RIOT/commit/0c522075445a62ce3102e141573ecc2788521897"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-252",
          "CWE-476"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/24xxx/CVE-2023-24825.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-24825",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504695,
  "published_at": "2023-05-30T15:54:49.93+00:00"
}