Heap-Based Buffer Over-Read in tcpdump: CVE-2017-16808

tcpdump Updated 02 Oct 2025

Summary

13/11/2017
N/A
Yes i
Medium
5.5

ALPINE-CVE-2017-16808: tcpdump before 4.9.3 has a heap-based buffer over-read related to aoe_print in print-aoe.c and lookup_emem in addrtoname.c. Affects tcpdump versions < 4.9.3-r0. Fixed in 4.9.3-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 the packets being transmitted or received over a network. The tool is widely utilized by network administrators and security professionals for troubleshooting and security auditing. However, tcpdump versions prior to 4.9.3 are vulnerable to a heap-based buffer over-read, which can lead to potential information leakage and security risks.

Vulnerability Detail

The vulnerability identified as CVE-2017-16808 is a heap-based buffer over-read that affects tcpdump versions before 4.9.3. This issue arises from improper handling of certain inputs in the aoe_print function in print-aoe.c and the lookup_emem function in addrtoname.c. An attacker could exploit this vulnerability to read sensitive information from memory, potentially leading to unauthorized access to data. The CVSS score for this vulnerability is 5.5, indicating a moderate severity level.

How To Fix

Minimum fixed version

4.9.3-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 workaround, users can avoid using the affected features of tcpdump until the package is updated. However, the most effective solution is to apply the patch by updating to the fixed version.

Conclusion

The tcpdump vulnerability CVE-2017-16808 poses a significant risk due to its potential for information leakage through a heap-based buffer over-read. Users are strongly advised to update to version 4.9.3 or later to mitigate this risk. Utilizing tools like Vulert can help in monitoring and managing open-source vulnerabilities effectively.

See every vulnerability recorded for tcpdump →

Share this vulnerability

FAQ

CVE-2017-16808 is a vulnerability in tcpdump that allows for a heap-based buffer over-read, potentially leading to information leakage.

You can check your version of tcpdump by running 'tcpdump -v' in the command line. If it is below 4.9.3, it is vulnerable.

The primary risk is the potential for unauthorized access to sensitive information stored in memory, which could be exploited by attackers.

Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities using just a manifest file like package-lock.json.

You can update tcpdump using your package manager. For Alpine Linux, use the command 'apk add --update tcpdump=4.9.3-r0'.

Related vulnerabilities

Recent vulnerabilities recorded for tcpdump.

How To Fix

Minimum fixed version

4.9.3-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