Vulnerability GHSA-7c2r-jhm9-43vf

Critical
CRITICAL RISK
CVSS Score: 9.1
Score Range: 9.0–10.0
Critical severity vulnerabilities (CVSS 9.0–10.0). These represent the highest impact issues.
10 hours ago
November 30, 2026 at 09:51 PM UTC
Pion DTLS: DTLS handshake signature scheme confusion allows peer impersonation
>=2.0.0 <=2.2.12
>=2.0.0 <=2.2.12

Summary

Pion DTLS: DTLS handshake signature scheme confusion allows peer impersonation

Details

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

Timeline

Published
10 hours ago
November 30, 2026 at 09:51 PM UTC
Last Modified
10 hours ago
November 30, 2026 at 10:00 PM UTC