CVE-2007-3798 in Apple Mac Os X and 6 more products
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.
Affects 7 products from 6 vendors. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| 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 6.10 7.04 |
| Debian | Debian Linux | 3.1 4.0 |
| Freebsd | Freebsd | 5.5 6.1 6.2 ≥ 5.0, < 5.5 ≥ 6.0, < 6.1 |
| Slackware | Slackware | 9.0 9.1 10.0 10.1 10.2 11.0+1 more12.0 |
| Tcpdump | Tcpdump | ≤ 3.9.6 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2007-3798 |
|---|---|
| BreachSpider ID | BS-2007-GLOBAL-159259-C |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2007-07-16 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-252: CWE-252
Analysis AI-written, not human-reviewed
An integer overflow vulnerability in the BGP dissector of tcpdump versions 3.9.6 and earlier can be exploited by remote attackers to execute arbitrary code through crafted TLVs in a BGP packet.
The vulnerability arises from an unchecked return value in the print-bgp.c file, leading to an integer overflow. This overflow can be triggered by a maliciously crafted BGP packet containing specific TLVs, allowing an attacker to execute arbitrary code on the system running tcpdump.
Questions
What is CVE-2007-3798?
An integer overflow vulnerability in the BGP dissector of tcpdump versions 3.9.6 and earlier can be exploited by remote attackers to execute arbitrary code through crafted TLVs in a BGP packet.
What is the CVSS score for CVE-2007-3798?
CVE-2007-3798 has CVSS 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. EPSS: 70.4%.
Is CVE-2007-3798 actively exploited?
Public exploit available for CVE-2007-3798. Exploitation risk elevated.
How do I remediate CVE-2007-3798?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2007-3798?
CVE-2007-3798 affects Apple Mac Os X, Mac Os X Server; Canonical Ubuntu Linux; Debian Debian Linux; Freebsd Freebsd; Slackware Slackware; Tcpdump Tcpdump.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Apple","product":"Mac Os X","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.