CVE-2026-135392: Pion DTLS Unbounded Handshake Cache Allows Remote Vulnerability

HIGH
Advisory Identifier: GHSA-jm57-r6vj-mwg9
CWE-770
Published
Advisory Summary

CVE-2026-135392 is a HIGH unbounded handshake cache allows remote vulnerability (CWE-770: Allocation of Resources Without Limits or Throttling) affecting Pion DTLS libraries in the Go ecosystem. The issue involves unbounded handshake cache allows remote memory exhaustion. Remediation is available by upgrading affected packages to version 3.1.13.

CVE-2026-135392 at a Glance

CVE Identifier CVE-2026-135392
GHSA Identifier GHSA-jm57-r6vj-mwg9
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-770: Allocation of Resources Without Limits or Throttling
Affected Product Pion DTLS
Package Ecosystem Go
Published Date
Last Updated

How to Fix CVE-2026-135392

To remediate this vulnerability, upgrade all affected Pion DTLS 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.13
Upgrade github.com/pion/dtls/v3 to 3.1.13
github.com/pion/dtls/v2 fixed: Latest secure release
Upgrade github.com/pion/dtls/v2 to Latest secure release
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-135392, inspect your project dependencies for Pion DTLS:

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

Analyze the terminal output to locate any version of Pion DTLS in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.1.13), 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-770: Allocation of Resources Without Limits or Throttling, where the product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated. In Pion DTLS, 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

### Summary Pion DTLS retained handshake messages in an append-only cache without a limit on entry count or total memory consumption. The cache continued accepting entries after handshake completion. Discovered by Anthropic's OSS Scanner, tracking ID `AMMUN4CQ`. ### Details The handshake cache copied and retained each submitted message without deduplicating entries or enforcing a memory budget. Cached messages remained allocated for the lifetime of the connection. Memory growth could occur through incoming handshake messages and repeated caching of outgoing handshake retransmissions. Completing the handshake did not stop further cache insertions. The fragment reassembly buffer's size limit did not prevent this vulnerability: completed messages were moved into a separate cache whose aggregate size was unrestricted. ### Impact An attacker able to deliver suitable DTLS traffic to an affected connection could exhaust application memory and cause a denial of service. Fixed by https://github.com/pion/dtls/commit/f444d0825ab34fed4b210607fa802dcf1edaf51f

CVE-2026-135392 Affected Pion DTLS Versions

2 component(s)
Fixed Versions:
3.1.13
Product / Package Ecosystem Affected Versions Fixed Version
github.com/pion/dtls/v3
Go
≥ 3.0.0
< 3.1.13
3.1.13
github.com/pion/dtls/v2
Go
≥ 2.1.4
≤ 2.2.12

References

Frequently Asked Questions

What is CVE-2026-135392?
CVE-2026-135392 is a security vulnerability in Pion DTLS involving Unbounded handshake cache allows remote memory exhaustion under CWE-770: Allocation of Resources Without Limits or Throttling.
Which Pion DTLS versions are affected?
Affected versions include releases prior to 3.1.13 across affected packages: github.com/pion/dtls/v3, github.com/pion/dtls/v2.
What version fixes CVE-2026-135392?
Upgrading to 3.1.13 (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.13. Upgrade your dependency to 3.1.13 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 CWE is associated with CVE-2026-135392?
CVE-2026-135392 is classified under CWE-770: Allocation of Resources Without Limits or Throttling (The product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.).
How can I check Go dependencies for CVE-2026-135392?
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-jm57-r6vj-mwg9",
  "modified" : "2026-12-02T21:41:08Z",
  "published" : "2026-12-02T21:41:08Z",
  "aliases" : [ "CVE-2026-135392" ],
  "summary" : "Pion DTLS: Unbounded handshake cache allows remote memory exhaustion",
  "details" : "### Summary\n\nPion DTLS retained handshake messages in an append-only cache without a limit on entry count or total memory consumption. The cache continued accepting entries after handshake completion.\n\nDiscovered by Anthropic's OSS Scanner, tracking ID `AMMUN4CQ`.\n\n### Details\n\nThe handshake cache copied and retained each submitted message without deduplicating entries or enforcing a memory budget. Cached messages remained allocated for the lifetime of the connection.\n\nMemory growth could occur through incoming handshake messages and repeated caching of outgoing handshake retransmissions. Completing the handshake did not stop further cache insertions.\nThe fragment reassembly buffer's size limit did not prevent this vulnerability: completed messages were moved into a separate cache whose aggregate size was unrestricted.\n\n### Impact\n\nAn attacker able to deliver suitable DTLS traffic to an affected connection could exhaust application memory and cause a denial of service. \n\nFixed by https://github.com/pion/dtls/commit/f444d0825ab34fed4b210607fa802dcf1edaf51f",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/pion/dtls/v3"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.1.13"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/pion/dtls/v2"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.1.4"
      }, {
        "last_affected" : "2.2.12"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/pion/dtls/security/advisories/GHSA-jm57-r6vj-mwg9"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-135392"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pion/dtls/pull/1229"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pion/dtls/commit/f444d0825ab34fed4b210607fa802dcf1edaf51f"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/pion/dtls"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pion/dtls/releases/tag/v3.1.13"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-770" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-12-02T21:41:08Z",
    "nvd_published_at" : "2026-11-24T17:18:24Z"
  }
}