Medium
Security advisory
sf-pcapng.c in libpcap before 1.9.1 does not properly validate the PHB header length before allocating memory.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2019-15165
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 12:33 UTC · Revision 1
Source evidence
sf-pcapng.c in libpcap before 1.9.1 does not properly validate the PHB header length before allocating memory.
osv:CVE-2019-15165
Complete source record
{
"id": "ae8b5379e339886338a0600b7be13627a2294911605f7b1700709a2063cfb577",
"url": "https://osv.dev/vulnerability/CVE-2019-15165",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2019-15165",
"summary": "sf-pcapng.c in libpcap before 1.9.1 does not properly validate the PHB header length before allocating memory.",
"evidence": "osv:CVE-2019-15165",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2019-15165",
"aliases": [
"CVE-2019-15165"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/the-tcpdump-group/libpcap",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "d396f255cf7b96a09cf91d0e8cc94d23777d6986"
},
{
"fixed": "87d6bef033062f969e70fa40c43dfd945d5a20ab"
},
{
"fixed": "a5a36d9e82dde7265e38fe1f87b7f11c461c29f6"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:tcpdump:libpcap:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.9.1"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "87d6bef033062f969e70fa40c43dfd945d5a20ab"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "a5a36d9e82dde7265e38fe1f87b7f11c461c29f6"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"libpcap-1.9.0",
"libpcap-1.9.0rc2",
"libpcap-1.9-bp",
"libpcap-1.9.0-rc1",
"libpcap-1.8.1",
"libpcap-1.8.0-bp",
"libpcap-1.7.0-bp",
"libpcap-0.8-bp",
"libpcap-0.7.1",
"libpcap-0.6.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-15165.json",
"vanir_signatures": [
{
"id": "CVE-2019-15165-21c491be",
"digest": {
"length": 4423,
"function_hash": "273265343795771163597337149327247680660"
},
"source": "https://github.com/the-tcpdump-group/libpcap/commit/87d6bef033062f969e70fa40c43dfd945d5a20ab",
"target": {
"file": "sf-pcapng.c",
"function": "pcap_ng_check_header"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2019-15165-3ab0d65b",
"digest": {
"threshold": 0.9,
"line_hashes": [
"33569344490841975826475357806513969975",
"176936773931677560023105738202080746077",
"82765497582357681474057124500102529886",
"47509769026809880545712837698025898234",
"114674106025352316584238681736756524425",
"225247956292447568972137037164393642926",
"44311349298669397529820140779301570018",
"265875743096863861146943255088634824721",
"248459255112037681823287854975290900003",
"203344547433097007151709177406498985917"
]
},
"source": "https://github.com/the-tcpdump-group/libpcap/commit/a5a36d9e82dde7265e38fe1f87b7f11c461c29f6",
"target": {
"file": "sf-pcapng.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2019-15165-b4790a52",
"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"
]
},
"source": "https://github.com/the-tcpdump-group/libpcap/commit/87d6bef033062f969e70fa40c43dfd945d5a20ab",
"target": {
"file": "sf-pcapng.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2019-15165-ed60c6c1",
"digest": {
"length": 512,
"function_hash": "302943058939901861236031757384260746647"
},
"source": "https://github.com/the-tcpdump-group/libpcap/commit/87d6bef033062f969e70fa40c43dfd945d5a20ab",
"target": {
"file": "sf-pcapng.c",
"function": "read_bytes"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2019-15165-ff7b19b7",
"digest": {
"length": 4330,
"function_hash": "74418383905190548705852926004747696182"
},
"source": "https://github.com/the-tcpdump-group/libpcap/commit/a5a36d9e82dde7265e38fe1f87b7f11c461c29f6",
"target": {
"file": "sf-pcapng.c",
"function": "pcap_ng_check_header"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-20T13:47:42Z"
}
}
],
"modified": "2026-10-20T13:47:42.333439481Z",
"provider": "osv",
"references": [
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5P5K3DQ4TFSZBDB3XN4CZNJNQ3UIF3D3/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GBIEKWLNIR62KZ5GA7EDXZS52HU6OE5F/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UZTIPUWABYUE5KQOLCKAW65AUUSB7QO6/",
"https://github.com/the-tcpdump-group/libpcap/blob/libpcap-1.9/CHANGES",
"https://lists.debian.org/debian-lts-announce/2019/10/msg00031.html",
"https://lists.debian.org/debian-lts-announce/2021/12/msg00014.html",
"https://seclists.org/bugtraq/2019/Dec/23",
"https://support.apple.com/kb/HT210785",
"https://support.apple.com/kb/HT210788",
"https://support.apple.com/kb/HT210789",
"https://support.apple.com/kb/HT210790",
"https://usn.ubuntu.com/4221-1/",
"https://usn.ubuntu.com/4221-2/",
"https://www.oracle.com/security-alerts/cpuapr2020.html",
"https://www.tcpdump.org/public-cve-list.txt",
"https://github.com/the-tcpdump-group/libpcap/commit/87d6bef033062f969e70fa40c43dfd945d5a20ab",
"https://github.com/the-tcpdump-group/libpcap/commit/a5a36d9e82dde7265e38fe1f87b7f11c461c29f6"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:*"
],
"vendor_product": "apple:mac_os_x",
"extracted_events": [
{
"range": [
{
"introduced": "10.13"
},
{
"fixed": "10.13.6"
}
],
"source": "CPE_RANGE"
}
]
},
{
"cpes": [
"cpe:2.3:o:apple:ipados:13.3:*:*:*:*:*:*:*"
],
"vendor_product": "apple:ipados",
"extracted_events": [
{
"range": [
{
"introduced": "13.3"
},
{
"last_affected": "13.3"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:apple:iphone_os:13.3:*:*:*:*:*:*:*"
],
"vendor_product": "apple:iphone_os",
"extracted_events": [
{
"range": [
{
"introduced": "13.3"
},
{
"last_affected": "13.3"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:apple:mac_os_x:10.13.6:security_update_2019-007:*:*:*:*:*:*",
"cpe:2.3:o:apple:mac_os_x:10.14.6:security_update_2019-002:*:*:*:*:*:*",
"cpe:2.3:o:apple:mac_os_x:10.15.2:*:*:*:*:*:*:*"
],
"vendor_product": "apple:mac_os_x",
"extracted_events": [
{
"range": [
{
"introduced": "10.13.6-security_update_2019\\-007"
},
{
"last_affected": "10.13.6-security_update_2019\\-007"
},
{
"introduced": "10.14.6-security_update_2019\\-002"
},
{
"last_affected": "10.14.6-security_update_2019\\-002"
},
{
"introduced": "10.15.2"
},
{
"last_affected": "10.15.2"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:apple:tvos:13.3:*:*:*:*:*:*:*"
],
"vendor_product": "apple:tvos",
"extracted_events": [
{
"range": [
{
"introduced": "13.3"
},
{
"last_affected": "13.3"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:apple:watchos:6.1.1:*:*:*:*:*:*:*"
],
"vendor_product": "apple:watchos",
"extracted_events": [
{
"range": [
{
"introduced": "6.1.1"
},
{
"last_affected": "6.1.1"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:-:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:esm:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:esm:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*",
"cpe:2.3:o:canonical:ubuntu_linux:19.04:*:*:*:*:*:*:*"
],
"vendor_product": "canonical:ubuntu_linux",
"extracted_events": [
{
"range": [
{
"introduced": "12.04"
},
{
"last_affected": "12.04"
},
{
"introduced": "14.04"
},
{
"last_affected": "14.04"
},
{
"introduced": "16.04"
},
{
"last_affected": "16.04"
},
{
"introduced": "18.04"
},
{
"last_affected": "18.04"
},
{
"introduced": "19.04"
},
{
"last_affected": "19.04"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*",
"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*"
],
"vendor_product": "debian:debian_linux",
"extracted_events": [
{
"range": [
{
"introduced": "8.0"
},
{
"last_affected": "8.0"
},
{
"introduced": "9.0"
},
{
"last_affected": "9.0"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:fedoraproject:fedora:29:*:*:*:*:*:*:*",
"cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*",
"cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*"
],
"vendor_product": "fedoraproject:fedora",
"extracted_events": [
{
"range": [
{
"introduced": "29"
},
{
"last_affected": "29"
},
{
"introduced": "30"
},
{
"last_affected": "30"
},
{
"introduced": "31"
},
{
"last_affected": "31"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:o:opensuse:leap:15.0:*:*:*:*:*:*:*",
"cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*"
],
"vendor_product": "opensuse:leap",
"extracted_events": [
{
"range": [
{
"introduced": "15.0"
},
{
"last_affected": "15.0"
},
{
"introduced": "15.1"
},
{
"last_affected": "15.1"
}
],
"source": "CPE_STRING"
}
]
},
{
"cpes": [
"cpe:2.3:a:oracle:communications_operations_monitor:3.4:*:*:*:*:*:*:*",
"cpe:2.3:a:oracle:communications_operations_monitor:4.0:*:*:*:*:*:*:*",
"cpe:2.3:a:oracle:communications_operations_monitor:4.1:*:*:*:*:*:*:*",
"cpe:2.3:a:oracle:communications_operations_monitor:4.2:*:*:*:*:*:*:*",
"cpe:2.3:a:oracle:communications_operations_monitor:4.3:*:*:*:*:*:*:*"
],
"vendor_product": "oracle:communications_operations_monitor",
"extracted_events": [
{
"range": [
{
"introduced": "3.4"
},
{
"last_affected": "3.4"
},
{
"introduced": "4.0"
},
{
"last_affected": "4.0"
},
{
"introduced": "4.1"
},
{
"last_affected": "4.1"
},
{
"introduced": "4.2"
},
{
"last_affected": "4.2"
},
{
"introduced": "4.3"
},
{
"last_affected": "4.3"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2019-15165",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 388238,
"published_at": "2019-10-03T19:15:09.473+00:00"
}