CVE-2026-135393 in DTLS
Summary
by MITRE • 11/24/2026
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.
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Analysis
by VulDB Data Team • 11/29/2026
The vulnerability identified within the Pion DTLS library represents a significant flaw in the server-side state machine logic governing Datagram Transport Layer Security handshakes. Specifically, between versions 1.2.2 and 3.1.13, the implementation failed to properly distinguish between the successful processing of client certificate messages and the definitive completion of the handshake process. This architectural oversight allows a malicious actor operating as a DTLS client to manipulate the connection state by withholding the final Finished message while simultaneously sending additional handshake traffic. By exploiting this ambiguity in state transitions, an attacker can force the server to repeatedly re-process cached Certificate, ClientKeyExchange, and CertificateVerify messages rather than advancing to or maintaining a stable established session state.
From a technical perspective, this flaw enables a resource exhaustion scenario that aligns with CWE-400, which describes uncontrolled resource consumption. When a malicious client engages in repeated handshake attempts without completing the authentication sequence, the server is compelled to perform computationally expensive operations for each iteration. These operations include parsing certificates, verifying handshake signatures, and validating certificate chains against trusted roots. Because the state machine does not correctly lock or finalize these resources upon receipt of the initial flight, it remains vulnerable to being triggered multiple times by a single connection attempt that deliberately stalls at an intermediate stage. This behavior effectively transforms what should be a lightweight authentication check into a sustained computational burden on the server infrastructure.
The operational impact of this vulnerability is primarily centered around service availability and performance degradation for applications relying on Pion WebRTC, particularly those functioning as DTLS servers. The excessive CPU consumption resulting from repeated cryptographic verifications can lead to significant delays in establishing legitimate connections or cause existing sessions to time out due to resource contention. In high-traffic environments or systems with limited computational headroom, this attack vector can be leveraged to achieve a Denial of Service condition without the need for volumetric network flooding. The attacker requires only minimal bandwidth but substantial processing power on the target side, making it an efficient and difficult-to-mitigate threat at the application layer compared to traditional network-level DDoS attacks.
This vulnerability maps directly to MITRE ATT&CK technique T1496, Resource Hijacking, where adversaries leverage compromised or vulnerable systems for their own computational needs, although in this case, the resource is consumed by malicious intent rather than cryptomining specifically. It also relates to CWE-787, Out-of-bounds Write, if one considers the improper state management as a form of memory safety issue leading to unintended execution paths, though Resource Exhaustion remains the primary classification. The flaw underscores the critical importance of strict state machine enforcement in security protocols like DTLS and TLS, where precise sequencing is required to prevent such manipulation attacks.
To mitigate this risk, organizations utilizing Pion WebRTC must ensure that their deployment environments are updated to version 3.1.13 or later, which contains the necessary fixes for the server state machine logic. For systems unable to upgrade immediately, implementing rate limiting on incoming DTLS handshake requests can help reduce the impact of such attacks by throttling connections from single sources before they consume excessive resources. Additionally, configuring timeouts that aggressively terminate incomplete handshakes may provide a temporary layer of defense against this specific exploitation pattern until the software patch is applied across all affected services.