{"id":"CVE-2007-3798","aliases":["DEBIAN-CVE-2007-3798","DSA-1353-1","EUVD-2007-3782","GHSA-cg3g-c98g-38cg","RHSA-2007:0368","RHSA-2007:0387"],"status":"published","title":"Integer overflow in print-bgp.c in the BGP dissector in tcpdump 3.9.6 and earlier allows remote...","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.","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.70386,"percentile":0.99391,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-252"],"published":"2007-07-16T22:00:00Z","modified":"2026-10-21T18:00:51Z","exploits":[{"source":"exploitdb","id":"EDB-30319","title":"tcpdump - Print-bgp.C Remote Integer Underflow","type":"remote","platform":"linux","date":"2007-03-01","verified":true,"url":"https://www.exploit-db.com/exploits/30319"}],"fixes":[{"ecosystem":"Debian:12","package":"tcpdump","fixed_in":["3.9.5-3"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"tcpdump","fixed_in":["3.9.5-3"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"tcpdump","fixed_in":["3.9.5-3"],"sources":["osv"]},{"ecosystem":"Debian:3.1","package":"tcpdump","fixed_in":["3.8.3-5sarge3"],"sources":["osv"]},{"ecosystem":"Debian:4.0","package":"tcpdump","fixed_in":["3.9.5-2etch1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"tcpdump","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.5-3"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"tcpdump","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.5-3"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"tcpdump","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.5-3"}]}]},{"source":"osv","ecosystem":"Debian:3.1","package":"tcpdump","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.8.3-5sarge3"}]}],"versions":["3.8.3-5","3.8.3-5sarge1","3.8.3-5sarge2"]},{"source":"osv","ecosystem":"Debian:4.0","package":"tcpdump","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.9.5-2etch1"}]}],"versions":["3.9.5-2"]},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"arpwatch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14:2.1a13-18.el5"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"libpcap-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14:0.9.4-11.el5"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"tcpdump","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14:3.9.4-11.el5"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client_workstation","package":"tcpdump-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14:3.9.4-11.el5"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"libpcap","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14:0.9.4-11.el5"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"tcpdump","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14:3.9.4-11.el5"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::client","package":"tcpdump-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14:3.9.4-11.el5"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"arpwatch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14:2.1a13-18.el5"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"libpcap","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14:0.9.4-11.el5"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"libpcap-devel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14:0.9.4-11.el5"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"tcpdump","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14:3.9.4-11.el5"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:5::server","package":"tcpdump-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14:3.9.4-11.el5"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"arpwatch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14:2.1a13-12.el4"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"libpcap","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14:0.8.3-12.el4"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"tcpdump","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14:3.8.2-12.el4"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::as","package":"tcpdump-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14:3.8.2-12.el4"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"arpwatch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14:2.1a13-12.el4"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"libpcap","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14:0.8.3-12.el4"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"tcpdump","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14:3.8.2-12.el4"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::desktop","package":"tcpdump-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14:3.8.2-12.el4"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"arpwatch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14:2.1a13-12.el4"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"libpcap","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14:0.8.3-12.el4"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"tcpdump","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14:3.8.2-12.el4"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::es","package":"tcpdump-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14:3.8.2-12.el4"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"arpwatch","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14:2.1a13-12.el4"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"libpcap","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14:0.8.3-12.el4"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"tcpdump","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14:3.8.2-12.el4"}]}],"bundled":2},{"source":"osv","ecosystem":"Red Hat:enterprise_linux:4::ws","package":"tcpdump-debuginfo","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"14:3.8.2-12.el4"}]}],"bundled":2}],"products":[{"vendor":"apple","product":"mac_os_x"},{"vendor":"apple","product":"mac_os_x_server"},{"vendor":"canonical","product":"ubuntu_linux"},{"vendor":"debian","product":"debian_linux"},{"vendor":"freebsd","product":"freebsd"},{"vendor":"slackware","product":"slackware"},{"vendor":"tcpdump","product":"tcpdump"}],"references":[{"url":"http://www.redhat.com/support/errata/RHSA-2007-0387.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Broken Link","Vendor Advisory","advisory","web"]},{"url":"http://secunia.com/advisories/26231","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Broken Link","Vendor Advisory","advisory"]},{"url":"http://www.novell.com/linux/security/advisories/2007_16_sr.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Broken Link","advisory"]},{"url":"http://www.vupen.com/english/advisories/2007/4238","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Broken Link","Vendor Advisory","advisory"]},{"url":"http://www.us-cert.gov/cas/techalerts/TA07-352A.html","tags":["third-party-advisory","x_refsource_CERT","x_transferred","Broken Link","Third Party Advisory","US Government Resource","advisory","web"]},{"url":"http://secunia.com/advisories/26168","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Broken Link","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/27580","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Broken Link","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/28136","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Broken Link","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/26286","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Broken Link","Vendor Advisory","advisory"]},{"url":"http://www.digit-labs.org/files/exploits/private/tcpdump-bgp.c","tags":["x_refsource_MISC","x_transferred","Exploit","evidence"]},{"url":"http://bugs.gentoo.org/show_bug.cgi?id=184815","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"http://slackware.com/security/viewer.php?l=slackware-security\u0026y=2007\u0026m=slackware-security.449313","tags":["vendor-advisory","x_refsource_SLACKWARE","x_transferred","Mailing List","Patch","article","fix"]},{"url":"http://www.mandriva.com/security/advisories?name=MDKSA-2007:148","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred","Third Party Advisory","advisory"]},{"url":"http://www.securitytracker.com/id?1018434","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred","Broken Link","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"http://www.redhat.com/support/errata/RHSA-2007-0368.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Broken Link","web"]},{"url":"http://secunia.com/advisories/26263","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Broken Link","Vendor Advisory","advisory"]},{"url":"http://www.securityfocus.com/archive/1/474225/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred","Broken Link","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"http://secunia.com/advisories/26223","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Broken Link","Vendor Advisory","advisory"]},{"url":"http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.html","tags":["vendor-advisory","x_refsource_APPLE","x_transferred","Mailing List","article"]},{"url":"http://www.trustix.org/errata/2007/0023/","tags":["vendor-advisory","x_refsource_TRUSTIX","x_transferred","Broken Link","web"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9771","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred","Broken Link","web"]},{"url":"http://security.freebsd.org/advisories/FreeBSD-SA-07:06.tcpdump.asc","tags":["vendor-advisory","x_refsource_FREEBSD","x_transferred","Third Party Advisory","advisory"]},{"url":"http://cvs.tcpdump.org/cgi-bin/cvsweb/tcpdump/print-bgp.c?r1=1.91.2.11\u0026r2=1.91.2.12","tags":["x_refsource_MISC","x_transferred","Broken Link","web"]},{"url":"http://docs.info.apple.com/article.html?artnum=307179","tags":["x_refsource_CONFIRM","x_transferred","Broken Link","web"]},{"url":"http://secunia.com/advisories/26395","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Broken Link","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/26266","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Broken Link","Vendor Advisory","advisory"]},{"url":"http://www.turbolinux.com/security/2007/TLSA-2007-46.txt","tags":["vendor-advisory","x_refsource_TURBO","x_transferred","Broken Link","web"]},{"url":"http://secunia.com/advisories/26521","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Broken Link","Vendor Advisory","advisory"]},{"url":"http://www.vupen.com/english/advisories/2007/2578","tags":["vdb-entry","x_refsource_VUPEN","x_transferred","Broken Link","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/26404","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Broken Link","Vendor Advisory","advisory"]},{"url":"http://secunia.com/advisories/26135","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred","Broken Link","Vendor Advisory","advisory"]},{"url":"http://www.ubuntu.com/usn/usn-492-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred","Third Party Advisory","advisory"]},{"url":"http://www.debian.org/security/2007/dsa-1353","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory"]},{"url":"http://security.gentoo.org/glsa/glsa-200707-14.xml","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred","Third Party Advisory","advisory"]},{"url":"http://www.securityfocus.com/bid/24965","tags":["vdb-entry","x_refsource_BID","x_transferred","Broken Link","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-3798","tags":["advisory"]},{"url":"http://www.trustix.org/errata/2007/0023"},{"url":"https://github.com/advisories/GHSA-cg3g-c98g-38cg"},{"url":"https://security-tracker.debian.org/tracker/CVE-2007-3798","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2007:0368","tags":["advisory"]},{"url":"http://www.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=232347","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=237779","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=241677","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=250275","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2007/rhsa-2007_0368.json","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2007-1218","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-1218","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2007-1218","tags":["advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2007-3798","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2007-3798","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2007:0387","tags":["advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=214377","tags":["report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=232519","tags":["report"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2007/rhsa-2007_0387.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2007-3798","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.","status":"published","published":"2007-07-16T22:00:00Z","modified":"2024-10-15T14:18:21.831Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"adp"}],"cwes":["CWE-252"],"updated_at":"2026-11-02T13:32:56.730199Z"}],"euvd":[{"id":"EUVD-2007-3782","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.","status":"published","published":"2007-07-16T22:00:00Z","modified":"2024-10-15T14:18:21Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-03T00:27:37.250145Z"}],"ghsa":[{"id":"GHSA-cg3g-c98g-38cg","title":"Integer overflow in print-bgp.c in the BGP dissector in tcpdump 3.9.6 and earlier allows remote...","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.","status":"published","published":"2022-05-01T18:17:21Z","modified":"2024-10-15T18:31:56Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-252"],"updated_at":"2026-11-02T14:58:30.303503Z"}],"nvd":[{"id":"CVE-2007-3798","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.","status":"published","published":"2007-07-16T22:30:00Z","modified":"2026-06-16T22:42:45.077Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"secondary"},{"version":"2.0","score":6.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-252"],"updated_at":"2026-11-02T14:01:17.964611Z"}],"osv":[{"id":"CVE-2007-3798","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.","status":"published","published":"2007-07-16T22:30:00Z","modified":"2026-04-10T03:39:00.796885Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:43:56.865964Z"},{"id":"DEBIAN-CVE-2007-3798","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.","status":"published","published":"2007-07-16T22:30:00Z","modified":"2026-10-21T18:00:51.079825954Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:45:23.411908Z"},{"id":"DSA-1353-1","title":"tcpdump - integer overflow","status":"published","published":"2007-08-08T00:00:00Z","modified":"2026-03-09T01:00:45.834819Z","updated_at":"2026-11-02T15:46:14.285228Z"},{"id":"RHSA-2007:0368","title":"Red Hat Security Advisory: tcpdump security and bug fix update","status":"published","published":"2024-09-15T16:42:52Z","modified":"2026-06-26T12:18:00.799624373Z","updated_at":"2026-11-02T15:52:59.70892Z"},{"id":"RHSA-2007:0387","title":"Red Hat Security Advisory: tcpdump security and bug fix update","status":"published","published":"2024-09-15T16:42:56Z","modified":"2026-06-26T10:06:26Z","updated_at":"2026-11-02T15:52:59.70892Z"}]}}
