The HNCP parser in tcpdump before 4.9.3 has a buffer over-read in print-hncp.c:print_prefix().
{
"unresolved_ranges": [
{
"cpe": "cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"fixed": "10.15.2"
}
],
"source": "CPE_FIELD"
},
{
"cpe": "cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*",
"extracted_events": [
{
"last_affected": "10.0"
}
],
"source": "CPE_FIELD"
},
{
"cpe": "cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
"extracted_events": [
{
"last_affected": "8.0"
}
],
"source": "CPE_FIELD"
},
{
"cpe": "cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*",
"extracted_events": [
{
"last_affected": "9.0"
}
],
"source": "CPE_FIELD"
},
{
"cpe": "cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*",
"extracted_events": [
{
"last_affected": "29"
}
],
"source": "CPE_FIELD"
},
{
"cpe": "cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*",
"extracted_events": [
{
"last_affected": "30"
}
],
"source": "CPE_FIELD"
},
{
"cpe": "cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*",
"extracted_events": [
{
"last_affected": "31"
}
],
"source": "CPE_FIELD"
},
{
"cpe": "cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*",
"extracted_events": [
{
"last_affected": "15.0"
}
],
"source": "CPE_FIELD"
},
{
"cpe": "cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*",
"extracted_events": [
{
"last_affected": "15.1"
}
],
"source": "CPE_FIELD"
},
{
"cpe": "cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*",
"extracted_events": [
{
"last_affected": "7.0"
}
],
"source": "CPE_FIELD"
},
{
"cpe": "cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*",
"extracted_events": [
{
"last_affected": "8.0"
}
],
"source": "CPE_FIELD"
}
]
}{
"cpe": "cpe:2.3:a:tcpdump:tcpdump:*:*:*:*:*:*:*:*",
"extracted_events": [
{
"introduced": "0"
},
{
"fixed": "4.9.3"
}
],
"source": [
"CPE_FIELD",
"REFERENCES"
]
}"2026-04-11T18:44:22Z"
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-16228.json"
[
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "print-hncp.c"
},
"signature_version": "v1",
"id": "CVE-2018-16228-b4fb5fe4",
"source": "https://github.com/the-tcpdump-group/tcpdump/commit/83a412a5275cac973c5841eca3511c766bed778d",
"digest": {
"line_hashes": [
"82653047130844687532075593832190286391",
"39272921111180887065632568385857968378",
"338787201149716761291721418575523493611",
"310234425767405402204612877103249221795"
],
"threshold": 0.9
}
},
{
"digest": {
"function_hash": "35104176221753219027347632708859884390",
"length": 898.0
},
"deprecated": false,
"target": {
"function": "print_prefix",
"file": "print-hncp.c"
},
"signature_version": "v1",
"id": "CVE-2018-16228-eb9858a7",
"source": "https://github.com/the-tcpdump-group/tcpdump/commit/83a412a5275cac973c5841eca3511c766bed778d",
"signature_type": "Function"
}
]