High
Security advisory
The BGP parser in tcpdump before 4.9.3 allows stack consumption in print-bgp.c:bgp_attr_print() because of unlimited recursion.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-16300
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 09:10 UTC · Revision 1
Source evidence
The BGP parser in tcpdump before 4.9.3 allows stack consumption in print-bgp.c:bgp_attr_print() because of unlimited recursion.
osv:CVE-2018-16300
Complete source record
{
"id": "46196668cd58d4c02bea0a14f3fc4a6a19b1f252874641e253804bc801d7ad8e",
"url": "https://osv.dev/vulnerability/CVE-2018-16300",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-16300",
"summary": "The BGP parser in tcpdump before 4.9.3 allows stack consumption in print-bgp.c:bgp_attr_print() because of unlimited recursion.",
"evidence": "osv:CVE-2018-16300",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2018-16300",
"aliases": [
"CVE-2018-16300"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/the-tcpdump-group/tcpdump",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "d9a693b043262f1999ee7aba28acadfd0f77cc38"
},
{
"fixed": "af2cf04a9394c1a56227c2289ae8da262828294a"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:tcpdump:tcpdump:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "4.9.3"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "af2cf04a9394c1a56227c2289ae8da262828294a"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"tcpdump-4.9.2",
"tcpdump-4.9.1",
"tcpdump-4.9.0",
"tcpdump-4.9.0-bp",
"tcpdump-4.7.0-bp",
"tcpdump-4.6.0-bp",
"tcpdump-4.6.0",
"tcpdump-4.5.0",
"tcpdump-3.8-bp",
"tcpdump-3.7.1",
"tcpdump-3.6.1",
"tcpdump-3.5.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-16300.json",
"vanir_signatures": [
{
"id": "CVE-2018-16300-7627326c",
"digest": {
"length": 2267,
"function_hash": "309882659092036301308043375456346057996"
},
"source": "https://github.com/the-tcpdump-group/tcpdump/commit/af2cf04a9394c1a56227c2289ae8da262828294a",
"target": {
"file": "print-bgp.c",
"function": "bgp_update_print"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
},
{
"id": "CVE-2018-16300-f032bcc0",
"digest": {
"threshold": 0.9,
"line_hashes": [
"330949681160558468413429460617835331910",
"141881915480973847955323516918626720718",
"98152526311664306019175345027733956822",
"69930951805381382789606927975975268164",
"188562718673582199025599945440985804738",
"217711695779557728041145754524260658965",
"204060531203740918921648190468983664222",
"294405672907950825367948507040268303826",
"263002165216818461252352360805882156517",
"111691984917457457792790044347773620397",
"263301420159176326704959826765944897216",
"231460826325824960171371317924030813961"
]
},
"source": "https://github.com/the-tcpdump-group/tcpdump/commit/af2cf04a9394c1a56227c2289ae8da262828294a",
"target": {
"file": "print-bgp.c"
},
"deprecated": false,
"signature_type": "Line",
"signature_version": "v1"
},
{
"id": "CVE-2018-16300-fda1ac5d",
"digest": {
"length": 25760,
"function_hash": "233637868526048202855357606634027936969"
},
"source": "https://github.com/the-tcpdump-group/tcpdump/commit/af2cf04a9394c1a56227c2289ae8da262828294a",
"target": {
"file": "print-bgp.c",
"function": "bgp_attr_print"
},
"deprecated": false,
"signature_type": "Function",
"signature_version": "v1"
}
],
"vanir_signatures_modified": "2026-10-24T14:11:05Z"
}
}
],
"modified": "2026-10-24T14:11:05.453850241Z",
"provider": "osv",
"references": [
"https://lists.debian.org/debian-lts-announce/2019/10/msg00015.html",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/62XY42U6HY3H2APR5EHNWCZ7SAQNMMJN/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FNYXF3IY2X65IOD422SA6EQUULSGW7FN/",
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R2UDPOSGVJQIYC33SQBXMDXHH4QDSDMU/",
"https://seclists.org/bugtraq/2019/Dec/23",
"https://seclists.org/bugtraq/2019/Oct/28",
"https://support.apple.com/kb/HT210788",
"https://usn.ubuntu.com/4252-1/",
"https://usn.ubuntu.com/4252-2/",
"https://github.com/the-tcpdump-group/tcpdump/blob/tcpdump-4.9/CHANGES",
"https://security.netapp.com/advisory/ntap-20200120-0001/",
"https://www.debian.org/security/2019/dsa-4547",
"https://github.com/the-tcpdump-group/tcpdump/commit/af2cf04a9394c1a56227c2289ae8da262828294a"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:a:tcpdump:tcpdump:*:*:*:*:*:*:*:*"
],
"vendor_product": "tcpdump:tcpdump",
"extracted_events": [
{
"range": [
{
"fixed": "4.9.3"
}
],
"source": "CPE_RANGE"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2018-16300",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 443219,
"published_at": "2019-10-03T16:15:12.633+00:00"
}