{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "2.0.1"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "a72c2c8a64f9f78a06622e3f5be2a40b2c5618f3"
            }
          ],
          "repo": "https://github.com/cn-uofbasel/ccn-lite",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "An issue was discovered in CCN-lite 2.0.1. There is a heap-based buffer overflow in mkAddToRelayCacheRequest and in ccnl_populate_cache for an array lacking '\\0' termination when reading a binary CCNx or NDN file. This can result in Heap Corruption. This was addressed by fixing the memory management in mkAddToRelayCacheRequest in ccn-lite-ctrl.c.",
  "id": "CVE-2018-12889",
  "modified": "2026-03-13T21:48:57.685495902Z",
  "published": "2018-06-26T13:29:00.217Z",
  "references": [
    {
      "type": "EVIDENCE",
      "url": "https://github.com/cn-uofbasel/ccn-lite/issues/279"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}