Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-135388

Pion DTLS: DTLS handshake signature scheme confusion allows peer impersonation
Back to all
CVE

CVE-2026-135388

Pion DTLS: DTLS handshake signature scheme confusion allows peer impersonation

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

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.1
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
C
H
U
9.1
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Related Resources

No items found.

References

https://github.com/pion/dtls/security/advisories/GHSA-7c2r-jhm9-43vf, https://nvd.nist.gov/vuln/detail/CVE-2026-135388, https://github.com/pion/dtls/pull/1229, https://github.com/pion/dtls/commit/87aff19290780eb4b2db31d1402faf8f425a8ff1, https://github.com/pion/dtls/commit/cb560535461a483f2930a91a474e72fa6b615b87, https://github.com/pion/dtls, https://github.com/pion/dtls/releases/tag/v3.1.13, https://github.com/pion/dtls/releases/tag/v4.0.0-rc.6

Severity

9.1

CVSS Score
0
10

Basic Information

Base CVSS
9.1
EPSS Probability
0.00346%
EPSS Percentile
0.20592%
Introduced Version
3.0.0,2.0.0,v2.0.0-rc.1,v3.0.0
Fix Available
3.1.13,v3.1.13

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading