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

- **Severity:** MEDIUM 6.9
- **CVSS:** 6.9 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: None; Availability impact: Low; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.58% (percentile 42, 2026-11-28)
- **CWE:** CWE-400, CWE-770, CWE-1284
- **Published:** 2026-11-24T16:55:46.257Z
- **Modified:** 2026-11-25T17:17:44.933Z

## Who should check

- Anyone running pion dtls \>= 3.0.0, \< 3.1.13; \>= 2.0.0, \<= 2.2.12

## 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 and fixed versions

- pion dtls: \>= 3.0.0, \< 3.1.13; \>= 2.0.0, \<= 2.2.12 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-135391. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-135391.md
Affected: pion dtls >= 3.0.0, < 3.1.13; >= 2.0.0, <= 2.2.12
Fixed in: pion dtls 3.1.13

Steps:
1. Search this machine and project for pion dtls: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-135391 being exploited?

There is no confirmed exploitation: CVE-2026-135391 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.58% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-135391?

Medium: CVSS 6.9 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-135391?

pion dtls \>= 3.0.0, \< 3.1.13; \>= 2.0.0, \<= 2.2.12.

### Is there a fix for CVE-2026-135391?

Yes. Fixed in pion dtls 3.1.13. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-135391?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/pion/dtls/security/advisories/GHSA-jp25-wc3w-p9xp>
- patch: <https://github.com/pion/dtls/pull/1229>
- patch: <https://github.com/pion/dtls/commit/0b615da56cf134adba79d75a817e21008cc7c9a5>
- patch: <https://github.com/pion/dtls/commit/fa6e8d38a3a61044117628bde1ac8c1318f34379>
- other: <https://github.com/pion/dtls/releases/tag/v3.1.13>
- other: <https://github.com/pion/dtls/releases/tag/v4.0.0-rc.6>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-135391>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-135391> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-135391>
