{"id":"CVE-2018-12889","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.","modified":"2026-05-30T09:16:49.357948Z","published":"2018-06-26T13:29:00.217Z","references":[{"type":"EVIDENCE","url":"https://github.com/cn-uofbasel/ccn-lite/issues/279"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/cn-uofbasel/ccn-lite","events":[{"introduced":"0"},{"last_affected":"a72c2c8a64f9f78a06622e3f5be2a40b2c5618f3"}],"database_specific":{"cpe":"cpe:2.3:a:ccn-lite:ccn-lite:2.0.1:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"last_affected":"2.0.1"}],"source":"CPE_STRING"}}],"versions":["2.0.1","2.0.0","0.3.1","0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-12889.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}