All vulnerabilities

Go

CVE-2026-135388

Pion DTLS: DTLS handshake signature scheme confusion allows peer impersonation

Severity
Critical 9.1
Published
30 Nov 2026
Last changed
30 Nov 2026
Added to UpHeron
30 Nov 2026
Fixed in
3.1.13
Weakness
Improper verification of a cryptographic signature (CWE-347)
Attack
Over the network · No login needed · No user action needed
Attacker can
Read data · Change data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Also known as
GHSA-7c2r-jhm9-43vf
Sources
OSV.dev and GitHub

Description

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.

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.

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
github.com/pion/dtls/v2Go · osv:Go:github.com/pion/dtls/v2
  • From 2.0.0 up to 2.2.12
github.com/pion/dtls/v3Go · osv:Go:github.com/pion/dtls/v3
  • From 3.0.0 before 3.1.13

Status in Debian

Debian builds fixes into its own packages, so a release is often fixed under an older version number than the one upstream names.

  • 6 vulnerable
PackageDebian releaseStatus
golang-github-pion-dtls-v3sidunstableVulnerableNo fix yet.
14forkytestingVulnerableNo fix yet.
golang-github-pion-dtls.v2sidunstableVulnerableNo fix yet.
14forkytestingVulnerableNo fix yet.
13trixiestableVulnerableNo security update; the fix may come in a point release. Debian: Minor issue
12bookwormoldstableVulnerableNo fix yet.

From Debian's security tracker for CVE-2026-135388 , read in the last 12 hours.

About github.com/pion/dtls/v2

This is the only vulnerability in github.com/pion/dtls/v2 in our list.

About github.com/pion/dtls/v3

This is the only vulnerability in github.com/pion/dtls/v3 in our list.

References