Live threats

All CVEs / pion

CVE-2026-54909pion stun

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
—
Auth required
No
Published
Jul 31, 2026
Updated
Oct 23, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for stun.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/pion/stun ≤ 1.23.1 no fixed version —
Go github.com/pion/stun/v2 ≤ 2.0.0 no fixed version —
Go github.com/pion/stun/v3 < 3.1.5 3.1.5 go get github.com/pion/stun/v3@v3.1.5
Go github.com/pion/stun/v3 < 3.1.5 3.1.5 go get github.com/pion/stun/v3@v3.1.5

Per OSV / GitHub Advisories (GHSA-34rh-wp3j-6cxc, GO-2026-6163). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.