Critical Buffer Overflow Vulnerability in tcpdump - CVE-2017-5485

tcpdump Updated 02 Oct 2025

Summary

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

ALPINE-CVE-2017-5485: The ISO CLNS parser in tcpdump before 4.9.0 has a buffer overflow in addrtoname.c:lookup_nsap(). 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 widely used command-line packet analyzer tool that allows users to capture and analyze network traffic. It is essential for network diagnostics and security analysis. The tool supports various protocols and provides detailed insights into network packets. However, tcpdump versions prior to 4.9.0 are vulnerable to a buffer overflow issue that can lead to severe security risks.

Vulnerability Detail

The vulnerability, identified as CVE-2017-5485, originates from a flaw in the ISO CLNS parser within tcpdump. Specifically, the buffer overflow occurs in the addrtoname.c file at the lookup_nsap() function. This flaw can be exploited by attackers to execute arbitrary code, potentially compromising the integrity and confidentiality of the system. The CVSS score for this vulnerability is 9.8, indicating a critical 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 avoid processing untrusted network traffic or disable the specific features that utilize the vulnerable parser until the package is updated.

Conclusion

CVE-2017-5485 represents a significant security risk for users of tcpdump versions prior to 4.9.0. It is crucial to update to the patched version to mitigate potential threats. Users should also consider using tools like Vulert to monitor their applications for vulnerabilities.

See every vulnerability recorded for tcpdump →

Share this vulnerability

FAQ

CVE-2017-5485 is a critical buffer overflow vulnerability found in tcpdump versions prior to 4.9.0.

You can check your tcpdump version by running 'tcpdump -v' in the terminal. If it is below 4.9.0, it is vulnerable.

Exploitation of this vulnerability can lead to arbitrary code execution, potentially allowing attackers to gain control over the affected system.

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

Detailed information about CVE-2017-5485 can be found on various security advisory websites and the official tcpdump documentation.

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