CVE-2026-135388: Pion DTLS DTLS Handshake Signature Scheme Confusion Vulnerability
CRITICALCVE-2026-135388 is a CRITICAL (CVSS 9.1) dtls handshake signature scheme confusion vulnerability (CWE-347: Improper Verification of Cryptographic Signature) affecting Pion DTLS libraries in the Go ecosystem. The issue involves dtls handshake signature scheme confusion allows peer impersonation. Remediation is available by upgrading affected packages to version 3.1.13.
CVE-2026-135388 at a Glance
Security Impact
CVSS: 9.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2026-135388
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-135388, 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-347: Improper Verification of Cryptographic Signature, where the product does not verify, or incorrectly verifies, the cryptographic signature for data. 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-135388 Affected Pion DTLS Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/pion/dtls/v3
|
Go |
< 3.1.13
≥ 3.0.0
|
3.1.13
|
|
github.com/pion/dtls/v2
|
Go |
≥ 2.0.0
≤ 2.2.12
|
|
References
Frequently Asked Questions
What is CVE-2026-135388?
Which Pion DTLS versions are affected?
What version fixes CVE-2026-135388?
Is github.com/pion/dtls/v3 affected?
Is github.com/pion/dtls/v2 affected?
What is the CVSS score of CVE-2026-135388?
What CWE is associated with CVE-2026-135388?
How can I check Go dependencies for CVE-2026-135388?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7c2r-jhm9-43vf",
"modified" : "2026-11-30T21:51:12Z",
"published" : "2026-11-30T21:51:12Z",
"aliases" : [ "CVE-2026-135388" ],
"summary" : "Pion DTLS: DTLS handshake signature scheme confusion allows peer impersonation",
"details" : "### Summary\n\nPion DTLS did not consistently validate that a handshake signature scheme matched the certificate's public key type and required hash algorithm. An attacker could exploit this mismatch to bypass proof of possession of a certificate's private key and impersonate that certificate's owner.\n\nDiscovered by Anthropic's OSS Scanner, tracking ID `0Q4PYECH`.\n\n### Details\n\nThe vulnerable implementation selected the signature verification primitive from the certificate's public key type, while deriving the digest from the peer-controlled handshake signature scheme.\n\nA signature constructed solely from an ECDSA P-256 certificate's public key was accepted by both vulnerable verification functions:\n- verifyKeySignature, used for ServerKeyExchange.\n- verifyCertificateVerify, used for CertificateVerify.\n\nThe same forged signature was accepted for two different handshake messages, confirming that verification was independent of the transcript.\n\n### Impact\n\nAn attacker who can redirect the victim's DTLS handshake, and also have access to the peer's public certificate, may impersonate that peer without its private key. For WebRTC, checking the SDP certificate fingerprint does not prevent this attack because the attacker presents the genuine peer certificate.\n\n\nFixed by https://github.com/pion/dtls/commit/cb560535461a483f2930a91a474e72fa6b615b87",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A: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.0.0"
}, {
"last_affected" : "2.2.12"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/pion/dtls/security/advisories/GHSA-7c2r-jhm9-43vf"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-135388"
}, {
"type" : "WEB",
"url" : "https://github.com/pion/dtls/pull/1229"
}, {
"type" : "WEB",
"url" : "https://github.com/pion/dtls/commit/87aff19290780eb4b2db31d1402faf8f425a8ff1"
}, {
"type" : "WEB",
"url" : "https://github.com/pion/dtls/commit/cb560535461a483f2930a91a474e72fa6b615b87"
}, {
"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-347" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-11-30T21:51:12Z",
"nvd_published_at" : "2026-11-24T17:18:23Z"
}
}