{"id":"GO-2026-6163","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.","aliases":["CVE-2026-54909","GHSA-34rh-wp3j-6cxc"],"modified":"2026-08-18T17:15:15.322005046Z","published":"2026-08-18T16:38:10Z","database_specific":{"url":"https://pkg.go.dev/vuln/GO-2026-6163","review_status":"REVIEWED"},"references":[{"type":"ADVISORY","url":"https://github.com/pion/stun/security/advisories/GHSA-34rh-wp3j-6cxc"},{"type":"FIX","url":"https://github.com/pion/stun/pull/278"},{"type":"FIX","url":"https://github.com/pion/stun/commit/cfe8f95bcae610be653f084e6e81743ed1bf4176"},{"type":"WEB","url":"https://github.com/pion/stun/releases/tag/v3.1.5"}],"affected":[{"package":{"name":"github.com/pion/stun/v3","ecosystem":"Go","purl":"pkg:golang/github.com/pion/stun/v3"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"3.1.5"}]}],"ecosystem_specific":{"imports":[{"path":"github.com/pion/stun/v3","symbols":["XORMappedAddress.GetFrom","XORMappedAddress.GetFromAs"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2026-6163.json"}}],"schema_version":"1.9.0","credits":[{"name":"Karolina Gorna"}]}