Golang github pion stun: Prior to 3.1.3, XORMappedAddress.GetFromAs can panic while parsing a malformed short
Affects golang-github-pion-stunSource GCVE Database
Not known to be exploited · CVSS 5.3 Medium · fixed in 3.1.3 : update golang-github-pion-stun when convenient.
Data as of 24 Nov 2026, 21:16 UTC
- EPSS
- 0.6% chance of exploitation in 30 days – higher than 51% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 3.1.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LExploitation evidence
Disclosed: evidence found.
CVE published 31 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10golang-github-pion-stunpkg:deb/ubuntu/golang-github-pion-stun?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.10golang-github-pion-stun-v3pkg:deb/ubuntu/golang-github-pion-stun-v3?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSgolang-github-pion-stunpkg:deb/ubuntu/golang-github-pion-stun?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSgolang-github-pion-stun-v3pkg:deb/ubuntu/golang-github-pion-stun-v3?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSgolang-github-pion-stunpkg:deb/ubuntu/golang-github-pion-stun?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
pion/stun is a Go implementation of STUN. Prior to 3.1.3, XORMappedAddress.GetFromAs can panic while parsing a malformed short XOR-MAPPED-ADDRESS attribute in STUN or ICE Binding-response parsing paths, allowing remote denial of service. This issue is fixed in version 3.1.3.
References
- ubuntu.com/security/CVE-2026-54909 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-54909 (opens in a new tab)
- github.com/pion/stun/security/advisories/GHSA-34rh-wp3j-6cxc (opens in a new tab)
- github.com/pion/stun/pull/278 (opens in a new tab)
- github.com/pion/stun/commit/fa9f074a33a8059c76c960b1fbee39f308002423 (opens in a new tab)
- github.com/pion/stun/releases/tag/v3.1.3 (opens in a new tab)