CVE-2019-15165

Source
https://nvd.nist.gov/vuln/detail/CVE-2019-15165
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2019-15165.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2019-15165
Downstream
Related
Published
2019-10-03T19:15:09Z
Modified
2025-10-15T10:19:16.924010Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N CVSS Calculator
Summary
[none]
Details

sf-pcapng.c in libpcap before 1.9.1 does not properly validate the PHB header length before allocating memory.

References

Affected packages

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

Affected ranges

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

Affected versions

libpcap-0.*

libpcap-0.6.1
libpcap-0.7.1
libpcap-0.8-bp

libpcap-1.*

libpcap-1.3-bp
libpcap-1.5.0
libpcap-1.6.0-bp
libpcap-1.7.0-bp
libpcap-1.8.0-bp
libpcap-1.8.1
libpcap-1.9-bp
libpcap-1.9.0
libpcap-1.9.0-rc1
libpcap-1.9.0rc2

Database specific

vanir_signatures

[
    {
        "signature_type": "Function",
        "id": "CVE-2019-15165-21c491be",
        "source": "https://github.com/the-tcpdump-group/libpcap/commit/87d6bef033062f969e70fa40c43dfd945d5a20ab",
        "signature_version": "v1",
        "target": {
            "function": "pcap_ng_check_header",
            "file": "sf-pcapng.c"
        },
        "digest": {
            "function_hash": "273265343795771163597337149327247680660",
            "length": 4423.0
        },
        "deprecated": false
    },
    {
        "signature_type": "Line",
        "id": "CVE-2019-15165-b4790a52",
        "source": "https://github.com/the-tcpdump-group/libpcap/commit/87d6bef033062f969e70fa40c43dfd945d5a20ab",
        "signature_version": "v1",
        "target": {
            "file": "sf-pcapng.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "33569344490841975826475357806513969975",
                "176936773931677560023105738202080746077",
                "82765497582357681474057124500102529886",
                "3066346285081142572972898439175944496",
                "207054172879942558775436565344398076245",
                "202827879285952739181376259266032820217",
                "182934794976808028147140004550245606147",
                "295535185644563427780949767249897619274",
                "53843891289086496234714335513567034141",
                "213234844142231421134160054084745701111",
                "204429355472345025953888871580766989717",
                "146318862421346535880160986171396007463",
                "38921675439697220774488857836170998837",
                "180683718088558781989640523601469022063",
                "339270694605418171184907104566787178320",
                "279939791553444257426719115981711938391",
                "149326201062023264910362971715879161097",
                "187870402788100306015019375980595948660",
                "334930619449404498430276733104830567186",
                "197668102473191542278678260281096560269",
                "34358175535383540312287891631978702264",
                "49448256902558009889600050226351044896",
                "156892085676711788323859943207119517089",
                "16052876937386000751523253874141047924",
                "260393753005259561847138914723125937048"
            ]
        },
        "deprecated": false
    },
    {
        "signature_type": "Function",
        "id": "CVE-2019-15165-ed60c6c1",
        "source": "https://github.com/the-tcpdump-group/libpcap/commit/87d6bef033062f969e70fa40c43dfd945d5a20ab",
        "signature_version": "v1",
        "target": {
            "function": "read_bytes",
            "file": "sf-pcapng.c"
        },
        "digest": {
            "function_hash": "302943058939901861236031757384260746647",
            "length": 512.0
        },
        "deprecated": false
    }
]