Public exploit available
Public proof-of-concept or exploit code exists (ExploitDB / Metasploit / Nuclei).
Severity
9.8CRITICALNVD
EPSS
72.7%
top 1.22%
CISA KEV
Not in KEV
Exploit
PoC available
Public exploit / PoC exists
Timeline
PublishedJul 16
Latest updateMay 1

Description

Integer overflow in print-bgp.c in the BGP dissector in tcpdump 3.9.6 and earlier allows remote attackers to execute arbitrary code via crafted TLVs in a BGP packet, related to an unchecked return value.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9

Affected Packages7 packages

debiandebian/tcpdump< tcpdump 3.9.5-3 (bookworm)
Debiantcpdump/tcpdump< 3.9.5-3+3
NVDtcpdump/tcpdump3.9.6
NVDapple/mac_os_x10.0.010.4.11
NVDfreebsd/freebsd5.05.5+4

Also affects: Debian Linux 3.1, 4.0, Ubuntu Linux 6.06, 6.10, 7.04

Patches

🔴Vulnerability Details

2
GHSA
GHSA-cg3g-c98g-38cg: Integer overflow in print-bgp2022-05-01
OSV
CVE-2007-3798: Integer overflow in print-bgp2007-07-16

💥Exploits & PoCs

1
Exploit-DB
tcpdump - Print-bgp.C Remote Integer Underflow2007-03-01

📋Vendor Advisories

4
BSD
FreeBSD-SA-07:06.tcpdump: Buffer overflow in tcpdump(1)2007-08-01
Ubuntu
tcpdump vulnerability2007-07-31
Red Hat
tcpdump BGP integer overflow2007-07-10
Debian
CVE-2007-3798: tcpdump - Integer overflow in print-bgp.c in the BGP dissector in tcpdump 3.9.6 and earlie...2007

📐Framework References

2
CWE
Unchecked Return Value
CWE
Improper Check for Unusual or Exceptional Conditions

💬Community

4
Bugzilla
CVE-2007-3798 tcpdump BGP integer overflow [FC6]2007-07-31
Bugzilla
CVE-2007-3798 tcpdump BGP integer overflow2007-07-31
Bugzilla
CVE-2007-3798 tcpdump BGP integer overflow [Fdevel]2007-07-31
Bugzilla
CVE-2007-3798 tcpdump BGP integer overflow [F7]2007-07-31
CVE-2007-3798 — Unchecked Return Value in Tcpdump | cvebase