Summary
Pion DTLS: Repeated client certificate verification allows excessive CPU consumption during DTLS handshakes
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.
Crafted input forces the application to consume excessive CPU, memory, or other resources, degrading or denying service. Typical impact: denial of service.
Affected versions
Security releases
Kodem intelligence
Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.
Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.
Already deployed Kodem?
See it in your environmentNew to Kodem? Get a demo →Remediation advice
github.com/pion/dtls/v3 to 3.1.13 or later; github.com/pion/dtls/v4 to 4.0.0-rc.6 or later
Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.
Frequently Asked Questions
- What is CVE-2026-135393? CVE-2026-135393 is a medium-severity uncontrolled resource consumption vulnerability in github.com/pion/dtls (go), affecting versions >= 1.2.2, <= 1.5.4. It is fixed in 3.1.13, 4.0.0-rc.6. Crafted input forces the application to consume excessive CPU, memory, or other resources, degrading or denying service.
- Which packages are affected by CVE-2026-135393?
github.com/pion/dtls(go) (versions >= 1.2.2, <= 1.5.4)github.com/pion/dtls/v2(go) (versions >= 2.0.0, <= 2.2.12)github.com/pion/dtls/v3(go) (versions >= 3.0.0, < 3.1.13)github.com/pion/dtls/v4(go) (versions < 4.0.0-rc.6)
- Is there a fix for CVE-2026-135393? Yes. CVE-2026-135393 is fixed in 3.1.13, 4.0.0-rc.6. Upgrade to this version or later.
- Is CVE-2026-135393 exploitable, and should I be worried? Whether CVE-2026-135393 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
- What actually determines whether CVE-2026-135393 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
- How do I fix CVE-2026-135393?
- Upgrade
github.com/pion/dtls/v3to 3.1.13 or later - Upgrade
github.com/pion/dtls/v4to 4.0.0-rc.6 or later
- Upgrade