{"id":"CVE-2026-54909","aliases":["CVE-2026-54909","GHSA-34rh-wp3j-6cxc","GO-2026-6163"],"related":["CGA-q3c3-3xh9-gw4x"],"kind":"vulnerability","state":"published","title":"Pion STUN vulnerable to remote denial of service via panic while parsing a malformed XOR-MAPPED-ADDRESS attribute","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### 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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"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.","format":"markdown","source":"go"},{"lang":"es","text":"pion/stun es una implementación de STUN en Go. Antes de la versión 3.1.3, XORMappedAddress.GetFromAs puede entrar en pánico al analizar un atributo XOR-MAPPED-ADDRESS corto malformado en las rutas de análisis de STUN o ICE Binding-response, lo que permite la denegación de servicio remota. Este problema se ha solucionado en la versión 3.1.3.","source":"nvd"}],"published":"2026-07-31T22:03:42.000Z","modified":"2026-10-23T23:10:00.157Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-20"],"affected":[{"ranges":[{"version":"< 3.1.3","status":"affected"}],"vendor":"pion","product":"stun","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.1.5"}],"ecosystem":"Go","package":"github.com/pion/stun/v3","purl":"pkg:golang/github.com/pion/stun/v3","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"2.0.0"}],"ecosystem":"Go","package":"github.com/pion/stun/v2","purl":"pkg:golang/github.com/pion/stun/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"1.23.1"}],"ecosystem":"Go","package":"github.com/pion/stun","purl":"pkg:golang/github.com/pion/stun","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"3.1.5"}],"ecosystem":"Go","package":"github.com/pion/stun/v3","purl":"pkg:golang/github.com/pion/stun/v3","source":"go"}],"references":[{"url":"https://github.com/pion/stun/security/advisories/GHSA-34rh-wp3j-6cxc","tags":["advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/pion/stun/pull/278","tags":["fix","web","x-refsource-misc"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/pion/stun/commit/fa9f074a33a8059c76c960b1fbee39f308002423","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/pion/stun/releases/tag/v3.1.3","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/pion/stun","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pion/stun/commit/cfe8f95bcae610be653f084e6e81743ed1bf4176","tags":["fix"],"sources":["go"]},{"url":"https://github.com/pion/stun/releases/tag/v3.1.5","tags":["web"],"sources":["go"]}],"credits":["Karolina Gorna"],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-08-03T17:28:49.547Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-54909","url":"https://www.cve.org/CVERecord?id=CVE-2026-54909","licence":"CVE Terms of Use","modified":"2026-08-03T17:30:22.558Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-34rh-wp3j-6cxc","url":"https://github.com/advisories/GHSA-34rh-wp3j-6cxc","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:51.344Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-6163","url":"https://pkg.go.dev/vuln/GO-2026-6163","licence":"CC-BY-4.0","modified":"2026-09-01T03:55:58.536Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-54909","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54909","licence":"Public domain","modified":"2026-10-23T23:10:00.157Z"}],"updatedAt":"2026-11-25T22:59:30.747Z","epss":{"score":0.00371,"percentile":0.33074,"date":"2026-12-01T12:00:22.000Z"}}