Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
Medium 6.9CVE-2026-135391

Pion DTLS: Oversized peer RSA keys allow excessive CPU consumption during DTLS handshakes

Published 24/11/2026 · Updated 25/11/2026 · pion dtls

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.

Affected products and versions

pion dtls>= 3.0.0, < 3.1.13 · >= 2.0.0, <= 2.2.12

CVSS vector, explained

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

Attack vector
Network (from the internet)
Attack complexity
Low
Attack requirements
None
Privileges required
None (no login)
User interaction
Not required
Confidentiality
None
Integrity
None
Availability
Low impact

Weakness type (CWE)

  • CWE-400 Uncontrolled Resource Consumption
  • CWE-770 Allocation of Resources Without Limits or Throttling
  • CWE-1284 Improper Validation of Specified Quantity in Input

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.