{"uuid": "ba6b6fc2-b48a-46f3-a6df-ea5dd60e0223", "vulnerability_lookup_origin": "1a89b78e-f703-45f3-bb86-59eb712668bd", "author": "9f56dd64-161d-43a6-b9c3-555944290a09", "vulnerability": "GHSA-34rh-wp3j-6cxc", "type": "seen", "source": "https://gist.github.com/alon710/402cd5e451c20f1dfc47c5b8f0cf1ddb", "content": "# CVE-2026-54909: CVE-2026-54909: Remote Denial of Service in Pion STUN via Malformed XOR-MAPPED-ADDRESS Attribute\n\n&gt; **CVSS Score:** 5.3\n&gt; **Published:** 2026-07-31\n&gt; **Full Report:** https://cvereports.com/reports/CVE-2026-54909\n\n## Summary\nA remote denial of service vulnerability exists in the pion/stun package before version 3.1.3. A malformed STUN packet containing a short or empty XOR-MAPPED-ADDRESS attribute triggers a runtime slice-bounds panic during parsing, terminating the entire Go process.\n\n## TL;DR\nUnauthenticated malformed STUN packets can trigger a runtime panic in Pion STUN before 3.1.3, causing a denial of service.\n\n## Exploit Status: POC\n\n## Technical Details\n\n- **CWE ID**: CWE-20\n- **Attack Vector**: Network\n- **CVSS v3.1 Score**: 5.3\n- **Impact**: Denial of Service\n- **Exploit Status**: poc\n- **CISA KEV Status**: No\n\n## Affected Systems\n\n- Pion STUN (Go module github.com/pion/stun)\n- Pion TURN (transitive dependency)\n- Pion WebRTC (transitive dependency)\n- Applications acting as WebRTC signaling or media servers using the affected libraries\n- **stun**: &lt; 3.1.3 (Fixed in: `3.1.3`)\n\n## Mitigation\n\n- Upgrade github.com/pion/stun to version 3.1.3 or later\n- Filter out malformed STUN packets at the network layer using an IDS/IPS or firewall rule\n- Audit downstream imports (such as pion/turn or pion/webrtc) to ensure they resolve to the fixed version of pion/stun\n\n**Remediation Steps:**\n1. Open the go.mod file of the affected project\n2. Run 'go get github.com/pion/stun/v3@v3.1.3'\n3. Run 'go mod tidy' to update downstream dependencies\n4. Recompile and redeploy the application\n\n## References\n\n- [GitHub Security Advisory GHSA-34rh-wp3j-6cxc](https://github.com/pion/stun/security/advisories/GHSA-34rh-wp3j-6cxc)\n- [Pion STUN Pull Request 278](https://github.com/pion/stun/pull/278)\n- [Fix Commit fa9f074a](https://github.com/pion/stun/commit/fa9f074a33a8059c76c960b1fbee39f308002423)\n- [Pion STUN v3.1.3 Release](https://github.com/pion/stun/releases/tag/v3.1.3)\n\n\n---\n*Generated by [CVEReports](https://cvereports.com/reports/CVE-2026-54909) - Automated Vulnerability Intelligence*", "creation_timestamp": "2026-08-01T04:31:50.429318Z"}