CVE-2007-3798

Exp

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.

Published: 2007-07-16 Last update: 2026-06-16 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2007-3798 is rated High Exploit Risk (86.6/100): CVSS Critical severity, with high exploitation likelihood (EPSS 70.39%, 99th percentile). Core evidence: 2 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2007-3798

EDB-ID Source Kind Published Link
30319 exploit_db edb 2007-03-01 Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2007-3798

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 72.69% 70.39% -2.31%
2 2026-03-04 72.12% 72.69% +0.58%
3 2025-09-20 72.12%

Full EPSS history (12 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2007-3798

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
9.8 3.1 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 5.9 [email protected]
9.8 3.1 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 5.9 134c704f-9b21-4f2e-91b3-4a467353bcc0
6.8 2.0 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:N)
No authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:P)
Partial availability impact.
8.6 6.4 [email protected]

Weakness enumeration for CVE-2007-3798

OS Trackers for CVE-2007-3798

vendor priority summary link
alpine CVE-2007-3798: no source package rows; 0 state rows across 0 repos (none); fixed 0, open 0. https://security.alpinelinux.org/vuln/CVE-2007-3798
debian not yet assigned CVE-2007-3798 not yet assigned priority: Debian including 1 source packages (tcpdump), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2007-3798
gentoo high CVE-2007-3798: 1 GLSA(s) (200707-14), 1 atom(s) (net-analyzer/tcpdump); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2007-3798
redhat low https://access.redhat.com/security/cve/CVE-2007-3798
ubuntu medium CVE-2007-3798 medium priority: Ubuntu including 1 source packages (tcpdump), 4 status rows across 4 suites (dapper, edgy, feisty, upstream): released 3, needs-triage 1. https://ubuntu.com/security/CVE-2007-3798

Vendor comments (NVD) for CVE-2007-3798

  • Red Hat (2007-07-31T00:00:00)

    This issue does not affect the version of tcpdump shipped in Red Hat Enterprise Linux 2.1 or 3. Red Hat is aware of this issue and is tracking it via the following bug: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=250275 The Red Hat Security Response Team has rated this issue as having low security impact, a future update may address this flaw. More information regarding issue severity can be found here: http://www.redhat.com/security/updates/classification/

Affected software / configurations for CVE-2007-3798

Vendor Product Version Raw CPE
tcpdump tcpdump <= 3.9.6 cpe:2.3:a:tcpdump:tcpdump:*:*:*:*:*:*:*:*
canonical ubuntu_linux 6.06 cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:*:*:*:*
canonical ubuntu_linux 6.10 cpe:2.3:o:canonical:ubuntu_linux:6.10:*:*:*:*:*:*:*
canonical ubuntu_linux 7.04 cpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:*
debian debian_linux 3.1 cpe:2.3:o:debian:debian_linux:3.1:*:*:*:*:*:*:*
debian debian_linux 4.0 cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:*
slackware slackware 9.0 cpe:2.3:a:slackware:slackware:9.0:*:*:*:*:*:*:*
slackware slackware 9.1 cpe:2.3:a:slackware:slackware:9.1:*:*:*:*:*:*:*
slackware slackware 10.0 cpe:2.3:a:slackware:slackware:10.0:*:*:*:*:*:*:*
slackware slackware 10.1 cpe:2.3:a:slackware:slackware:10.1:*:*:*:*:*:*:*
slackware slackware 10.2 cpe:2.3:a:slackware:slackware:10.2:*:*:*:*:*:*:*
slackware slackware 11.0 cpe:2.3:a:slackware:slackware:11.0:*:*:*:*:*:*:*
slackware slackware 12.0 cpe:2.3:a:slackware:slackware:12.0:*:*:*:*:*:*:*
freebsd freebsd >= 5.0, < 5.5 cpe:2.3:o:freebsd:freebsd:*:*:*:*:*:*:*:*
freebsd freebsd >= 6.0, < 6.1 cpe:2.3:o:freebsd:freebsd:*:*:*:*:*:*:*:*
freebsd freebsd 5.5 cpe:2.3:o:freebsd:freebsd:5.5:-:*:*:*:*:*:*
freebsd freebsd 5.5 cpe:2.3:o:freebsd:freebsd:5.5:p1:*:*:*:*:*:*
freebsd freebsd 5.5 cpe:2.3:o:freebsd:freebsd:5.5:p11:*:*:*:*:*:*
freebsd freebsd 5.5 cpe:2.3:o:freebsd:freebsd:5.5:p12:*:*:*:*:*:*
freebsd freebsd 5.5 cpe:2.3:o:freebsd:freebsd:5.5:p13:*:*:*:*:*:*
freebsd freebsd 5.5 cpe:2.3:o:freebsd:freebsd:5.5:p14:*:*:*:*:*:*
freebsd freebsd 5.5 cpe:2.3:o:freebsd:freebsd:5.5:p2:*:*:*:*:*:*
freebsd freebsd 5.5 cpe:2.3:o:freebsd:freebsd:5.5:p3:*:*:*:*:*:*
freebsd freebsd 5.5 cpe:2.3:o:freebsd:freebsd:5.5:p4:*:*:*:*:*:*
freebsd freebsd 5.5 cpe:2.3:o:freebsd:freebsd:5.5:p5:*:*:*:*:*:*
freebsd freebsd 5.5 cpe:2.3:o:freebsd:freebsd:5.5:p7:*:*:*:*:*:*
freebsd freebsd 5.5 cpe:2.3:o:freebsd:freebsd:5.5:p8:*:*:*:*:*:*
freebsd freebsd 5.5 cpe:2.3:o:freebsd:freebsd:5.5:p9:*:*:*:*:*:*
freebsd freebsd 6.1 cpe:2.3:o:freebsd:freebsd:6.1:-:*:*:*:*:*:*
freebsd freebsd 6.1 cpe:2.3:o:freebsd:freebsd:6.1:p1:*:*:*:*:*:*
freebsd freebsd 6.1 cpe:2.3:o:freebsd:freebsd:6.1:p10:*:*:*:*:*:*
freebsd freebsd 6.1 cpe:2.3:o:freebsd:freebsd:6.1:p11:*:*:*:*:*:*
freebsd freebsd 6.1 cpe:2.3:o:freebsd:freebsd:6.1:p12:*:*:*:*:*:*
freebsd freebsd 6.1 cpe:2.3:o:freebsd:freebsd:6.1:p13:*:*:*:*:*:*
freebsd freebsd 6.1 cpe:2.3:o:freebsd:freebsd:6.1:p16:*:*:*:*:*:*
freebsd freebsd 6.1 cpe:2.3:o:freebsd:freebsd:6.1:p17:*:*:*:*:*:*
freebsd freebsd 6.1 cpe:2.3:o:freebsd:freebsd:6.1:p18:*:*:*:*:*:*
freebsd freebsd 6.1 cpe:2.3:o:freebsd:freebsd:6.1:p2:*:*:*:*:*:*
freebsd freebsd 6.1 cpe:2.3:o:freebsd:freebsd:6.1:p4:*:*:*:*:*:*
freebsd freebsd 6.1 cpe:2.3:o:freebsd:freebsd:6.1:p6:*:*:*:*:*:*
freebsd freebsd 6.1 cpe:2.3:o:freebsd:freebsd:6.1:p7:*:*:*:*:*:*
freebsd freebsd 6.1 cpe:2.3:o:freebsd:freebsd:6.1:p9:*:*:*:*:*:*
freebsd freebsd 6.2 cpe:2.3:o:freebsd:freebsd:6.2:-:*:*:*:*:*:*
freebsd freebsd 6.2 cpe:2.3:o:freebsd:freebsd:6.2:p1:*:*:*:*:*:*
freebsd freebsd 6.2 cpe:2.3:o:freebsd:freebsd:6.2:p4:*:*:*:*:*:*
freebsd freebsd 6.2 cpe:2.3:o:freebsd:freebsd:6.2:p5:*:*:*:*:*:*
freebsd freebsd 6.2 cpe:2.3:o:freebsd:freebsd:6.2:p6:*:*:*:*:*:*
apple mac_os_x >= 10.0.0, < 10.4.11 cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:*
apple mac_os_x_server >= 10.0.0, < 10.4.11 cpe:2.3:o:apple:mac_os_x_server:*:*:*:*:*:*:*:*

