Vulnerabilities in pkg:golang/github.com/pion/dtls
PACKAGECVE-2026-135393 is a MODERATE repeated client certificate verification allows vulnerability (CWE-400: Uncontrolled Resource Consumption) affecting Pion DTLS libraries in the Go ecosystem. The issue involves repeated client certificate verification allows excessive cpu consumption during dtls handshakes. Remediation is available by upgrading affected packages to version 3.1.13, 4.0.0-rc.6.
pkg:golang/github.com/pion/dtls
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-qpgj-64qg-5m4r | CVE-2026-135393 | MODERATE | Pion DTLS: Repeated client certificate verification allows excessive CPU consumption during DTLS handshakes |
| 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-135393 at a Glance
How to Fix CVE-2026-135393
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 to Latest secure release
Upgrade github.com/pion/dtls/v2 to Latest secure release
Upgrade github.com/pion/dtls/v3 to 3.1.13
Upgrade github.com/pion/dtls/v4 to 4.0.0-rc.6
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
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-135393, inspect your project dependencies for Pion DTLS:
inspect dependencies for github.com/pion/dtls
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-400: Uncontrolled Resource Consumption, where the product does not properly control the allocation and maintenance of a limited resource. 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-135393 Affected Pion DTLS Versions
4 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/pion/dtls
|
Go |
≥ 1.2.2
≤ 1.5.4
|
|
|
github.com/pion/dtls/v2
|
Go |
≥ 2.0.0
≤ 2.2.12
|
|
|
github.com/pion/dtls/v3
|
Go |
≥ 3.0.0
< 3.1.13
|
3.1.13
|
|
github.com/pion/dtls/v4
|
Go |
< 4.0.0-rc.6
|
4.0.0-rc.6
|
References
Frequently Asked Questions
What is CVE-2026-135393?
Which Pion DTLS versions are affected?
What version fixes CVE-2026-135393?
Is github.com/pion/dtls affected?
Is github.com/pion/dtls/v2 affected?
What CWE is associated with CVE-2026-135393?
How can I check Go dependencies for CVE-2026-135393?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-qpgj-64qg-5m4r",
"modified" : "2026-12-02T23:35:08Z",
"published" : "2026-12-02T23:35:08Z",
"aliases" : [ "CVE-2026-135393" ],
"summary" : "Pion DTLS: Repeated client certificate verification allows excessive CPU consumption during DTLS handshakes",
"details" : "### Summary\n\nPion DTLS could repeatedly process a client's certificate flight while waiting for the client's Finished message.\nA malicious client could withhold Finished and send additional handshake traffic, causing the server to repeat certificate processing and cryptographic verification for the same handshake. Repeated or concurrent attempts could consume excessive CPU resources and reduce service availability.\n\nDiscovered by Anthropic's OSS Scanner, tracking ID `E9EALMAT`.\n\n### Details\n\nThe server's handshake state machine did not distinguish between successfully processing the client's certificate flight and completing the handshake.\n\nWhile waiting for Finished, additional incoming handshake traffic could cause the server to revisit cached Certificate, ClientKeyExchange, and CertificateVerify messages. This repeated work could include certificate parsing, handshake signature verification, and certificate-chain verification, depending on the configured authentication policy.\n\n### Impact\n\nAn attacker can make the server repeat expensive operations without completing a new handshake for each operation. This can consume CPU resources and delay legitimate connections. pion/webrtc applications are affected when operating as the DTLS server. \n\nFixed by https://github.com/pion/dtls/commit/979ad79d by processing the client certificate flight once per handshake.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/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"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "1.2.2"
}, {
"last_affected" : "1.5.4"
} ]
} ]
}, {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/pion/dtls/v2"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.0.0"
}, {
"last_affected" : "2.2.12"
} ]
} ]
}, {
"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/v4"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.0.0-rc.6"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/pion/dtls/security/advisories/GHSA-qpgj-64qg-5m4r"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-135393"
}, {
"type" : "WEB",
"url" : "https://github.com/pion/dtls/pull/1229"
}, {
"type" : "WEB",
"url" : "https://github.com/pion/dtls/commit/979ad79d96dacc69c6c2821808f9b079301067d4"
}, {
"type" : "WEB",
"url" : "https://github.com/pion/dtls/commit/a0f0f8a7222e03d934e17abf1772764df825237a"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/pion/dtls"
}, {
"type" : "WEB",
"url" : "https://github.com/pion/dtls/releases/tag/v3.1.13"
}, {
"type" : "WEB",
"url" : "https://github.com/pion/dtls/releases/tag/v4.0.0-rc.6"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-400" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-12-02T23:35:08Z",
"nvd_published_at" : "2026-11-24T17:18:24Z"
}
}