{"id":"GHSA-34rh-wp3j-6cxc","summary":"Pion STUN vulnerable to remote denial of service via panic while parsing a malformed XOR-MAPPED-ADDRESS attribute","details":"### Impact\nRemote denial of service via panic while parsing a malformed XOR-MAPPED-ADDRESS attribute\n\n### Patches\nUpgrade to v3.1.5 or later. This version includes this patch https://github.com/pion/stun/pull/278 which fixes the issue.\n\n### Workarounds\nNo work around; please upgrade to v3.1.5 or a newer version.","aliases":["CVE-2026-54909","GO-2026-6163"],"modified":"2026-09-10T03:50:51.344851444Z","published":"2026-07-31T22:03:42Z","database_specific":{"nvd_published_at":null,"cwe_ids":["CWE-20"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2026-07-31T22:03:42Z"},"references":[{"type":"WEB","url":"https://github.com/pion/stun/security/advisories/GHSA-34rh-wp3j-6cxc"},{"type":"WEB","url":"https://github.com/pion/stun/pull/278"},{"type":"WEB","url":"https://github.com/pion/stun/commit/fa9f074a33a8059c76c960b1fbee39f308002423"},{"type":"PACKAGE","url":"https://github.com/pion/stun"},{"type":"WEB","url":"https://github.com/pion/stun/releases/tag/v3.1.3"}],"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"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-34rh-wp3j-6cxc/GHSA-34rh-wp3j-6cxc.json","last_known_affected_version_range":"\u003c= 3.1.4"}},{"package":{"name":"github.com/pion/stun/v2","ecosystem":"Go","purl":"pkg:golang/github.com/pion/stun/v2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"2.0.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-34rh-wp3j-6cxc/GHSA-34rh-wp3j-6cxc.json"}},{"package":{"name":"github.com/pion/stun","ecosystem":"Go","purl":"pkg:golang/github.com/pion/stun"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.23.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-34rh-wp3j-6cxc/GHSA-34rh-wp3j-6cxc.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"}]}