Wireshark 4.6.10 Released
Wireshark 4.6.10 was released in November, following 4.6.9 in October.
Why maintenance releases matter here specifically
Wireshark parses untrusted input by design. A capture file or a live packet stream is data from an adversary, and the code reading it is hundreds of protocol dissectors, many for obscure protocols maintained by one person years ago.
That is a large attack surface, and dissector vulnerabilities appear in Wireshark’s security advisories regularly. The threat model is real rather than theoretical: open a malicious .pcap and the parser is the thing being attacked.
wireshark --version | head -1
tshark --version | head -1
sudo apt upgrade wireshark tshark # Debian and Ubuntu
sudo dnf upgrade wireshark # Fedora
The practice this argues for
Separate capture from analysis, and run each with the privileges it needs and no more.
# capture with tcpdump, which is small and does not dissect
sudo tcpdump -i eth0 -nn -w /tmp/capture.pcap port 443
# analyse as a normal user, on a machine you do not mind
wireshark /tmp/capture.pcap
That split is the recommendation regardless of any particular CVE. tcpdump is a far smaller program doing a far simpler job, so capturing with it and analysing elsewhere means the privileged process is not the complicated one. Our tcpdump guide covers the workflow, including piping a remote capture straight into a local Wireshark.
Wireshark’s own packaging reflects this. The dumpcap helper exists so the GUI does not need privileges:
# capabilities rather than running the GUI as root
getcap /usr/bin/dumpcap
sudo dpkg-reconfigure wireshark-common # Debian and Ubuntu
sudo usermod -aG wireshark "$USER"
Never run the Wireshark GUI as root. It is explicitly documented as the wrong thing to do, for exactly the dissector reason above, and the wireshark group exists so you do not have to.
tshark for anything repeatable
# HTTP hosts and paths
tshark -r capture.pcap -Y http.request -T fields -e http.host -e http.request.uri
# TLS SNI, which is visible even though the payload is not
tshark -r capture.pcap -Y tls.handshake.type==1 \
-T fields -e tls.handshake.extensions_server_name
# follow one stream as text
tshark -r capture.pcap -q -z follow,tcp,ascii,0
tshark is the command line form and dissects far better than tcpdump does. Note the filter syntax differs: port 443 is a BPF capture filter, tcp.port == 443 is a Wireshark display filter, and mixing them up is a standard rite of passage.
Treat the capture file as sensitive
A capture contains everything that was not encrypted: credentials on plaintext protocols, session cookies, tokens in URLs, internal hostnames, personal data.
Restrict it with chmod 600, delete it when the investigation is finished, and filter at capture time where you can. TLS protects payloads and not metadata, so addresses, ports, timing, sizes and the SNI hostname remain visible, which is frequently enough to be revealing on its own.