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
- 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.
Affected software
| Software | Affected versions |
|---|---|
github.com/pion/dtls/v2Go · osv:Go:github.com/pion/dtls/v2 |
|
github.com/pion/dtls/v3Go · osv:Go:github.com/pion/dtls/v3 |
|
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
| Package | Debian release | Status |
|---|---|---|
| golang-github-pion-dtls-v3 | sidunstable | VulnerableNo fix yet. |
| 14forkytesting | VulnerableNo fix yet. | |
| golang-github-pion-dtls.v2 | sidunstable | VulnerableNo fix yet. |
| 14forkytesting | VulnerableNo fix yet. | |
| 13trixiestable | VulnerableNo security update; the fix may come in a point release. Debian: Minor issue | |
| 12bookwormoldstable | VulnerableNo 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
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-135388
- GitHub Advisory Database https://github.com/advisories/GHSA-7c2r-jhm9-43vf