VYPR
Critical severity9.8OSV Advisory· Published Feb 13, 2018· Updated Jun 17, 2026

CVE-2018-6948

CVE-2018-6948

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

2
  • Cn Uofbasel/Ccn LiteOSV2 versions
    0.1.0, 0.3.1, 2.0.0+ 1 more
    • (no CPE)range: 0.1.0, 0.3.1, 2.0.0
    • (no CPE)range: =2

Patches

Vulnerability mechanics

References

1

News mentions

0

No linked articles in our index yet.