What’s Vulnerable › Vulnerabilities
CVE-2018-6948
- Severity: critical (CVSS 9.8 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2018-02-13 · updated 2026-06-17
- Weakness: CWE-119
Description
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.
Affected products
- Ccn-Lite: 2.0.0
References
- https://github.com/cn-uofbasel/ccn-lite/issues/193
- https://github.com/cn-uofbasel/ccn-lite/issues/193
Get alerted when CVE-2018-6948 or the next vulnerability affects your stack