Pion DTLS: Repeated client certificate verification allows excessive CPU consumption during DTLS handshakes
CVE-2026-135393GHSA-qpgj-64qg-5m4rPublished 24 Nov 2026, 17:02 UTC
Real-world risk
2.6/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.9
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| dtlsNiche | >= 1.2.2, <= 1.5.4; >= 2.0.0, <= 2.2.12; >= 3.0.0, < 3.1.13 | 3.1.13 |
| github.com/pion/dtlsNiche | >= 1.2.2, <= 1.5.4 | — |
| github.com/pion/dtls/v2Niche | >= 2.0.0, <= 2.2.12 | — |
| github.com/pion/dtls/v3Niche | >= 3.0.0, < 3.1.13 | 3.1.13 |
| github.com/pion/dtls/v4Niche | < 4.0.0-rc.6 | 4.0.0-rc.6 |
What to do
Update to a fixed version: 3.1.13, 4.0.0-rc.6.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | MinorReflected XSS, CSRF with low effect, open redirect, minor leak | From the CVSS vector | 0.30 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.6% chance of exploitation in 30 days (percentile 50), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T1: Nothing known0.850
- 10 × impact 0.3 × prerequisites 1 × threat 0.852.550
- Rounded to one decimal between 0.1 and 102.6
Exploitation and evidence timeline
- 24 Nov 2026 Published
- 2 Dec 2026 Risk 2.6 (cvss fallback)
Weakness
CWE-400
References
- https://github.com/pion/dtls/security/advisories/GHSA-qpgj-64qg-5m4rvendor-advisory
- https://github.com/pion/dtls/pull/1229misc
- https://github.com/pion/dtls/commit/979ad79d96dacc69c6c2821808f9b079301067d4misc
- https://github.com/pion/dtls/commit/a0f0f8a7222e03d934e17abf1772764df825237amisc
- https://github.com/pion/dtls/releases/tag/v3.1.13misc
- https://github.com/pion/dtls/releases/tag/v4.0.0-rc.6misc
- https://nvd.nist.gov/vuln/detail/CVE-2026-135393
- https://github.com/advisories/GHSA-qpgj-64qg-5m4r
- CVE-2026-135393 on CVE.org