Security advisory
A type confusion issue was discovered in CCN-lite 2, leading to a memory access violation and a failure of the nonce feature (which, for example, helped with loop prevention). ccnl_fwd_handleInterest assumes that the union member s is of type ccnl_pktdetail_ndntlv_s. However, if the type is in fact struct ccnl_pktdetail_ccntlv_s or struct ccnl_pktdetail_iottlv_s, the memory at that point is either uninitialised or points to data that is not a nonce, which renders the code using the local variable nonce pointless. A later nonce check is insufficient.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-6480
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 10:10 UTC · Revision 1
Source evidence
A type confusion issue was discovered in CCN-lite 2, leading to a memory access violation and a failure of the nonce feature (which, for example, helped with loop prevention). ccnl_fwd_handleInterest assumes that the union member s is of type ccnl_pktdetail_ndntlv_s. However, if the type is in fact struct ccnl_pktdetail_ccntlv_s or struct ccnl_pktdetail_iottlv_s, the memory at that point is either uninitialised or points to data that is not a nonce, which renders the code using the local variable nonce pointless. A later nonce check is insufficient.
osv:CVE-2018-6480
Complete source record
{
"id": "3997d45a416eb298f24354adb534e4fa6aa964593563134c54f8f034b9ee344c",
"url": "https://osv.dev/vulnerability/CVE-2018-6480",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-6480",
"summary": "A type confusion issue was discovered in CCN-lite 2, leading to a memory access violation and a failure of the nonce feature (which, for example, helped with loop prevention). ccnl_fwd_handleInterest assumes that the union member s is of type ccnl_pktdetail_ndntlv_s. However, if the type is in fact struct ccnl_pktdetail_ccntlv_s or struct ccnl_pktdetail_iottlv_s, the memory at that point is either uninitialised or points to data that is not a nonce, which renders the code using the local variable nonce pointless. A later nonce check is insufficient.",
"evidence": "osv:CVE-2018-6480",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2018-6480",
"aliases": [
"CVE-2018-6480"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/cn-uofbasel/ccn-lite",
"type": "GIT",
"events": [
{
"introduced": "063fd8ad7e74f24410ef8fd9e23673c532500df5"
},
{
"last_affected": "063fd8ad7e74f24410ef8fd9e23673c532500df5"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:ccn-lite:ccn-lite:2.0.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.0.0"
},
{
"last_affected": "2.0.0"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"2.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-6480.json"
}
}
],
"modified": "2026-10-20T10:49:56.387999169Z",
"provider": "osv",
"references": [
"https://github.com/cn-uofbasel/ccn-lite/issues/159"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2018-6480",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 381000,
"published_at": "2018-01-31T20:29:00.79+00:00"
}