CVE-2007-3798
Integer overflow in print-bgp.c in the BGP dissector in tcpdump 3.9.6 and earlier allows remote...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
9.8
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.
- Record
CVE-2007-3798- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-252
- Updated
- 2026-11-02
CVE List
9.8
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.
- Record
CVE-2007-3798- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-252
- Updated
- 2026-11-02
EUVDEUVD-2007-3782
9.8
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.
- Record
EUVD-2007-3782- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-cg3g-c98g-38cg
9.8
Integer overflow in print-bgp.c in the BGP dissector in tcpdump 3.9.6 and earlier allows remote...
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.
- Record
GHSA-cg3g-c98g-38cg- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-252
- Updated
- 2026-11-02
OSV
9.8
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.
- Record
CVE-2007-3798- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2007-3798
9.8
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.
- Record
DEBIAN-CVE-2007-3798- CVSS 3.1
- 9.8 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
tcpdumpDebian:12 |
before 3.9.5-3 | 3.9.5-3 |
tcpdumpDebian:13 |
before 3.9.5-3 | 3.9.5-3 |
tcpdumpDebian:14 |
before 3.9.5-3 | 3.9.5-3 |
tcpdumpDebian:3.1 |
before 3.8.3-5sarge3, plus listed versions 3.8.3-53.8.3-5sarge13.8.3-5sarge2 |
3.8.3-5sarge3 |
tcpdumpDebian:4.0 |
before 3.9.5-2etch1, plus listed versions 3.9.5-2 |
3.9.5-2etch1 |
arpwatchRed Hat:enterprise_linux:5::client_workstation |
before 14:2.1a13-18.el5 | 14:2.1a13-18.el5 |
libpcap-develRed Hat:enterprise_linux:5::client_workstation |
before 14:0.9.4-11.el5 | 14:0.9.4-11.el5 |
tcpdumpRed Hat:enterprise_linux:5::client_workstation |
before 14:3.9.4-11.el5 | 14:3.9.4-11.el5 |
tcpdump-debuginfoRed Hat:enterprise_linux:5::client_workstation |
before 14:3.9.4-11.el5 | 14:3.9.4-11.el5 |
libpcapRed Hat:enterprise_linux:5::client |
before 14:0.9.4-11.el5 | 14:0.9.4-11.el5 |
Show 23 moreShow less
| Package | Affected | Fixed |
|---|---|---|
tcpdumpRed Hat:enterprise_linux:5::client |
before 14:3.9.4-11.el5 | 14:3.9.4-11.el5 |
tcpdump-debuginfoRed Hat:enterprise_linux:5::client |
before 14:3.9.4-11.el5 | 14:3.9.4-11.el5 |
arpwatchRed Hat:enterprise_linux:5::server |
before 14:2.1a13-18.el5 | 14:2.1a13-18.el5 |
libpcapRed Hat:enterprise_linux:5::server |
before 14:0.9.4-11.el5 | 14:0.9.4-11.el5 |
libpcap-develRed Hat:enterprise_linux:5::server |
before 14:0.9.4-11.el5 | 14:0.9.4-11.el5 |
tcpdumpRed Hat:enterprise_linux:5::server |
before 14:3.9.4-11.el5 | 14:3.9.4-11.el5 |
tcpdump-debuginfoRed Hat:enterprise_linux:5::server |
before 14:3.9.4-11.el5 | 14:3.9.4-11.el5 |
arpwatchRed Hat:enterprise_linux:4::as |
before 14:2.1a13-12.el4 | 14:2.1a13-12.el4 |
libpcapRed Hat:enterprise_linux:4::as |
before 14:0.8.3-12.el4 | 14:0.8.3-12.el4 |
tcpdumpRed Hat:enterprise_linux:4::as |
before 14:3.8.2-12.el4 | 14:3.8.2-12.el4 |
tcpdump-debuginfoRed Hat:enterprise_linux:4::as |
before 14:3.8.2-12.el4 | 14:3.8.2-12.el4 |
arpwatchRed Hat:enterprise_linux:4::desktop |
before 14:2.1a13-12.el4 | 14:2.1a13-12.el4 |
libpcapRed Hat:enterprise_linux:4::desktop |
before 14:0.8.3-12.el4 | 14:0.8.3-12.el4 |
tcpdumpRed Hat:enterprise_linux:4::desktop |
before 14:3.8.2-12.el4 | 14:3.8.2-12.el4 |
tcpdump-debuginfoRed Hat:enterprise_linux:4::desktop |
before 14:3.8.2-12.el4 | 14:3.8.2-12.el4 |
arpwatchRed Hat:enterprise_linux:4::es |
before 14:2.1a13-12.el4 | 14:2.1a13-12.el4 |
libpcapRed Hat:enterprise_linux:4::es |
before 14:0.8.3-12.el4 | 14:0.8.3-12.el4 |
tcpdumpRed Hat:enterprise_linux:4::es |
before 14:3.8.2-12.el4 | 14:3.8.2-12.el4 |
tcpdump-debuginfoRed Hat:enterprise_linux:4::es |
before 14:3.8.2-12.el4 | 14:3.8.2-12.el4 |
arpwatchRed Hat:enterprise_linux:4::ws |
before 14:2.1a13-12.el4 | 14:2.1a13-12.el4 |
libpcapRed Hat:enterprise_linux:4::ws |
before 14:0.8.3-12.el4 | 14:0.8.3-12.el4 |
tcpdumpRed Hat:enterprise_linux:4::ws |
before 14:3.8.2-12.el4 | 14:3.8.2-12.el4 |
tcpdump-debuginfoRed Hat:enterprise_linux:4::ws |
before 14:3.8.2-12.el4 | 14:3.8.2-12.el4 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | tcpdump - Print-bgp.C Remote Integer Underflow | 2007-03-01 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| affected, aliases, exploits, facts, references, title | Exploit-DB, GitHub Advisories, OSV | |
| first indexed | CVE List, NVD |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2007-3798 is a critical vulnerability (CVSS 9.8) in Tcpdump, published July 16, 2007. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 70.4%, the 99th percentile. Fixed in tcpdump 3.9.5-3.
References
redhat.com/support/errata/RHSA-2007-0387.html
secunia.com/advisories/26231
novell.com/linux/security/advisories/2007_16_sr.html
vupen.com/english/advisories/2007/4238
us-cert.gov/cas/techalerts/TA07-352A.html
secunia.com/advisories/26168
Show 48 moreShow less
secunia.com/advisories/27580
secunia.com/advisories/28136
secunia.com/advisories/26286
digit-labs.org/files/exploits/private/tcpdump-bgp.c
bugs.gentoo.org/show_bug.cgi?id=184815
slackware.com/security/viewer.php?l=slackware-security&y=2007&m=slackware-security.449313
mandriva.com/security/advisories?name=MDKSA-2007:148
securitytracker.com/id?1018434
redhat.com/support/errata/RHSA-2007-0368.html
secunia.com/advisories/26263
securityfocus.com/archive/1/474225/100/0/threaded
secunia.com/advisories/26223
lists.apple.com/archives/security-announce/2007/Dec/msg00002.html
trustix.org/errata/2007/0023
oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9771
security.freebsd.org/advisories/FreeBSD-SA-07:06.tcpdump.asc
cvs.tcpdump.org/cgi-bin/cvsweb/tcpdump/print-bgp.c?r1=1.91.2.11&r2=1.91.2.12
docs.info.apple.com/article.html?artnum=307179
secunia.com/advisories/26395
secunia.com/advisories/26266
turbolinux.com/security/2007/TLSA-2007-46.txt
secunia.com/advisories/26521
vupen.com/english/advisories/2007/2578
secunia.com/advisories/26404
secunia.com/advisories/26135
ubuntu.com/usn/usn-492-1
debian.org/security/2007/dsa-1353
security.gentoo.org/glsa/glsa-200707-14.xml
securityfocus.com/bid/24965
nvd.nist.gov/vuln/detail/CVE-2007-3798
github.com/advisories/GHSA-cg3g-c98g-38cg
security-tracker.debian.org/tracker/CVE-2007-3798
access.redhat.com/errata/RHSA-2007:0368
redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=232347
bugzilla.redhat.com/show_bug.cgi?id=237779
bugzilla.redhat.com/show_bug.cgi?id=241677
bugzilla.redhat.com/show_bug.cgi?id=250275
security.access.redhat.com/data/csaf/v2/advisories/2007/rhsa-2007_0368.json
access.redhat.com/security/cve/CVE-2007-1218
cve.org/CVERecord?id=CVE-2007-1218
nvd.nist.gov/vuln/detail/CVE-2007-1218
access.redhat.com/security/cve/CVE-2007-3798
cve.org/CVERecord?id=CVE-2007-3798
access.redhat.com/errata/RHSA-2007:0387
bugzilla.redhat.com/show_bug.cgi?id=214377
bugzilla.redhat.com/show_bug.cgi?id=232519
security.access.redhat.com/data/csaf/v2/advisories/2007/rhsa-2007_0387.json