CVE-2026-135393 — dtls
Fix: pion/dtls@979ad79CVE-2026-135393 is a Uncontrolled Resource Consumption vulnerability in github.com/pion/dtls. A fix is available for github.com/pion/dtls — see the affected versions and patch details below.
Pion DTLS: Repeated client certificate verification allows excessive CPU consumption during DTLS handshakes
Exploitation Status
No confirmed exploitation observed yet
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2026-135393.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
github.com/pion/dtls🐹github.com/pion/dtls/v2🐹github.com/pion/dtls/v3🐹github.com/pion/dtls/v4Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
Summary
Pion DTLS could repeatedly process a client's certificate flight while waiting for the client's Finished message. A malicious client could withhold Finished and send additional handshake traffic, causing the server to repeat certificate processing and cryptographic verification for the same handshake. Repeated or concurrent attempts could consume excessive CPU resources and reduce service availability.
Discovered by Anthropic's OSS Scanner, tracking ID E9EALMAT.
Details
The server's handshake state machine did not distinguish between successfully processing the client's certificate flight and completing the handshake.
While waiting for Finished, additional incoming handshake traffic could cause the server to revisit cached Certificate, ClientKeyExchange, and CertificateVerify messages. This repeated work could include certificate parsing, handshake signature verification, and certificate-chain verification, depending on the configured authentication policy.
Impact
An attacker can make the server repeat expensive operations without completing a new handshake for each operation. This can consume CPU resources and delay legitimate connections. pion/webrtc applications are affected when operating as the DTLS server.
Fixed by https://github.com/pion/dtls/commit/979ad79d by processing the client certificate flight once per handshake.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/pion/dtls | ≥ 1.2.2 | No fix |
| 🐹Go | github.com/pion/dtls/v2 | ≥ 2.0.0 | No fix |
| 🐹Go | github.com/pion/dtls/v3 | ≥ 3.0.0&&< 3.1.13 | 3.1.13go get github.com/pion/dtls/v3@v3.1.13 |
| 🐹Go | github.com/pion/dtls/v4 | all versions | 4.0.0-rc.6go get github.com/pion/dtls/v4@v4.0.0-rc.6 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/pion/dtls, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
A fix is available for CVE-2026-135393; check the affected-versions list above or the advisory for the patched release of github.com/pion/dtls, then make sure no transitive dependency still pins the vulnerable range.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Frequently Asked Questions
Is CVE-2026-135393 in your dependencies?
Find it across Go, including transitive dependencies.