Pion DTLS: DTLS handshake signature scheme confusion allows peer impersonation
- State
- Published
- Severity
- 9.1 Critical
- Published
- Nov 24, 2026
- Updated
- Nov 24, 2026
- Reserved
- Nov 23, 2026
Description
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.
| Product | Versions |
|---|---|
| dtls pion | >= 3.0.0, < 3.1.13 Affected>= 2.0.0, <= 2.2.12 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 9.1 Critical | GitHub_M |
Weaknesses
- CWE-347 Improper Verification of Cryptographic Signature
References
- https://github.com/pion/dtls/security/advisories/GHSA-7c2r-jhm9-43vf
- https://github.com/pion/dtls/pull/1229
- https://github.com/pion/dtls/commit/87aff19290780eb4b2db31d1402faf8f425a8ff1
- https://github.com/pion/dtls/commit/cb560535461a483f2930a91a474e72fa6b615b87
- https://github.com/pion/dtls/releases/tag/v3.1.13
- https://github.com/pion/dtls/releases/tag/v4.0.0-rc.6
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.