{"id":"CVE-2018-6948","details":"In CCN-lite 2, the function ccnl_prefix_to_str_detailed can cause a buffer overflow, when writing a prefix to the buffer buf. The maximal size of the prefix is CCNL_MAX_PREFIX_SIZE; the buffer has the size CCNL_MAX_PREFIX_SIZE. However, when NFN is enabled, additional characters are written to the buffer (e.g., the \"NFN\" and \"R2C\" tags). Therefore, sending an NFN-R2C packet with a prefix of size CCNL_MAX_PREFIX_SIZE can cause an overflow of buf inside ccnl_prefix_to_str_detailed.","modified":"2026-07-08T17:17:39.985776Z","published":"2018-02-13T17:29:00.250Z","references":[{"type":"ADVISORY","url":"https://github.com/cn-uofbasel/ccn-lite/issues/193"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/cn-uofbasel/ccn-lite","events":[{"introduced":"063fd8ad7e74f24410ef8fd9e23673c532500df5"},{"last_affected":"063fd8ad7e74f24410ef8fd9e23673c532500df5"}],"database_specific":{"source":"CPE_STRING","cpe":"cpe:2.3:a:ccn-lite:ccn-lite:2.0.0:*:*:*:*:*:*:*","extracted_events":[{"introduced":"2.0.0"},{"last_affected":"2.0.0"}]}}],"versions":["2.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-6948.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"}]}