NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐹
🐹 Go
Not in CISA KEV
CRITICAL severity

Pion DTLS: DTLS handshake signature scheme confusion allows peer impersonationGHSA-7c2r-jhm9-43vf

CRITICALFix: pion/dtls#1229

GHSA-7c2r-jhm9-43vf is a critical-severity (CVSS 9.1) CWE-347 vulnerability in github.com/pion/dtls/v3. A fix is available for github.com/pion/dtls/v3 — see the affected versions and patch details below.

Also known asCVE-2026-135388
Published
Updated
Affected
2 pkgs
Patched
1 / 2
Exploits
None indexed
Exploitation data as of Nov 30, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
  • A successful exploit gives an attacker total control of the affected component, not partial access.
  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for GHSA-7c2r-jhm9-43vf.

EPSS Exploitation Probability

via FIRST.org ↗
0.3%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs21th percentile — riskier than 21% of all scored CVEsHighest risk

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

2 pkgs affected
🐹github.com/pion/dtls/v3🐹github.com/pion/dtls/v2

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.

Description

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

Affected Packages

2 total 1 fixed
EcosystemPackageVulnerable rangeFix
🐹Gogithub.com/pion/dtls/v3≥ 3.0.0&&< 3.1.133.1.13go get github.com/pion/dtls/v3@v3.1.13
🐹Gogithub.com/pion/dtls/v2≥ 2.0.0No fix

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/pion/dtls/v3, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update github.com/pion/dtls/v3 to 3.1.13 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-7c2r-jhm9-43vf is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatImportant

This vulnerability is rated Important rather than Critical because successful exploitation requires an on-path position to redirect the DTLS handshake and possession of the peer's public certificate (attack complexity high). Red Hat ships Pion DTLS as a bundled Go dependency in Network Observability (ebpf-agent and…

Workaround published by Red Hat
Upgrade github.com/pion/dtls to 3.1.13 or later (or a fixed 2.x release). Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Source: Red Hat security advisory for GHSA-7c2r-jhm9-43vf (CC BY 4.0)

Frequently Asked Questions

### 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 s
O3 Security · Impact-Aware SCA

Is GHSA-7c2r-jhm9-43vf in your dependencies?

Find it across Go, including transitive dependencies.

Pion DTLS: DTLS handshake signature scheme confusion…