CVE-2007-3798

CRITICAL

tcpdump <3.9.6 - RCE

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2007-3798. PoCs published by mu-b.

AI-analyzed exploit summary This exploit targets an integer underflow vulnerability in tcpdump <= 3.9.6 by sending a maliciously crafted BGP UPDATE packet. The overflow occurs due to improper bounds checking in the snprintf length calculation, potentially leading to arbitrary code execution.

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.

Exploits (1)

exploitdb WORKING POC VERIFIED
by mu-b · cremotelinux
https://www.exploit-db.com/exploits/30319

This exploit targets an integer underflow vulnerability in tcpdump <= 3.9.6 by sending a maliciously crafted BGP UPDATE packet. The overflow occurs due to improper bounds checking in the snprintf length calculation, potentially leading to arbitrary code execution.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: tcpdump <= 3.9.6
No auth needed
Prerequisites: Network access to a target running tcpdump with BGP traffic monitoring
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (35)

Core 35
Core References
Broken Link, Vendor Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2007-0387.html
Broken Link vendor-advisory x_refsource_suse
http://www.novell.com/linux/security/advisories/2007_16_sr.html
Broken Link, Vendor Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2007/4238
Broken Link, Third Party Advisory, US Government Resource third-party-advisory x_refsource_cert
http://www.us-cert.gov/cas/techalerts/TA07-352A.html
Broken Link, Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/26231
Broken Link, Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/26168
Broken Link, Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/27580
Broken Link, Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/28136
Broken Link, Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/26286
Third Party Advisory x_refsource_confirm
http://bugs.gentoo.org/show_bug.cgi?id=184815
Third Party Advisory vendor-advisory x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDKSA-2007:148
Broken Link, Third Party Advisory, VDB Entry vdb-entry x_refsource_sectrack
http://www.securitytracker.com/id?1018434
Broken Link vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2007-0368.html
Broken Link, Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/26263
Broken Link, Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/474225/100/0/threaded
Broken Link, Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/26223
Mailing List vendor-advisory x_refsource_apple
http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.html
Broken Link vendor-advisory x_refsource_trustix
http://www.trustix.org/errata/2007/0023/
Third Party Advisory vendor-advisory x_refsource_freebsd
http://security.freebsd.org/advisories/FreeBSD-SA-07:06.tcpdump.asc
Broken Link, Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/26395
Broken Link, Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/26266
Broken Link vendor-advisory x_refsource_turbo
http://www.turbolinux.com/security/2007/TLSA-2007-46.txt
Broken Link, Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/26521
Broken Link, Vendor Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2007/2578
Broken Link, Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/26404
Broken Link, Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/26135
Third Party Advisory vendor-advisory x_refsource_ubuntu
http://www.ubuntu.com/usn/usn-492-1
Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2007/dsa-1353
Third Party Advisory vendor-advisory x_refsource_gentoo
http://security.gentoo.org/glsa/glsa-200707-14.xml
Broken Link, Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/24965

Scores

CVSS v3 9.8
EPSS 0.7269
EPSS Percentile 98.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact total

Details

CWE
CWE-252
Status published
Products (19)
apple/mac_os_x 10.0.0 - 10.4.11
apple/mac_os_x_server 10.0.0 - 10.4.11
canonical/ubuntu_linux 6.06
canonical/ubuntu_linux 6.10
canonical/ubuntu_linux 7.04
debian/debian_linux 3.1
debian/debian_linux 4.0
freebsd/freebsd 5.5 (13 CPE variants)
freebsd/freebsd 6.1 (14 CPE variants)
freebsd/freebsd 6.2 (5 CPE variants)
... and 9 more
Published Jul 16, 2007
Tracked Since Feb 18, 2026