Pion DTLS: Repeated client certificate verification allows excessive CPU consumption during DTLS handshakes
- State
- Published
- Severity
- 6.9 Medium
- Published
- Nov 24, 2026
- Updated
- Nov 28, 2026
- Reserved
- Nov 23, 2026
Description
Pion DTLS is a Go implementation of Datagram Transport Layer Security. From 1.2.2 until 3.1.13, the server state machine did not distinguish successful processing of the client certificate flight from completion of the handshake, so later traffic could revisit the same cached Certificate, ClientKeyExchange, and CertificateVerify messages. A malicious client can withhold Finished and send additional handshake traffic. Depending on the configured authentication policy, repeated work can include certificate parsing, handshake signature verification, and certificate-chain verification. The vulnerable endpoint must act as the DTLS server. Pion WebRTC applications are affected when they operate in that role. Repeated or concurrent attempts can consume excessive CPU resources, delay legitimate connections, and reduce service availability. The issue is fixed in version 3.1.13.
| Product | Versions |
|---|---|
| dtls pion | >= 1.2.2, <= 1.5.4 Affected>= 2.0.0, <= 2.2.12 Affected>= 3.0.0, < 3.1.13 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.9 Medium | GitHub_M |
Weaknesses
- CWE-400 Uncontrolled Resource Consumption
References
- https://github.com/pion/dtls/security/advisories/GHSA-qpgj-64qg-5m4r
- https://github.com/pion/dtls/pull/1229
- https://github.com/pion/dtls/commit/979ad79d96dacc69c6c2821808f9b079301067d4
- https://github.com/pion/dtls/commit/a0f0f8a7222e03d934e17abf1772764df825237a
- 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.