{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "5.2"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "4ccd1a3b9e767f168d12ec3df187fe6b7dc736b5"
            }
          ],
          "repo": "https://github.com/contiki-ng/contiki-ng",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-125"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130387.json"
  },
  "details": "Contiki-NG through 5.2 contains an out-of-bounds read vulnerability in coap_remove_observer_by_uri() that allows unauthenticated remote attackers to read past the supplied URI buffer. Attackers can send a CoAP GET Observe request with a Uri-Path shorter than an existing observer's URL, causing memcmp with strlen to read beyond the non-NUL-terminated buffer.",
  "id": "CVE-2026-130387",
  "modified": "2026-11-17T15:45:49.737346333Z",
  "published": "2026-11-17T13:52:18.361Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130387.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/contiki-ng/contiki-ng"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/contiki-ng/contiki-ng/blob/4ccd1a3b9e767f168d12ec3df187fe6b7dc736b5/os/net/app-layer/coap/coap-observe.c#L143-L160"
    },
    {
      "type": "FIX",
      "url": "https://github.com/contiki-ng/contiki-ng/pull/3303"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-130387"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/contiki-ng-through-5.2-out-of-bounds-read-via-coap-observe-uri-matching"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Contiki-NG through 5.2 Out-of-Bounds Read via CoAP Observe URI Matching"
}