CVE-2026-135392: Pion DTLS Unbounded Handshake Cache Allows Remote Vulnerability
HIGHCVE-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
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.
Upgrade github.com/pion/dtls/v3 to 3.1.13
Upgrade github.com/pion/dtls/v2 to Latest secure release
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
CVE-2026-135392 Affected Pion DTLS Versions
2 component(s)| 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?
Which Pion DTLS versions are affected?
What version fixes CVE-2026-135392?
Is github.com/pion/dtls/v3 affected?
Is github.com/pion/dtls/v2 affected?
What CWE is associated with CVE-2026-135392?
How can I check Go dependencies for CVE-2026-135392?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}