References for CVE-2007-3798

URL Tags
http://bugs.gentoo.org/show_bug.cgi?id=184815 Third Party Advisory
http://cvs.tcpdump.org/cgi-bin/cvsweb/tcpdump/print-bgp.c?r1=1.91.2.11&r2=1.91.2.12 Broken Link
http://docs.info.apple.com/article.html?artnum=307179 Broken Link
http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.html Mailing List
http://secunia.com/advisories/26135 Broken Link Vendor Advisory
http://secunia.com/advisories/26168 Broken Link Vendor Advisory
http://secunia.com/advisories/26223 Broken Link Vendor Advisory
http://secunia.com/advisories/26231 Broken Link Vendor Advisory
http://secunia.com/advisories/26263 Broken Link Vendor Advisory
http://secunia.com/advisories/26266 Broken Link Vendor Advisory
http://secunia.com/advisories/26286 Broken Link Vendor Advisory
http://secunia.com/advisories/26395 Broken Link Vendor Advisory
http://secunia.com/advisories/26404 Broken Link Vendor Advisory
http://secunia.com/advisories/26521 Broken Link Vendor Advisory
http://secunia.com/advisories/27580 Broken Link Vendor Advisory
http://secunia.com/advisories/28136 Broken Link Vendor Advisory
http://security.freebsd.org/advisories/FreeBSD-SA-07:06.tcpdump.asc Third Party Advisory
http://security.gentoo.org/glsa/glsa-200707-14.xml Third Party Advisory
http://slackware.com/security/viewer.php?l=slackware-security&y=2007&m=slackware-security.449313 Mailing List Patch
http://www.debian.org/security/2007/dsa-1353 Third Party Advisory
http://www.digit-labs.org/files/exploits/private/tcpdump-bgp.c Exploit
http://www.mandriva.com/security/advisories?name=MDKSA-2007:148 Third Party Advisory
http://www.novell.com/linux/security/advisories/2007_16_sr.html Broken Link
http://www.redhat.com/support/errata/RHSA-2007-0368.html Broken Link
http://www.redhat.com/support/errata/RHSA-2007-0387.html Broken Link Vendor Advisory
http://www.securityfocus.com/archive/1/474225/100/0/threaded Broken Link Third Party Advisory VDB Entry
http://www.securityfocus.com/bid/24965 Broken Link Third Party Advisory VDB Entry
http://www.securitytracker.com/id?1018434 Broken Link Third Party Advisory VDB Entry
http://www.trustix.org/errata/2007/0023/ Broken Link
http://www.turbolinux.com/security/2007/TLSA-2007-46.txt Broken Link
http://www.ubuntu.com/usn/usn-492-1 Third Party Advisory
http://www.us-cert.gov/cas/techalerts/TA07-352A.html Broken Link Third Party Advisory US Government Resource
http://www.vupen.com/english/advisories/2007/2578 Broken Link Vendor Advisory
http://www.vupen.com/english/advisories/2007/4238 Broken Link Vendor Advisory
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9771 Broken Link
cvelogic Threat Intelligence