CVE-2026-135388: Pion DTLS: DTLS handshake signature scheme confusion allows peer impersonation
Pion DTLS is a Go implementation of Datagram Transport Layer Security. From 2.0.0 until 3.1.13, the implementation selected signature verification based on the certificate public key while deriving the digest from the peer-controlled signature scheme without validating that the scheme, key type, and hash requirements were consistent. The affected verification functions are verifyKeySignature for ServerKeyExchange and verifyCertificateVerify for CertificateVerify. An unauthenticated network attacker who can redirect a DTLS handshake and obtain the genuine peer certificate can submit crafted handshake signatures that are accepted without possession of the certificate private key. This can let the attacker impersonate the peer and compromise the confidentiality and integrity of protected traffic; checking a WebRTC SDP certificate fingerprint does not prevent the attack because the genuine certificate is presented. The issue is fixed in version 3.1.13.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Pion DTLSto a version that resolves this vulnerability.Fixed in 3.1.13
Event History
Frequently Asked Questions
Which deployments are affected?
Deployments using Pion DTLS versions from 2.0.0 through 3.1.12 are affected. Version 3.1.13 fixes the issue.
What must an attacker be able to do to exploit this?
The attacker must be able to redirect a DTLS handshake and obtain the genuine peer certificate. No authentication or user interaction is required.
Does WebRTC SDP certificate fingerprint validation prevent exploitation?
No. The attacker presents the genuine certificate, so checking the SDP certificate fingerprint does not stop the impersonation.
What is the impact if exploitation succeeds?
An attacker can impersonate the DTLS peer without possessing its certificate private key, compromising the confidentiality and integrity of protected traffic.