Home / Tcpdump / Tcpdump / CVE-2007-3798
CVE-2007-3798: is it exploited, and which versions of Tcpdump are affected and fixed?
CVE-2007-3798 is an unchecked return value vulnerability in Tcpdump. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 07:38 UTC). Affected: tcpdump through 3.9.6, ubuntu linux 6.06, ubuntu linux 6.10 and 17 more (NVD). Fixed in 5.5, 6.1 and 10.4.11 (NVD). Severity: Critical (9.8, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 07:38 UTC, CVE record November 19, 2026, 07:21 UTC and NVD November 19, 2026, 08:52 UTC.
What is CVE-2007-3798?
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.
From the CVE record by mitre, last updated October 15, 2024, 14:18 UTC.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| tcpdump | tcpdump | through 3.9.6 | application |
| canonical | ubuntu linux | 6.06 | operating system |
| canonical | ubuntu linux | 6.10 | operating system |
| canonical | ubuntu linux | 7.04 | operating system |
| debian | debian linux | 3.1 | operating system |
| debian | debian linux | 4.0 | operating system |
| slackware | slackware | 9.0 | application |
| slackware | slackware | 9.1 | application |
| slackware | slackware | 10.0 | application |
| slackware | slackware | 10.1 | application |
| slackware | slackware | 10.2 | application |
| slackware | slackware | 11.0 | application |
| slackware | slackware | 12.0 | application |
| freebsd | freebsd | from 5.0 before 5.5 | operating system |
| freebsd | freebsd | from 6.0 before 6.1 | operating system |
| freebsd | freebsd | 5.5 | operating system |
| freebsd | freebsd | 6.1 | operating system |
| freebsd | freebsd | 6.2 | operating system |
| apple | mac os x | from 10.0.0 before 10.4.11 | operating system |
| apple | mac os x server | from 10.0.0 before 10.4.11 | operating system |
NVD analysis (status Modified), last modified June 16, 2026, 22:42 UTC.
How severe is CVE-2007-3798?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
| Critical 9.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 6.8 | CVSS 2.0 | AV:N/AC:M/Au:N/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2007-3798 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: total (CISA ADP, October 15, 2024)
- EPSS
- 70.4% probability of exploitation activity in the next 30 days, percentile 99.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-252 Unchecked Return Value
Where are the vendor advisories and references?
- RHSA-2007:0387 vendor-advisory, x_refsource_REDHAT
- 26231 third-party-advisory, x_refsource_SECUNIA
- SUSE-SR:2007:016 vendor-advisory, x_refsource_SUSE
- ADV-2007-4238 vdb-entry, x_refsource_VUPEN
- TA07-352A third-party-advisory, x_refsource_CERT
- 26168 third-party-advisory, x_refsource_SECUNIA
- 27580 third-party-advisory, x_refsource_SECUNIA
- 28136 third-party-advisory, x_refsource_SECUNIA
- 26286 third-party-advisory, x_refsource_SECUNIA
- http://www.digit-labs.org/files/exploits/private/tcpdump-bgp.c x_refsource_MISC
- http://bugs.gentoo.org/show_bug.cgi?id=184815 x_refsource_CONFIRM
- SSA:2007-230-01 vendor-advisory, x_refsource_SLACKWARE
- MDKSA-2007:148 vendor-advisory, x_refsource_MANDRIVA
- 1018434 vdb-entry, x_refsource_SECTRACK
- RHSA-2007:0368 vendor-advisory, x_refsource_REDHAT
- 26263 third-party-advisory, x_refsource_SECUNIA
- 20070720 rPSA-2007-0147-1 tcpdump mailing-list, x_refsource_BUGTRAQ
- 26223 third-party-advisory, x_refsource_SECUNIA
- APPLE-SA-2007-12-17 vendor-advisory, x_refsource_APPLE
- 2007-0023 vendor-advisory, x_refsource_TRUSTIX
- oval:org.mitre.oval:def:9771 vdb-entry, signature, x_refsource_OVAL
- FreeBSD-SA-07:06 vendor-advisory, x_refsource_FREEBSD
- http://cvs.tcpdump.org/cgi-bin/cvsweb/tcpdump/print-bgp.c?r1=1.91.2.11&r2=1.91.2.12 x_refsource_MISC
- http://docs.info.apple.com/article.html?artnum=307179 x_refsource_CONFIRM
- 26395 third-party-advisory, x_refsource_SECUNIA
- 26266 third-party-advisory, x_refsource_SECUNIA
- TLSA-2007-46 vendor-advisory, x_refsource_TURBO
- 26521 third-party-advisory, x_refsource_SECUNIA
- ADV-2007-2578 vdb-entry, x_refsource_VUPEN
- 26404 third-party-advisory, x_refsource_SECUNIA
- 26135 third-party-advisory, x_refsource_SECUNIA
- USN-492-1 vendor-advisory, x_refsource_UBUNTU
- DSA-1353 vendor-advisory, x_refsource_DEBIAN
- GLSA-200707-14 vendor-advisory, x_refsource_GENTOO
- 24965 vdb-entry, x_refsource_BID
When was it published, and where is the official record?
- Reserved
- July 16, 2007
- Published
- July 16, 2007, 22:00 UTC
- CVE record updated
- October 15, 2024, 14:18 UTC by mitre
- NVD
- Modified, last modified June 16, 2026, 22:42 UTC
- Last checked
- CVE list November 19, 2026, 07:21 UTC; NVD November 19, 2026, 08:52 UTC; KEV December 3, 2026, 07:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Tcpdump?
- Aug 27, 2022CVE-2019-15167 Tcpdump: out-of-bounds read
- Oct 3, 2019CVE-2019-15166 Tcpdump: buffer overflow
- Oct 3, 2019CVE-2018-16452 Tcpdump: uncontrolled recursion
- Oct 3, 2019CVE-2018-16451 Tcpdump: out-of-bounds read
- Oct 3, 2019CVE-2018-16300 Tcpdump: uncontrolled recursion
- Oct 3, 2019CVE-2018-16230 Tcpdump: out-of-bounds read
- Oct 3, 2019CVE-2018-16229 Tcpdump: out-of-bounds read
- Oct 3, 2019CVE-2018-16228 Tcpdump: out-of-bounds read
Questions about CVE-2007-3798
Is CVE-2007-3798 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 07:38 UTC. FIRST's EPSS gives it a 70.4% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Tcpdump are affected by CVE-2007-3798?
tcpdump through 3.9.6, ubuntu linux 6.06, ubuntu linux 6.10, ubuntu linux 7.04, debian linux 3.1, debian linux 4.0 and 14 more, per the NVD. The tables above give every range the sources list.
Which version fixes CVE-2007-3798?
5.5, 6.1 and 10.4.11, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2007-3798?
Critical (9.8, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2007-3798?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.