CVE-2018-16228

Source
https://nvd.nist.gov/vuln/detail/CVE-2018-16228
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2018-16228.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2018-16228
Downstream
Related
Published
2019-10-03T16:15:12Z
Modified
2025-10-15T09:22:23.447888Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

The HNCP parser in tcpdump before 4.9.3 has a buffer over-read in print-hncp.c:print_prefix().

References

Affected packages

Git / github.com/the-tcpdump-group/tcpdump

Affected ranges

Type
GIT
Repo
https://github.com/the-tcpdump-group/tcpdump
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

tcpdump-3.*

tcpdump-3.5.1
tcpdump-3.6.1
tcpdump-3.7.1
tcpdump-3.8-bp

tcpdump-4.*

tcpdump-4.5.0
tcpdump-4.6.0
tcpdump-4.6.0-bp
tcpdump-4.7.0-bp
tcpdump-4.9.0
tcpdump-4.9.0-bp
tcpdump-4.9.1
tcpdump-4.9.2

Database specific

vanir_signatures

[
    {
        "signature_type": "Line",
        "deprecated": false,
        "source": "https://github.com/the-tcpdump-group/tcpdump/commit/83a412a5275cac973c5841eca3511c766bed778d",
        "signature_version": "v1",
        "target": {
            "file": "print-hncp.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "82653047130844687532075593832190286391",
                "39272921111180887065632568385857968378",
                "338787201149716761291721418575523493611",
                "310234425767405402204612877103249221795"
            ]
        },
        "id": "CVE-2018-16228-b4fb5fe4"
    },
    {
        "signature_type": "Function",
        "deprecated": false,
        "source": "https://github.com/the-tcpdump-group/tcpdump/commit/83a412a5275cac973c5841eca3511c766bed778d",
        "signature_version": "v1",
        "target": {
            "function": "print_prefix",
            "file": "print-hncp.c"
        },
        "digest": {
            "function_hash": "35104176221753219027347632708859884390",
            "length": 898.0
        },
        "id": "CVE-2018-16228-eb9858a7"
    }
]