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

PACKAGE
Advisory Identifier: GHSA-9f3f-wv7r-qc8r
Advisory Summary

CVE-2026-26014 is a MODERATE (CVSS 5.9) pion dtls's usage of random vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Github.com/pion/dtls/v3 libraries in the Go ecosystem. The issue involves pion dtls's usage of random nonce generation with aes gcm ciphers risks leaking the authentication key. Remediation is available by upgrading affected packages to version 3.1.1, 3.0.11.

7 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:golang/github.com/pion/dtls

7 Known Advisory Record(s)

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

Advisory ID CVE / NVD Severity Summary
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
GHSA-cm8f-h6j3-p25c CVE-2022-29190 HIGH Pion DTLS Header reconstruction method can be thrown into an infinite loop
GHSA-cx94-mrg9-rq4j CVE-2022-29189 MODERATE Pion/DTLS contains buffer for inbound DTLS fragments with no limit
GHSA-w45j-f832-hxvh CVE-2022-29222 MODERATE Pion/DLTS Accepts Client Certificates Without CertificateVerify
GHSA-hxp2-xqf3-v83h - MODERATE Panic during unmarshal of Hello Verify Request in github.com/pion/dtls/v2
GHSA-4xgv-j62q-h3rj - MODERATE Panic during unmarshal of Hello Verify Request in github.com/pion/dtls/v2
GHSA-7gfg-6934-mqq2 CVE-2019-20786 CRITICAL Improper Authenication in Pion DTLS

CVE-2026-26014 at a Glance

CVE Identifier CVE-2026-26014
GHSA Identifier GHSA-9f3f-wv7r-qc8r
Severity MODERATE
CVSS v3.1 Base Score 5.9
CWE Classification CWE-200: Exposure of Sensitive Information to an Unauthorized Actor
Affected Product Github.com/pion/dtls/v3
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 5.9

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2026-26014

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.1
Upgrade github.com/pion/dtls/v3 to 3.1.1
github.com/pion/dtls/v2 fixed: Latest secure release
Upgrade github.com/pion/dtls/v2 to Latest secure release
github.com/pion/dtls fixed: Latest secure release
Upgrade github.com/pion/dtls to Latest secure release
github.com/pion/dtls/v3 fixed: 3.0.11
Upgrade github.com/pion/dtls/v3 to 3.0.11
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-26014, 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.1), 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-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. 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 Pion DTLS versions v1.0.0 through v3.0.10 use random nonce generation with AES GCM ciphers, which makes it easier for remote attackers to obtain the authentication key and spoof data by leveraging the reuse of a nonce in a session and a "forbidden attack". ### Patches Upgrade to v3.1.1 or later. This version includes PR #796, which uses the 64-bit sequence number to populate the `nonce_explicit` part of the GCM nonce. This is according to best practice outlined in [RFC 9325 section 7.2.1](https://www.rfc-editor.org/rfc/rfc9325#section-7.2.1). v3.0.11 is a backport patch supporting Go v1.21 ### Workarounds There are no workarounds without upgrading to version v3.0.11, v3.1.1 or later. ### References Commit fixing the bug: https://github.com/pion/dtls/commit/61762dee8217991882c5eb79856b9e7a73ee349f Commit fixing the bug (backport): 90e241c Pull request: #796

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

4 component(s)
Fixed Versions:
3.1.13.0.11
Product / Package Ecosystem Affected Versions Fixed Version
github.com/pion/dtls/v3
Go
≥ 3.1.0
< 3.1.1
All 1 versions
3.1.0
3.1.1
github.com/pion/dtls/v2
Go
≤ 2.2.12
github.com/pion/dtls
Go
≤ 1.5.4
github.com/pion/dtls/v3
Go
< 3.0.11
3.0.11

References

Frequently Asked Questions

What is CVE-2026-26014?
CVE-2026-26014 is a security vulnerability in Github.com/pion/dtls/v3 involving Pion DTLS's usage of random nonce generation with AES GCM ciphers risks leaking the authentication key under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor.
Which Github.com/pion/dtls/v3 versions are affected?
Affected versions include releases prior to 3.1.1, 3.0.11 across affected packages: github.com/pion/dtls/v3, github.com/pion/dtls/v2, github.com/pion/dtls.
What version fixes CVE-2026-26014?
Upgrading to 3.1.1, 3.0.11 (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.1, 3.0.11. Upgrade your dependency to 3.1.1, 3.0.11 or later.
Is github.com/pion/dtls/v2 affected?
Yes, github.com/pion/dtls/v2 is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2026-26014?
CVE-2026-26014 has a CVSS v3.1 base score of 5.9 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2026-26014?
CVE-2026-26014 is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor (The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information.).
How can I check Go dependencies for CVE-2026-26014?
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-9f3f-wv7r-qc8r",
  "modified" : "2026-02-13T14:18:28Z",
  "published" : "2026-02-11T15:13:12Z",
  "aliases" : [ "CVE-2026-26014" ],
  "summary" : "Pion DTLS's usage of random nonce generation with AES GCM ciphers risks leaking the authentication key",
  "details" : "### Impact\nPion DTLS versions v1.0.0 through v3.0.10 use random nonce generation with AES GCM ciphers, which makes it easier for remote attackers to obtain the authentication key and spoof data by leveraging the reuse of a nonce in a session and a \"forbidden attack\". \n\n### Patches\nUpgrade to v3.1.1 or later. This version includes PR #796, which uses the 64-bit sequence number to populate the `nonce_explicit` part of the GCM nonce. This is according to best practice outlined in [RFC 9325 section 7.2.1](https://www.rfc-editor.org/rfc/rfc9325#section-7.2.1). \n\nv3.0.11 is a backport patch supporting Go v1.21\n\n### Workarounds\nThere are no workarounds without upgrading to version v3.0.11, v3.1.1 or later.\n\n### References\nCommit fixing the bug: https://github.com/pion/dtls/commit/61762dee8217991882c5eb79856b9e7a73ee349f\nCommit fixing the bug (backport): 90e241c\nPull request: #796",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/pion/dtls/v3"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.1.0"
      }, {
        "fixed" : "3.1.1"
      } ]
    } ],
    "versions" : [ "3.1.0" ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/pion/dtls/v2"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "2.2.12"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/pion/dtls"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "1.5.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/pion/dtls/v3"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.0.11"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/pion/dtls/security/advisories/GHSA-9f3f-wv7r-qc8r"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-26014"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pion/dtls/pull/796"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pion/dtls/commit/61762dee8217991882c5eb79856b9e7a73ee349f"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pion/dtls/commit/90e241cfec2985715efdd3d005972847462a67d6"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/pion/dtls"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pion/dtls/releases/tag/v3.0.11"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pion/dtls/releases/tag/v3.1.1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-02-11T15:13:12Z",
    "nvd_published_at" : "2026-02-11T21:16:21Z"
  }
}