cve.bz

CVE-2007-3798 Unchecked Return Value

9.8 criticalExploitEPSS 70%Fix available

Critical (9.8). EPSS 70% estimated probability of exploitation activity in the next 30 days.

On this page
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

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
70% (unchanged from 70% a week ago; 70% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: yes · Technical impact: total, assessed 2024-10-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-252 Unchecked Return Value
OWASP Top 10
A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2007-3798 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2007-3798?via=ask-ai-copy and https://cve.bz/cve/CVE-2007-3798?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2007-3798 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
tcpdump:tcpdumpthrough 3.9.6
canonical:ubuntu_linux6.06
canonical:ubuntu_linux6.10
canonical:ubuntu_linux7.04
debian:debian_linux3.1
debian:debian_linux4.0
slackware:slackware9.0
slackware:slackware9.1
slackware:slackware10.0
slackware:slackware10.1
slackware:slackware10.2
slackware:slackware11.0
slackware:slackware12.0
freebsd:freebsdfrom 5.0 before 5.5
freebsd:freebsdfrom 6.0 before 6.1
freebsd:freebsd5.5
freebsd:freebsd5.5:p1
freebsd:freebsd5.5:p11
freebsd:freebsd5.5:p12
freebsd:freebsd5.5:p13
freebsd:freebsd5.5:p14
freebsd:freebsd5.5:p2
freebsd:freebsd5.5:p3
freebsd:freebsd5.5:p4
freebsd:freebsd5.5:p5
freebsd:freebsd5.5:p7
freebsd:freebsd5.5:p8
freebsd:freebsd5.5:p9
freebsd:freebsd6.1
freebsd:freebsd6.1:p1
freebsd:freebsd6.1:p10
freebsd:freebsd6.1:p11
freebsd:freebsd6.1:p12
freebsd:freebsd6.1:p13
freebsd:freebsd6.1:p16
freebsd:freebsd6.1:p17
freebsd:freebsd6.1:p18
freebsd:freebsd6.1:p2
freebsd:freebsd6.1:p4
freebsd:freebsd6.1:p6
freebsd:freebsd6.1:p7
freebsd:freebsd6.1:p9
freebsd:freebsd6.2
freebsd:freebsd6.2:p1
freebsd:freebsd6.2:p4
freebsd:freebsd6.2:p5
freebsd:freebsd6.2:p6
apple:mac_os_xfrom 10.0.0 before 10.4.11
apple:mac_os_x_serverfrom 10.0.0 before 10.4.11

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian3.1tcpdump3.8.3-5sarge3DSA-1353-1
Debian4.0tcpdump3.9.5-2etch1DSA-1353-1
Debian12, 13, 14tcpdump3.9.5-3DEBIAN-CVE-2007-3798
Red Hatenterprise_linux:4::as, enterprise_linux:4::desktop, enterprise_linux:4::es and 1 morearpwatch14:2.1a13-12.el4RHSA-2007:0387
Red Hatenterprise_linux:4::as, enterprise_linux:4::desktop, enterprise_linux:4::es and 1 morelibpcap14:0.8.3-12.el4RHSA-2007:0387
Red Hatenterprise_linux:4::as, enterprise_linux:4::desktop, enterprise_linux:4::es and 1 moretcpdump, tcpdump-debuginfo14:3.8.2-12.el4RHSA-2007:0387
Red Hatenterprise_linux:5::clientlibpcap14:0.9.4-11.el5RHSA-2007:0368
Red Hatenterprise_linux:5::client, enterprise_linux:5::client_workstation, enterprise_linux:5::servertcpdump, tcpdump-debuginfo14:3.9.4-11.el5RHSA-2007:0368
Red Hatenterprise_linux:5::client_workstationlibpcap-devel14:0.9.4-11.el5RHSA-2007:0368
Red Hatenterprise_linux:5::client_workstation, enterprise_linux:5::serverarpwatch14:2.1a13-18.el5RHSA-2007:0368
Red Hatenterprise_linux:5::serverlibpcap, libpcap-devel14:0.9.4-11.el5RHSA-2007:0368

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat.

Red Hat

Red Hat rates this Low.

Red Hat's statement

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 Product Security 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: https://access.redhat.com/security/updates/classification/

ProductPackageStateAdvisory
Red Hat Enterprise Linux 4tcpdump-14:3.8.2-12.el4Fixed 2007-11-15RHSA-2007:0387
Red Hat Enterprise Linux 5tcpdump-14:3.9.4-11.el5Fixed 2007-11-07RHSA-2007:0368

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2007-3798.

Public exploits

References

Check your stackJSON