Critical Buffer Overflow Vulnerability in tcpdump Package

tcpdump Updated 02 Oct 2025

Summary

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

ALPINE-CVE-2016-7933: The PPP parser in tcpdump before 4.9.0 has a buffer overflow in print-ppp.c:ppp_hdlc_if_print(). 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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

tcpdump is a powerful command-line packet analyzer tool used for network traffic analysis. It allows users to capture and display packets being transmitted or received over a network to troubleshoot issues or monitor network activity. The package is widely used in various environments, including servers and embedded systems. However, it is susceptible to a critical buffer overflow vulnerability that can lead to severe security risks if not addressed.

Vulnerability Detail

The vulnerability, identified as CVE-2016-7933, originates from a buffer overflow in the PPP parser within tcpdump, specifically in the function print-ppp.c:ppp_hdlc_if_print(). This flaw can be exploited by an attacker to execute arbitrary code, potentially leading to unauthorized access or control over the affected system. The vulnerability has a CVSS score of 9.8, indicating its critical nature and the high potential for impact on confidentiality, integrity, and availability.

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 measure, users can limit the exposure of tcpdump by restricting its use to trusted networks and ensuring that it is not run with elevated privileges. Additionally, avoid processing untrusted or malformed packets that could trigger the vulnerability.

Conclusion

The buffer overflow vulnerability in tcpdump (CVE-2016-7933) poses a significant risk to systems using this package. It is crucial for users to update to the patched version to safeguard their systems against potential exploitation. Utilizing tools like Vulert can help monitor for such vulnerabilities effectively.

See every vulnerability recorded for tcpdump →

Share this vulnerability

FAQ

CVE-2016-7933 is a buffer overflow vulnerability in the tcpdump package that can lead to arbitrary code execution.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without needing to sign up.

Exploitation of this vulnerability can lead to unauthorized access, data breaches, and potential control over the affected system.

Yes, the patch is available in tcpdump version 4.9.0-r0 and later. Users should update their packages to mitigate the risk.

If immediate updates are not possible, restrict the use of tcpdump to trusted networks and avoid processing untrusted packets as a temporary workaround.

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