Buffer Overflow Vulnerability in tcpdump: CVE-2016-7993

tcpdump Updated 02 Oct 2025

Summary

28/01/2017
N/A
Yes i
Critical
9.8

ALPINE-CVE-2016-7993: A bug in util-print.c:relts_print() in tcpdump before 4.9.0 could cause a buffer overflow in multiple protocol parsers (DNS, DVMRP, HSRP, IGMP, lightweight resolver protocol, PIM). Affects tcpdump versions < 4.9.0-r0. Fixed in 4.9.0-r0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

tcpdump is a powerful command-line packet analyzer tool used for network traffic monitoring and analysis. It allows users to capture and display packets being transmitted or received over a network. The tool is widely utilized by network administrators and security professionals for troubleshooting and network diagnostics. However, prior to version 4.9.0, tcpdump contained a critical vulnerability that could lead to severe security risks.

Vulnerability Detail

A bug in util-print.c:relts_print() in tcpdump versions before 4.9.0 could cause a buffer overflow in multiple protocol parsers, including DNS, DVMRP, HSRP, IGMP, lightweight resolver protocol, and PIM. This vulnerability arises from improper handling of input data, which could allow an attacker to exploit the flaw and execute arbitrary code, potentially leading to unauthorized access or denial of service. The CVSS score for this vulnerability is 9.8, indicating a high severity level.

How To Fix

Minimum fixed version

4.9.0-r0

This is the first release that contains the fix.

sudo apk add --upgrade tcpdump

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can limit the exposure of tcpdump by restricting its execution to trusted networks and users until the package can be updated. Additionally, consider using alternative tools for packet analysis that do not exhibit this vulnerability.

Conclusion

The tcpdump vulnerability CVE-2016-7993 poses significant risks due to a buffer overflow issue in its protocol parsers. Users are strongly advised to update to the latest patched version to mitigate these risks. For those unable to update immediately, implementing workarounds can help reduce exposure until a proper fix is applied.

See every vulnerability recorded for tcpdump →

Share this vulnerability

FAQ

CVE-2016-7993 is a vulnerability in tcpdump that can lead to a buffer overflow, affecting multiple protocol parsers.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

The risks include potential unauthorized access, execution of arbitrary code, and denial of service due to the buffer overflow.

Yes, the vulnerability is patched in tcpdump version 4.9.0-r0 and later.

If immediate updates are not possible, restrict the use of tcpdump to trusted environments and consider using alternative packet analysis tools.

Related vulnerabilities

Recent vulnerabilities recorded for tcpdump.

How To Fix

Minimum fixed version

4.9.0-r0

This is the first release that contains the fix.

sudo apk add --upgrade tcpdump

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback