CVE-2007-3798
CriticalPublic exploitInteger 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.
Published Jul 16, 2007 · Updated Aug 4, 2026 · Also known as DEBIAN-CVE-2007-3798, DSA-1353-1
Key Facts
Patch immediately- CVE-2007-3798 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Slackware, Tcpdump, Mac OS X (Apple) and 7 more products.
- It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
- EPSS estimates a 70% probability of exploitation in the next 30 days.
- Fixed versions are available, including Mac OS X 10.4.11, Mac OS X Server 10.4.11, arpwatch 14:2.1a13-18.el5.0.1.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
70%
Higher than 99.3% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2007-3798 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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.
Affected Products
65 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| SlackwareSlackware | 10.0, 10.1, 10.2, 11.0, 12.0, 9.0, 9.1 | n/a |
| TcpdumpTcpdump | See advisory | 3.9.6 |
| Mac OS XApple | See advisory | 10.4.11 |
| Mac OS X ServerApple | See advisory | 10.4.11 |
| Ubuntu LinuxCanonical | 6.06, 6.10, 7.04 | n/a |
Patched Releases
Mac OS X
10.4.11
Mac OS X Server
10.4.11
arpwatch
14:2.1a13-18.el5.0.1
Freebsd
5.5
libpcap
14:0.9.4-11.el5.0.1
libpcap-devel
14:0.9.4-11.el5.0.1
Tcpdump
14:3.8.2-12.el4, 14:3.9.4-11.el5, 14:3.9.4-11.el5.0.1, 3.8.3-5sarge3, 3.9.5-2etch1, 3.9.5-3, 3.9.6
Timeline
Publicly disclosed
Jul 16, 2007
Last updated
Aug 4, 2026
Weakness Type
- CWE-190 Integer Overflow or Wraparound
- CWE-252 Unchecked Return Value
References
- advisoryhttp://bugs.gentoo.org/show_bug.cgi?id=184815
- advisoryRHSA-2007:0368
- advisoryRHSA-2007:0387
- advisory26135
- advisory26168
FAQ
Common Questions.
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.
Affected: Slackware versions 10.0, 10.1, 10.2, 11.0, 12.0, 9.0, 9.1; Tcpdump; Mac OS X (Apple), among others. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including Mac OS X 10.4.11, Mac OS X Server 10.4.11, arpwatch 14:2.1a13-18.el5.0.1.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2007-3798 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo