Infinite Loop Vulnerability in Wireshark Package Due to Malformed Capture Files

wireshark Updated 02 Oct 2025

Summary

04/03/2017
N/A
Yes i
High
7.5

ALPINE-CVE-2017-6474: In Wireshark 2.2.0 to 2.2.4 and 2.0.0 to 2.0.10, there is a NetScaler file parser infinite loop, triggered by a malformed capture file. Affects wireshark versions < 2.2.5-r0. Fixed in 2.2.5-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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Wireshark is a widely-used network protocol analyzer that allows users to capture and interactively browse the traffic running on a computer network. It is essential for network troubleshooting, analysis, software and communications protocol development, and education. However, versions 2.2.0 to 2.2.4 and 2.0.0 to 2.0.10 of Wireshark are vulnerable to an infinite loop caused by a malformed NetScaler file parser, which can lead to denial of service.

Vulnerability Detail

The vulnerability, identified as CVE-2017-6474, arises from an infinite loop in the NetScaler file parser within Wireshark versions 2.2.0 to 2.2.4 and 2.0.0 to 2.0.10. When a malformed capture file is processed, it triggers this infinite loop, potentially causing the application to hang or crash. This issue was addressed in the source code file wiretap/netscaler.c by implementing validation checks for record sizes, thereby preventing the infinite loop from occurring.

How To Fix

Minimum fixed version

2.2.5-r0

This is the first release that contains the fix.

sudo apk add --upgrade wireshark

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

Workaround

As a temporary workaround, avoid opening any suspicious or untrusted NetScaler capture files until the package has been updated to the fixed version. Additionally, users can implement file validation checks before processing capture files to mitigate the risk of triggering the infinite loop.

Conclusion

In summary, CVE-2017-6474 represents a significant vulnerability in specific versions of Wireshark that can lead to denial of service through an infinite loop triggered by malformed capture files. Users are strongly advised to update to the latest version to mitigate this risk.

See every vulnerability recorded for wireshark →

Share this vulnerability

FAQ

CVE-2017-6474 is a vulnerability in Wireshark that allows for an infinite loop when processing malformed NetScaler capture files, potentially leading to application crashes.

The affected versions are Wireshark 2.2.0 to 2.2.4 and 2.0.0 to 2.0.10.

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

The CVSS score for this vulnerability is 7.5, indicating a high severity level.

You can update Wireshark by running the command 'apk update && apk upgrade wireshark' in your terminal.

Related vulnerabilities

Recent vulnerabilities recorded for wireshark.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

Minimum fixed version

2.2.5-r0

This is the first release that contains the fix.

sudo apk add --upgrade wireshark

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