CVE-2018-6948: In CCN-lite 2, the function ccnl_prefix_to_str_detailed can cause a buffer overflow, when writing a prefix to
CVE-2018-6948 is a critical-severity flaw (CVSS 9.8) affecting ccn-lite. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 i
Why this priority
- Critical severity
- Remotely exploitable, no login, no user action
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.5% (top 25%) |
| CISA exploited list | No |
| Weakness | CWE-119 |
| Published | 2018-02-13 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2018-6948?
ccn-lite: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2018-6948 being exploited?
CVE-2018-6948 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2018-6948 affect?
CVE-2018-6948 affects ccn-lite. Severity is critical (CVSS 9.8). 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, whe
How urgent is CVE-2018-6948?
Priority 58/100. Critical severity; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2018-7039 CRITICAL 9.8 DOWNGRADE CCN-lite 2.0.0 Beta allows remote attackers to cause a denial of service (buffer overflow) or possibly have un
- CVE-2018-6953 CRITICAL 9.8 DOWNGRADE In CCN-lite 2, the Parser of NDNTLV does not verify whether a certain component's length field matches the act
- CVE-2018-6480 HIGH 8.8 DOWNGRADE A type confusion issue was discovered in CCN-lite 2, leading to a memory access violation and a failure of the
- CVE-2018-12889 CRITICAL 9.8 DOWNGRADE An issue was discovered in CCN-lite 2.0.1
- CVE-2017-12473 HIGH 7.5 UPGRADE ccnl_ccntlv_bytes2pkt in CCN-lite allows context-dependent attackers to cause a denial of service (application