{"id":"GHSA-qpgj-64qg-5m4r","summary":"Pion DTLS: Repeated client certificate verification allows excessive CPU consumption during DTLS handshakes","details":"### Summary\n\nPion DTLS could repeatedly process a client's certificate flight while waiting for the client's Finished message.\nA 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.\n\nDiscovered by Anthropic's OSS Scanner, tracking ID `E9EALMAT`.\n\n### Details\n\nThe server's handshake state machine did not distinguish between successfully processing the client's certificate flight and completing the handshake.\n\nWhile 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.\n\n### Impact\n\nAn 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. \n\nFixed by https://github.com/pion/dtls/commit/979ad79d by processing the client certificate flight once per handshake.","aliases":["CVE-2026-135393"],"modified":"2026-12-02T23:45:05.730613125Z","published":"2026-12-02T23:35:08Z","database_specific":{"nvd_published_at":"2026-11-24T17:18:24Z","cwe_ids":["CWE-400"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2026-12-02T23:35:08Z"},"references":[{"type":"WEB","url":"https://github.com/pion/dtls/security/advisories/GHSA-qpgj-64qg-5m4r"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-135393"},{"type":"WEB","url":"https://github.com/pion/dtls/pull/1229"},{"type":"WEB","url":"https://github.com/pion/dtls/commit/979ad79d96dacc69c6c2821808f9b079301067d4"},{"type":"WEB","url":"https://github.com/pion/dtls/commit/a0f0f8a7222e03d934e17abf1772764df825237a"},{"type":"PACKAGE","url":"https://github.com/pion/dtls"},{"type":"WEB","url":"https://github.com/pion/dtls/releases/tag/v3.1.13"},{"type":"WEB","url":"https://github.com/pion/dtls/releases/tag/v4.0.0-rc.6"}],"affected":[{"package":{"name":"github.com/pion/dtls","ecosystem":"Go","purl":"pkg:golang/github.com/pion/dtls"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.2.2"},{"last_affected":"1.5.4"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-qpgj-64qg-5m4r/GHSA-qpgj-64qg-5m4r.json"}},{"package":{"name":"github.com/pion/dtls/v2","ecosystem":"Go","purl":"pkg:golang/github.com/pion/dtls/v2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"2.0.0"},{"last_affected":"2.2.12"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-qpgj-64qg-5m4r/GHSA-qpgj-64qg-5m4r.json"}},{"package":{"name":"github.com/pion/dtls/v3","ecosystem":"Go","purl":"pkg:golang/github.com/pion/dtls/v3"},"ranges":[{"type":"SEMVER","events":[{"introduced":"3.0.0"},{"fixed":"3.1.13"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-qpgj-64qg-5m4r/GHSA-qpgj-64qg-5m4r.json"}},{"package":{"name":"github.com/pion/dtls/v4","ecosystem":"Go","purl":"pkg:golang/github.com/pion/dtls/v4"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.0.0-rc.6"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-qpgj-64qg-5m4r/GHSA-qpgj-64qg-5m4r.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}]}