medium5.3
CVE-2026-54909
Pion STUN vulnerable to remote denial of service via panic while parsing a malformed XOR-MAPPED-ADDRESS attribute
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/pion/stun/v3 | <= 3.1.4 | 3.1.5 |
| go | github.com/pion/stun/v2 | <= 2.0.0 | none recorded |
| go | github.com/pion/stun | <= 1.23.1 | none recorded |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-34rh-wp3j-6cxc
- https://github.com/pion/stun/security/advisories/GHSA-34rh-wp3j-6cxc
- https://github.com/pion/stun/pull/278
- https://github.com/pion/stun/commit/fa9f074a33a8059c76c960b1fbee39f308002423
- https://github.com/pion/stun/releases/tag/v3.1.3