Medium
Pion STUN vulnerable to remote denial of service via panic while parsing a malformed XOR-MAPPED-ADDRESS attribute
Type: advisorySources: OSV
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-54909
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 14:05 UTC · Revision 1
Source evidence
Pion STUN vulnerable to remote denial of service via panic while parsing a malformed XOR-MAPPED-ADDRESS attribute
core-osv · Original sourcePublished 31 Jul 2026, 22:03 UTC
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.
osv:CVE-2026-54909
Complete source record
{
"id": "ce8aa38bd4b97bcf4db8605658bbe527ac2e125e35d3ab59722f2557bdc7e2bc",
"url": "https://osv.dev/vulnerability/CVE-2026-54909",
"method": "structured",
"payload": {
"kind": "advisory",
"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.",
"evidence": "osv:CVE-2026-54909",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-54909",
"aliases": [
"CVE-2026-54909",
"GHSA-34rh-wp3j-6cxc",
"GO-2026-6163"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/pion/stun",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "fa9f074a33a8059c76c960b1fbee39f308002423"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "3.1.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "fa9f074a33a8059c76c960b1fbee39f308002423"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "fa9f074a33a8059c76c960b1fbee39f308002423"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v3.1.3"
},
{
"range": [
{
"introduced": "0"
},
{
"fixed": "3.1.3"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"v3.1.2",
"v3.1.1",
"v3.1.0",
"v3.0.2",
"v3.0.1",
"v2.0.1",
"v0.6.1",
"v3.0.0",
"v2.0.0",
"v0.6.0",
"v0.5.2",
"v0.5.1",
"v0.5.0",
"v0.4.0",
"v0.3.5",
"v0.3.4",
"v0.3.3",
"v0.3.2",
"v0.3.1",
"v0.3.0",
"v0.2.2",
"v0.2.1",
"v0.2.0",
"v0.1.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54909.json"
}
}
],
"modified": "2026-10-28T02:30:35.859642189Z",
"provider": "osv",
"references": [
"https://github.com/pion/stun/releases/tag/v3.1.3",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54909.json",
"https://github.com/pion/stun/security/advisories/GHSA-34rh-wp3j-6cxc",
"https://nvd.nist.gov/vuln/detail/CVE-2026-54909",
"https://github.com/pion/stun/commit/fa9f074a33a8059c76c960b1fbee39f308002423",
"https://github.com/pion/stun/pull/278"
],
"provider_metadata": {
"cwe_ids": [
"CWE-20"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54909.json"
}
},
"related_cves": [
{
"value": "CVE-2026-54909",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 503438,
"published_at": "2026-07-31T22:03:53.514+00:00"
}