Skip to content
DayZeroHub
Critical CVSS 9.1CVE-2026-135388

Pion DTLS: handshake signature scheme confusion allows peer impersonation (CVE-2026-135388)

pion dtls

Summary

Pion DTLS, a Go implementation of DTLS, can accept crafted handshake signatures without the attacker holding the certificate's private key. It is fixed in version 3.1.13; the CVSS 3.1 score is 9.1 (critical).

What happened

From version 2.0.0 until 3.1.13, the implementation selected signature verification based on the certificate public key, but derived the digest from the signature scheme supplied by the peer, without validating that the scheme, key type, and hash requirements were consistent. The affected functions are verifyKeySignature (for ServerKeyExchange) and verifyCertificateVerify (for CertificateVerify). An unauthenticated network attacker who can redirect a DTLS handshake and obtain the genuine peer certificate can submit crafted handshake signatures that are accepted without possession of the certificate's private key. The weakness is classified as CWE-347 (improper verification of cryptographic signature).

Why it matters

According to the source, the attacker could impersonate the peer and compromise the confidentiality and integrity of protected traffic. Checking a WebRTC SDP certificate fingerprint does not prevent the attack, because the genuine certificate is presented. The CVSS 3.1 score is 9.1 (vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N, assigned by CNA GitHub_M) and the severity is critical. The source does not state that the issue is being actively exploited.

Affected products and versions

Pion dtls, versions >= 3.0.0 and < 3.1.13, and versions >= 2.0.0 and <= 2.2.12.

ProductVersionsFixed in
pion dtls>= 3.0.0, < 3.1.13—
pion dtls>= 2.0.0, <= 2.2.12—

Action recommended by the source

The vendor states the issue is fixed in version 3.1.13 and recommends upgrading to that version. The source does not state a fixed version for the 2.x series or any alternative mitigations. The vendor's references include the GitHub security advisory, pull request 1229, and the v3.1.13 and v4.0.0-rc.6 releases.

Information taken from the source or the vendor. Verify it at the original link before acting.

Sources and references

Weaknesses (CWE): CWE-347

Relevant change history

  1. Advisory correction

    The preliminary version was replaced by the full write-up.

  2. Published

    Preliminary advisory published.

Summary written with AI assistance from the source data. See the sources and references for complete information. View sources