Pion DTLS
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 3.0.0, < 3.1.13
- >= 2.0.0, <= 2.2.12
Fixed in 3.1.13
Mitigation
Upgrade dtls to 3.1.13 or later.
References
- Vendor advisory github.com/pion/dtls/security/advisories/GHSA-…
- Patch github.com/pion/dtls/pull/1229
- Patch github.com/pion/dtls/commit/87aff19290780eb4b2…
3 more
- Patch github.com/pion/dtls/commit/cb560535461a483f29…
- Release notes github.com/pion/dtls/releases/tag/v3.1.13
- Release notes github.com/pion/dtls/releases/tag/v4.0.0-rc.6
Timeline
Days relative to CVE publicationFirst public PoC 8 days after publication; not in CISA KEV. First PoC: googlesky/CVE-2026-135388 (created 2 Dec 2026, found by us: 2 Dec 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| googlesky/CVE-2026-135388 | 2 Dec 2026 +8 d | 2 Dec 2026 | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.