Critical TCP Dissector Crash in Wireshark: CVE-2018-9258

wireshark Updated 02 Oct 2025

Summary

04/04/2018
N/A
Yes i
High
7.5

ALPINE-CVE-2018-9258: In Wireshark 2.4.0 to 2.4.5, the TCP dissector could crash. This was addressed in epan/dissectors/packet-tcp.c by preserving valid data sources. Affects wireshark versions < 2.2.14-r0. Fixed in 2.2.14-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

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. The package is known for its extensive protocol support and powerful analysis capabilities. However, versions 2.4.0 to 2.4.5 of Wireshark contain a vulnerability that could lead to a crash when processing TCP packets.

Vulnerability Detail

The vulnerability identified as CVE-2018-9258 affects the TCP dissector in Wireshark versions 2.4.0 through 2.4.5. It arises from improper handling of certain TCP packets, which can lead to a crash of the application. This issue can be exploited by an attacker sending specially crafted TCP packets, potentially leading to denial of service. The vulnerability has a CVSS score of 7.5, indicating a high severity level, and it was addressed in the source code by preserving valid data sources in the TCP dissector.

How To Fix

Minimum fixed version

2.2.14-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, users can avoid processing untrusted TCP packets until the software is updated. This may involve filtering incoming traffic or using alternative methods to analyze network traffic.

Conclusion

CVE-2018-9258 is a significant vulnerability in Wireshark that can lead to application crashes when processing specific TCP packets. Users are strongly advised to update to the latest version to mitigate this risk. For those unable to update immediately, implementing workarounds can help reduce exposure to potential attacks.

See every vulnerability recorded for wireshark →

Share this vulnerability

FAQ

CVE-2018-9258 is a vulnerability in Wireshark that can cause the application to crash when processing certain TCP packets.

Wireshark versions 2.4.0 to 2.4.5 are affected by this vulnerability.

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

If you cannot update immediately, consider filtering untrusted TCP packets or using alternative analysis methods to mitigate the risk.

The CVSS score of CVE-2018-9258 is 7.5, indicating a high severity level.

Related vulnerabilities

Recent vulnerabilities recorded for wireshark.

How To Fix

Minimum fixed version

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