CVE-2026-135388 — Github.com/pion/dtls/v3 — CWE-347
### Summary Pion DTLS did not consistently validate that a handshake signature scheme matched the certificate's public key type and required hash algorithm. An attacker could exploit this mismatch to bypass proof of possession of a certificate's private key and impersonate that certificate's owner. Discovered by Anthropic's OSS Scanner, tracking ID `0Q4PYECH`. ### Details The vulnerable implementation selected the signature verification primitive from the certificate's public key type, while deriving the digest from the peer-controlled handshake signature scheme. A signature constructed solely from an ECDSA P-256 certificate's public key was accepted by both vulnerable verification functions: - verifyKeySignature, used for ServerKeyExchange. - verifyCertificateVerify, used for CertificateVerify. The same forged signature was accepted for two different handshake messages, confirming that verification was independent of the transcript. ### Impact An attacker who can redirect the victim's DTLS handshake, and also have access to the peer's public certificate, may impersonate that peer without its private key. For WebRTC, checking the SDP certificate fingerprint does not prevent this attack because the attacker presents the genuine peer certificate. Fixed by https://github.com/pion/dtls/commit/cb560535461a483f2930a91a474e72fa6b615b87
### Summary Pion DTLS did not consistently validate that a handshake signature scheme matched the certificate's public key type and required hash algorithm. An attacker could exploit this mismatch to bypass proof of possession of a certificate's private key and impersonate that certificate's owner. Discovered by Anthropic's OSS Scanner, tracking ID `0Q4PYECH`. ### Details The vulnerable implementation selected the signature verification primitive from the certificate's public key type, while deriving the digest from the peer-controlled handshake signature scheme. A signature constructed solely from an ECDSA P-256 certificate's public key was accepted by both vulnerable verification functions: - verifyKeySignature, used for ServerKeyExchange. - verifyCertificateVerify, used for CertificateVerify. The same forged signature was accepted for two different handshake messages, confirming that verification was independent of the transcript. ### Impact An attacker who can redirect the victim's DTLS handshake, and also have access to the peer's public certificate, may impersonate that peer without its private key. For WebRTC, checking the SDP certificate fingerprint does not prevent this attack because the attacker presents the genuine peer certificate. Fixed by https://github.com/pion/dtls/commit/cb560535461a483f2930a91a474e72fa6b615b87
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-135388
CVSS 9.1/10 · CRITICAL · 24.11.2026
CWE: CWE-347
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🎯 WHAT IS THIS VULNERABILITY?
Summary: ### Summary
Pion DTLS did not consistently validate that a handshake signature scheme matched the certificate's public key type and required hash algorithm. An attacker could exploit this mismatch to bypass proof of possession of a certificate's private key and impersonate that certificate's owner. Discovered by Anthropic's OSS Scanner, tracking ID 0Q4PYECH.
Affected: github.com/pion/dtls/v3, github.com/pion/dtls/v2
⚡ ATTACK VECTOR
Network / Remote (AV:N) · no authentication required (PR:N) · no user interaction (UI:N) · low attack complexity (AC:L).
🌍 REAL WORLD IMPACT
All confidential data readable/stealable; data can be modified or deleted.
🛡️ REMEDIATION
→ Apply vendor security update for github.com/pion/dtls/v3.
→ Pre-patch: put service behind VPN or apply IP allowlist.
→ Add WAF rule, create IDS alert for anomalous traffic.
⚠️ URGENCY
🚨 NOW (24-48h) — Remote, no-auth, low complexity.
────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]