Pion DTLS: Oversized peer RSA keys allow excessive CPU consumption during DTLS handshakes
- State
- Published
- Severity
- 6.9 Medium
- Published
- Nov 24, 2026
- Updated
- Nov 25, 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, peer certificates were parsed and their RSA public keys were passed to handshake signature and certificate-chain verification without an explicit modulus-size limit. A remote peer can provide a certificate with an unusually large attacker-chosen RSA modulus and an invalid signature; no corresponding private key or valid handshake signature is required to trigger the expensive operation. An RSA verification path must execute. A local ECDSA certificate does not prevent the peer from presenting an RSA certificate, and WebRTC deployments can be affected. Repeated or concurrent malicious handshakes can consume substantial CPU resources, delay legitimate connections, and reduce service availability. 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 |
|---|---|---|---|
| 4.0 | 6.9 Medium | GitHub_M |
Weaknesses
References
- https://github.com/pion/dtls/security/advisories/GHSA-jp25-wc3w-p9xp
- https://github.com/pion/dtls/pull/1229
- https://github.com/pion/dtls/commit/0b615da56cf134adba79d75a817e21008cc7c9a5
- https://github.com/pion/dtls/commit/fa6e8d38a3a61044117628bde1ac8c1318f34379
- 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.