Go
CVE-2026-135391
Pion DTLS: Oversized peer RSA keys allow excessive CPU consumption during DTLS handshakes
- Severity
- Medium
- Published
- 2 Dec 2026
- Last changed
- 2 Dec 2026
- Added to UpHeron
- 2 Dec 2026
- Fixed in
- 3.1.13, 4.0.0-rc.6
- Exploit chance
- 0.6% in the next 30 daysHigher than 49% of CVEs. EPSS by FIRST, 2 Dec 2026
- Also known as
- GHSA-jp25-wc3w-p9xp
- Sources
- OSV.dev and GitHub
Description
Pion DTLS did not limit the size of RSA public keys in peer certificates before performing signature verification. A remote peer could provide a certificate containing an unusually large RSA modulus and trigger expensive cryptographic operations, causing excessive CPU consumption.
Discovered by Anthropic's OSS Scanner, tracking ID 3X1BUF5Y.
The vulnerable implementation parsed peer certificates and passed their RSA public keys directly to handshake signature verification without checking the modulus size.
An attacker does not need to generate a corresponding RSA private key or provide a valid handshake signature. A certificate containing a large, attacker-chosen public modulus and an invalid signature is sufficient to trigger expensive verification before rejection. The affected paths include verification of ServerKeyExchange and CertificateVerify. Peer certificate chains also lacked an explicit RSA key-size limit.
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 |
|
github.com/pion/dtls/v4Go · osv:Go:github.com/pion/dtls/v4 |
|
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-135391 , read in the last 12 hours.
About github.com/pion/dtls/v2
Vulnerabilities in github.com/pion/dtls/v2
- In our list
- 6
- Published in the last 12 months
- 6
- Critical, last 12 months
- 2
- High, last 12 months
- 2
- Known exploited
- 0
- CVE-2026-135390Pion DTLS: Client authentication bypass when client and server connections share a session storeHigh 7.4 3 Dec 2026
- CVE-2026-135389Pion DTLS: Client authentication bypass through premature DTLS 1.2 session cachingCritical 9.1 3 Dec 2026
- CVE-2026-135393Pion DTLS: Repeated client certificate verification allows excessive CPU consumption during DTLS handshakesMedium 2 Dec 2026
- CVE-2026-135392Pion DTLS: Unbounded handshake cache allows remote memory exhaustionHigh 2 Dec 2026
- CVE-2026-135388Pion DTLS: DTLS handshake signature scheme confusion allows peer impersonationCritical 9.1 30 Nov 2026
About github.com/pion/dtls/v3
Vulnerabilities in github.com/pion/dtls/v3
- In our list
- 6
- Published in the last 12 months
- 6
- Critical, last 12 months
- 2
- High, last 12 months
- 2
- Known exploited
- 0
- CVE-2026-135390Pion DTLS: Client authentication bypass when client and server connections share a session storeHigh 7.4 3 Dec 2026
- CVE-2026-135389Pion DTLS: Client authentication bypass through premature DTLS 1.2 session cachingCritical 9.1 3 Dec 2026
- CVE-2026-135393Pion DTLS: Repeated client certificate verification allows excessive CPU consumption during DTLS handshakesMedium 2 Dec 2026
- CVE-2026-135392Pion DTLS: Unbounded handshake cache allows remote memory exhaustionHigh 2 Dec 2026
- CVE-2026-135388Pion DTLS: DTLS handshake signature scheme confusion allows peer impersonationCritical 9.1 30 Nov 2026
About github.com/pion/dtls/v4
Vulnerabilities in github.com/pion/dtls/v4
- In our list
- 4
- Published in the last 12 months
- 4
- Critical, last 12 months
- 1
- High, last 12 months
- 1
- Known exploited
- 0
- CVE-2026-135390Pion DTLS: Client authentication bypass when client and server connections share a session storeHigh 7.4 3 Dec 2026
- CVE-2026-135389Pion DTLS: Client authentication bypass through premature DTLS 1.2 session cachingCritical 9.1 3 Dec 2026
- CVE-2026-135393Pion DTLS: Repeated client certificate verification allows excessive CPU consumption during DTLS handshakesMedium 2 Dec 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-135391
- GitHub Advisory Database https://github.com/advisories/GHSA-jp25-wc3w-p9xp