Bug 1760445 (CVE-2018-16300) - CVE-2018-16300 tcpdump: Resource exhaustion in bgp_attr_print() function in print-bgp.c
Summary: CVE-2018-16300 tcpdump: Resource exhaustion in bgp_attr_print() function in p...
Status: NEW
Alias: CVE-2018-16300
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
Depends On: 1791700 1760626 1791699
Blocks: 1760628
TreeView+ depends on / blocked
Reported: 2019-10-10 14:51 UTC by Pedro Sampaio
Modified: 2020-01-20 13:08 UTC (History)
6 users (show)

Fixed In Version: tcpdump 4.9.3
Doc Type: If docs needed, set a value
Doc Text:
An uncontrolled resource consumption flaw was discovered in the way tcpdump prints BGP packets. The BGP protocol allows ATTR_SET to be nested as many times as the message can accommodate, however when a specially crafted packet is crafted and parsed by tcpdump, this may lead to stack exhaustion due to uncontrolled recursion. System availability is the highest threat from this vulnerability.
Clone Of:
Last Closed:

Attachments (Terms of Use)

Description Pedro Sampaio 2019-10-10 14:51:17 UTC
The BGP parser in tcpdump before 4.9.3 allows stack consumption in print-bgp.c:bgp_attr_print() because of unlimited recursion.

Upstream patch:




Comment 1 Pedro Sampaio 2019-10-11 00:02:32 UTC
Created tcpdump tracking bugs for this issue:

Affects: fedora-all [bug 1760626]

Note You need to log in before you can comment on or make changes to this bug.