cvedb.io
CVE-2018-6948
CRITICAL · CVSS 9.8
EPSS exploitation probability: 0%
Published 2018-02-13T17:29:00.250 · Last modified 2026-06-17T02:02:29.987

Summary

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 — ccn-lite

Does this affect you?

Add your gear to cvedb and we'll alert you only when ccn-lite ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.