# GHSA-QPGJ-64QG-5M4R: Repeated client certificate verification allows excessive CPU consumption during DTLS handshakes

- Database: GitHub
- Severity: medium (stated by ghsa, no CVSS score)
- Published: 2026-10-16
- Modified: 2026-11-24

## Tracked as

- [CVE-2026-135393](https://cve.now/CVE-2026-135393.md): DTLS denial of service in handshake certificate verification

## Affected versions

- github.com/pion/dtls (Go): from 1.2.2, through 1.5.4
- github.com/pion/dtls/v2 (Go): from 2.0.0, through 2.2.12
- github.com/pion/dtls/v3 (Go): from 3.0.0, fixed in 3.1.13

## 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

## References

- https://github.com/pion/dtls/security/advisories/GHSA-qpgj-64qg-5m4r

Page: https://cve.now/GHSA-QPGJ-64QG-5M4R

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
