Vulnerabilities in pkg:golang/github.com/pion/dtls/v3

PACKAGE
Advisory Identifier: GHSA-wg4g-wm44-ch5j
Advisory Summary

CVE-2026-54908 is a MODERATE denial of service vulnerability (CWE-125: Out-of-bounds Read) affecting Github.com/pion/dtls/v3 libraries in the Go ecosystem. The issue involves pion dtls vulnerable to denial of service via panic while parsing a crafted ecdhe_psk serverkeyexchange message. Remediation is available by upgrading affected packages to version 3.1.4.

2 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/pion/dtls/v3

2 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:golang/github.com/pion/dtls/v3. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-wg4g-wm44-ch5j CVE-2026-54908 MODERATE Pion DTLS vulnerable to denial of service via panic while parsing a crafted ECDHE_PSK ServerKeyExchange message
GHSA-9f3f-wv7r-qc8r CVE-2026-26014 MODERATE Pion DTLS's usage of random nonce generation with AES GCM ciphers risks leaking the authentication key

CVE-2026-54908 at a Glance

CVE Identifier CVE-2026-54908
GHSA Identifier GHSA-wg4g-wm44-ch5j
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-125: Out-of-bounds Read
Affected Product Github.com/pion/dtls/v3
Package Ecosystem Go
Published Date
Last Updated

How to Fix CVE-2026-54908

To remediate this vulnerability, upgrade all affected Github.com/pion/dtls/v3 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/pion/dtls/v3 fixed: 3.1.4
Upgrade github.com/pion/dtls/v3 to 3.1.4
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/pion/dtls/v3

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-54908, inspect your project dependencies for Github.com/pion/dtls/v3:

inspect dependencies for github.com/pion/dtls/v3

Analyze the terminal output to locate any version of Github.com/pion/dtls/v3 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.1.4), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-125: Out-of-bounds Read, where the product reads data past the end, or before the beginning, of the intended buffer. In Github.com/pion/dtls/v3, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact Remote denial of service via panic while parsing a crafted ECDHE_PSK ServerKeyExchange message. ### Patches Upgrade to v3.1.4 or later. This version includes this patch https://github.com/pion/dtls/pull/839 which fixes the issue. ### Workarounds No work around; please upgrade to v3.1.4 or a newer version.

CVE-2026-54908 Affected Github.com/pion/dtls/v3 Versions

1 component(s)
Fixed Versions:
3.1.4
Product / Package Ecosystem Affected Versions Fixed Version
github.com/pion/dtls/v3
Go
< 3.1.4
3.1.4

References

Frequently Asked Questions

What is CVE-2026-54908?
CVE-2026-54908 is a security vulnerability in Github.com/pion/dtls/v3 involving Pion DTLS vulnerable to denial of service via panic while parsing a crafted ECDHE_PSK ServerKeyExchange message under CWE-125: Out-of-bounds Read.
Which Github.com/pion/dtls/v3 versions are affected?
Affected versions include releases prior to 3.1.4 across affected packages: github.com/pion/dtls/v3.
What version fixes CVE-2026-54908?
Upgrading to 3.1.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/pion/dtls/v3 affected?
Yes, github.com/pion/dtls/v3 is affected in releases prior to 3.1.4. Upgrade your dependency to 3.1.4 or later.
What CWE is associated with CVE-2026-54908?
CVE-2026-54908 is classified under CWE-125: Out-of-bounds Read (The product reads data past the end, or before the beginning, of the intended buffer.).
How can I check Go dependencies for CVE-2026-54908?
Run the dependency tree command: 'inspect dependencies for github.com/pion/dtls/v3'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-wg4g-wm44-ch5j",
  "modified" : "2026-07-31T22:06:33Z",
  "published" : "2026-07-31T22:06:33Z",
  "aliases" : [ "CVE-2026-54908" ],
  "summary" : "Pion DTLS vulnerable to denial of service via panic while parsing a crafted ECDHE_PSK ServerKeyExchange message",
  "details" : "### Impact\nRemote denial of service via panic while parsing a crafted ECDHE_PSK ServerKeyExchange message.\n\n### Patches\nUpgrade to v3.1.4 or later. This version includes this patch https://github.com/pion/dtls/pull/839 which fixes the issue.\n\n### Workarounds\nNo work around; please upgrade to v3.1.4 or a newer version.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/pion/dtls/v3"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.1.4"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 3.1.2"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/pion/dtls/security/advisories/GHSA-wg4g-wm44-ch5j"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-54908"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pion/dtls/pull/839"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pion/dtls/commit/49458d604a4f3ebce1bf9587a0f3e5f3f6b4a55e"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/pion/dtls"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pion/dtls/releases/tag/v3.1.3"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-125" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-07-31T22:06:33Z",
    "nvd_published_at" : "2026-07-01T20:17:10Z"
  }
}