Live threats

All CVEs / Ccn-lite

CVE-2018-6948Ccn-lite

Critical 9.8 No auth needed

Priority
74
CVSS 3.0
9.8
EPSS
1.5%
probability of exploitation in 30 days · percentile 75
Auth required
No
Published
Feb 13, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-119
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ccn-lite.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
ccn-liteccn-lite2.0.0

Official sources

References

Links published by the sources. Open them with care.