Skip to content
Heist/ feed
Back to feed
Medium

golang-github-pion-stun, golang-github-pion-stun-v3 — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-54909

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
golang-github-pion-stun, golang-github-pion-stun-v3
Affected versions
0.4.0-1, 0.6.1-1, 0.6.1-2, 3.0.0-1, 3.0.2-1, 3.0.2-2
Fixed versions
Not specified
CVEs
CVE-2026-54909
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:46 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-54909

core-osv · Original source

Published 31 Jul 2026, 23:17 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:UBUNTU-CVE-2026-54909

golang-github-pion-stun

Fixed versions: Not specified

golang-github-pion-stun

Fixed versions: Not specified

golang-github-pion-stun-v3

Fixed versions: Not specified

golang-github-pion-stun

Fixed versions: Not specified

golang-github-pion-stun-v3

Fixed versions: Not specified

Complete source record
{
  "id": "deb12d465e90a05c862a0b9718275cad4332179e9451927e1af8ceeb1e70714f",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-54909",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-54909",
    "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:UBUNTU-CVE-2026-54909",
    "products": [
      {
        "name": {
          "value": "golang-github-pion-stun",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.4.0-1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-pion-stun",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.6.1-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "0.6.1-2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-pion-stun-v3",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.0.2-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "3.0.2-2",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-pion-stun",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "0.6.1-1",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-pion-stun-v3",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.0.0-1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "3.0.2-1",
            "evidence": "/affected/4/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-54909",
      "aliases": [
        "UBUNTU-CVE-2026-54909"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-pion-stun",
            "purl": "pkg:deb/ubuntu/golang-github-pion-stun?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "0.4.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54909.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-pion-stun-dev",
                "binary_version": "0.4.0-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-pion-stun",
            "purl": "pkg:deb/ubuntu/golang-github-pion-stun?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "0.6.1-1",
            "0.6.1-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54909.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-pion-stun-dev",
                "binary_version": "0.6.1-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-pion-stun-v3",
            "purl": "pkg:deb/ubuntu/golang-github-pion-stun-v3?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "3.0.2-1",
            "3.0.2-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54909.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-pion-stun-v3-dev",
                "binary_version": "3.0.2-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-pion-stun",
            "purl": "pkg:deb/ubuntu/golang-github-pion-stun?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "0.6.1-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54909.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-pion-stun-dev",
                "binary_version": "0.6.1-1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-pion-stun-v3",
            "purl": "pkg:deb/ubuntu/golang-github-pion-stun-v3?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "3.0.0-1",
            "3.0.2-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54909.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-pion-stun-v3-dev",
                "binary_version": "3.0.2-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:59:07.859417707Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-54909"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-54909",
        "https://www.cve.org/CVERecord?id=CVE-2026-54909",
        "https://github.com/pion/stun/security/advisories/GHSA-34rh-wp3j-6cxc",
        "https://github.com/pion/stun/pull/278",
        "https://github.com/pion/stun/commit/fa9f074a33a8059c76c960b1fbee39f308002423",
        "https://github.com/pion/stun/releases/tag/v3.1.3"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-54909",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 359329,
  "published_at": "2026-07-31T23:17:00+00:00"
}