CVE-2026-135391 Pion DTLS: Oversized peer RSA keys allow excessive CPU consumption during DTLS handshakes

Published Updated

Remote peers can send oversized RSA certificates to exhaust CPU in Pion DTLS handshakes, affecting Go services using it.

CVSS score

Medium

6.9/10

CVSS 4.0 · Scored by GitHub Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
3.1.13
Attack path
Over the internet
No login, no user action

What is CVE-2026-135391?

CVE-2026-135391 is a medium-severity denial of service vulnerability in pion dtls, published on 24 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Pion DTLS is a Go implementation of Datagram Transport Layer Security. From 2.0.0 until 3.1.13, peer certificates were parsed and their RSA public keys were passed to handshake signature and certificate-chain verification without an explicit modulus-size limit. A remote peer can provide a certificate with an unusually large attacker-chosen RSA modulus and an invalid signature; no corresponding private key or valid handshake signature is required to trigger the expensive operation. An RSA verification path must execute. A local ECDSA certificate does not prevent the peer from presenting an RSA certificate, and WebRTC deployments can be affected. Repeated or concurrent malicious handshakes can consume substantial CPU resources, delay legitimate connections, and reduce service availability. The issue is fixed in version 3.1.13.

Weakness: CWE-770, CWE-400, CWE-1284

How severe is CVE-2026-135391?

CVE-2026-135391 scores 6.9 out of 10 under CVSS 4.0, which is medium severity. It was scored by GitHub.

Attack vector
Network
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
Low

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Which versions are affected by CVE-2026-135391?

An affected version is exposed as installed. No special setting or call is needed.

How do I fix CVE-2026-135391?

Upgrade pion dtls to 3.1.13 or later. The advisory says that version fixes it.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-135391 being exploited?

There is no known exploitation of CVE-2026-135391 in the wild and no public exploit code.

Sources

Also known as GHSA-jp25-wc3w-p9xp, UBUNTU-CVE-2026-135391.

Is CVE-2026-135391 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free