CVE-2026-54909 Pion STUN vulnerable to remote denial of service via panic while parsing a malformed XOR-MAPPED-ADDRESS attribute
A remote attacker can cause a denial of service by sending a malformed STUN packet that triggers a panic in the Pion STUN library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-54909?
CVE-2026-54909 is a medium-severity denial of service vulnerability in pion stun, published on 31 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-20
Which versions are affected by CVE-2026-54909?
7 open source packages ship an affected version, including github.com/pion/stun/v3, github.com/pion/stun and github.com/pion/stun/v2.
| Package | Affected | Fixed in |
|---|---|---|
github.com/pion/stun/v3 Go | All versions | 3.1.5 |
github.com/pion/stun/v3 Go | All versions | 3.1.5 |
github.com/pion/stun/v3 Go | All versions | 3.1.5 |
github.com/pion/stun Go | All versions to 1.23.1 | None |
github.com/pion/stun Go | All versions to 1.23.1 | None |
github.com/pion/stun/v2 Go | All versions to 2.0.0 | None |
1 more packages
github.com/pion/stun/v2 Go | All versions to 2.0.0 | None |
How do I fix CVE-2026-54909?
Upgrade github.com/pion/stun/v3 to 3.1.5 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2026-54909 being exploited?
There is no known exploitation of CVE-2026-54909 in the wild and no public exploit code.
Sources
Also known as DEBIAN-CVE-2026-54909, ECHO-228a-ef1d-f517, GHSA-34rh-wp3j-6cxc, GO-2026-6163, MINI-5x8j-r36r-mf8w, MINI-8v73-p45p-gr93 and 21 more.