Advisory

GO-2026-6163

Also known as: CVE-2026-54909, GHSA-34rh-wp3j-6cxc

Summary

Panic on malformed XOR-MAPPED-ADDRESS attribute in github.com/pion/stun/v3

Details

In github.com/pion/stun/v3 before 3.1.5, XORMappedAddress.GetFromAs reads the address family header from an XOR-MAPPED-ADDRESS attribute before validating the attribute length. Parsing a malformed STUN message carrying a zero-length XOR-MAPPED-ADDRESS attribute from a tightly sized buffer causes a slice bounds out of range panic, resulting in a denial of service.

Severity

Not rated by the source.

Dates

Published
2026-08-18 16:38 UTC
Modified
2026-09-01 03:55 UTC

Affected packages and fixes

github.com/pion/stun/v3

Go · All systems

Affected

  • introduced 0, fixed 3.1.5 (semver)

Fixed versions

3.1.5

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences