CVE-2007-3798 in the critical feed json
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 cra…
published 2007-07-16 19 y ago modified 2026-06-16 4 mo ago also EUVD-2007-3782
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 70.4%
- EPSS 70.4% chance of exploitation in 30 days, percentile 99.3%
- public exploits
- 1
- Exploit-DB
Summary
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.
Patch / fix
- freebsd freebsd 5.5, 6.1
- apple mac_os_x 10.4.11
- apple mac_os_x_server 10.4.11
- tcpdump Debian 14, Debian 13, Debian 12 3.9.5-3
debian advisories DEBIAN-CVE-2007-3798
- tcpdump RHEL 4 14:3.8.2-12.el4
- libpcap RHEL 4 14:0.8.3-12.el4
- arpwatch RHEL 4 14:2.1a13-12.el4
- tcpdump RHEL 5 14:3.9.4-11.el5
- libpcap RHEL 5 14:0.9.4-11.el5
- arpwatch RHEL 5 14:2.1a13-18.el5
red hat advisories RHSA-2007:0387RHSA-2007:0368
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2007-3798 updated
tcpdump BGP integer overflow
-
Red Hat Enterprise Linux (v. 5 server) libpcap 0.9.4-11.el5, tcpdump 3.9.4-11.el5, arpwatch 2.1a13-18.el5fixed: vendor fix RHSA-2007:0368
-
Red Hat Enterprise Linux AS version 4 libpcap 0.8.3-12.el4, tcpdump 3.8.2-12.el4, arpwatch 2.1a13-12.el4fixed: vendor fix RHSA-2007:0387
-
Red Hat Enterprise Linux Desktop (v. 5 client) libpcap 0.9.4-11.el5, tcpdump 3.9.4-11.el5, arpwatch 2.1a13-18.el5fixed: vendor fix RHSA-2007:0368
-
Red Hat Enterprise Linux Desktop version 4 libpcap 0.8.3-12.el4, tcpdump 3.8.2-12.el4, arpwatch 2.1a13-12.el4fixed: vendor fix RHSA-2007:0387
-
Red Hat Enterprise Linux Desktop Workstation (v. 5 client) libpcap 0.9.4-11.el5, tcpdump 3.9.4-11.el5, arpwatch 2.1a13-18.el5fixed: vendor fix RHSA-2007:0368
-
Red Hat Enterprise Linux ES version 4 libpcap 0.8.3-12.el4, tcpdump 3.8.2-12.el4, arpwatch 2.1a13-12.el4 Red Hat Enterprise Linux WS version 4 libpcap 0.8.3-12.el4, tcpdump 3.8.2-12.el4, arpwatch 2.1a13-12.el4fixed: vendor fix RHSA-2007:0387
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-30319)
- Published
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
70.39% chance of exploitation in the next 30 days, higher than 99.3% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-30319 tcpdump - Print-bgp.C Remote Integer Underflow remote, 2007-03-01
- digit-labs.org http://www.digit-labs.org/files/exploits/private/tcpdump-bgp.c referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-252 Unchecked Return Value
References
-
slackware.com
/security/viewer.php?l=slackware-security&y=2007&m=slackware-security.449313
vendor-advisory, mailing-list, patch
-
digit-labs.org
/files/exploits/private/tcpdump-bgp.c
exploit
-
redhat.com
/support/errata/RHSA-2007-0387.html
vendor-advisory, broken-link
-
novell.com
/linux/security/advisories/2007_16_sr.html
vendor-advisory, broken-link
-
mandriva.com
/security/advisories?name=MDKSA-2007:148
vendor-advisory, third-party-advisory
-
redhat.com
/support/errata/RHSA-2007-0368.html
vendor-advisory, broken-link
-
lists.apple.com
/archives/security-announce/2007/Dec/msg00002.html
vendor-advisory, mailing-list
-
trustix.org
/errata/2007/0023/
vendor-advisory, broken-link
-
security.freebsd.org
/advisories/FreeBSD-SA-07:06.tcpdump.asc
vendor-advisory, third-party-advisory
-
turbolinux.com
/security/2007/TLSA-2007-46.txt
vendor-advisory, broken-link
-
ubuntu.com
/usn/usn-492-1
vendor-advisory, third-party-advisory
-
debian.org
/security/2007/dsa-1353
vendor-advisory, third-party-advisory
-
security.gentoo.org
/glsa/glsa-200707-14.xml
vendor-advisory, third-party-advisory
-
secunia.com
/advisories/26231
third-party-advisory, broken-link, vendor-advisory
-
vupen.com
/english/advisories/2007/4238
vdb-entry, broken-link, vendor-advisory
-
secunia.com
/advisories/26168
third-party-advisory, broken-link, vendor-advisory
-
secunia.com
/advisories/27580
third-party-advisory, broken-link, vendor-advisory
-
secunia.com
/advisories/28136
third-party-advisory, broken-link, vendor-advisory
-
secunia.com
/advisories/26286
third-party-advisory, broken-link, vendor-advisory
-
secunia.com
/advisories/26263
third-party-advisory, broken-link, vendor-advisory
-
secunia.com
/advisories/26223
third-party-advisory, broken-link, vendor-advisory
-
secunia.com
/advisories/26395
third-party-advisory, broken-link, vendor-advisory
-
secunia.com
/advisories/26266
third-party-advisory, broken-link, vendor-advisory
-
secunia.com
/advisories/26521
third-party-advisory, broken-link, vendor-advisory
-
vupen.com
/english/advisories/2007/2578
vdb-entry, broken-link, vendor-advisory
-
secunia.com
/advisories/26404
third-party-advisory, broken-link, vendor-advisory
-
secunia.com
/advisories/26135
third-party-advisory, broken-link, vendor-advisory
-
us-cert.gov
/cas/techalerts/TA07-352A.html
third-party-advisory, broken-link, us-government-resource
-
bugs.gentoo.org
/show_bug.cgi?id=184815
third-party-advisory
-
securitytracker.com
/id?1018434
vdb-entry, broken-link, third-party-advisory
-
securityfocus.com
/archive/1/474225/100/0/threaded
mailing-list, broken-link, third-party-advisory, vdb-entry
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9771
vdb-entry, signature, broken-link
-
cvs.tcpdump.org
/cgi-bin/cvsweb/tcpdump/print-bgp.c?r1=1.91.2.11&r2=1.91.2.12
broken-link
-
docs.info.apple.com
/article.html?artnum=307179
broken-link
-
securityfocus.com
/bid/24965
vdb-entry, broken-link, third-party-advisory
Sources
- CVE List CVE-2007-3798
- NVD CVE-2007-3798
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.