Pion DTLS: Unbounded handshake cache allows remote memory exhaustion
CVE-2026-135392GHSA-jm57-r6vj-mwg9Published 24 Nov 2026, 16:58 UTC
Real-world risk
3.4/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
8.7
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from GitHub_M)
Pion DTLS is a Go implementation of Datagram Transport Layer Security. From 2.1.4 until 3.1.13, the handshake cache copied and retained submitted messages without deduplicating entries, limiting the entry count, limiting total payload bytes, or stopping new insertions after handshake completion. A remote peer able to deliver suitable DTLS traffic can grow the cache through incoming handshake messages and repeated caching of outgoing retransmissions for the lifetime of the connection. The fragment reassembly buffer's separate size limit does not prevent this issue because completed messages are retained in the append-only handshake cache. Unbounded cache growth can exhaust application memory and cause a denial of service. The issue is fixed in version 3.1.13.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| dtlsNiche | >= 3.0.0, < 3.1.13; >= 2.1.4, <= 2.2.12 | 3.1.13 |
| github.com/pion/dtls/v2Niche | >= 2.1.4, <= 2.2.12 | — |
| github.com/pion/dtls/v3Niche | >= 3.0.0, < 3.1.13 | 3.1.13 |
What to do
Update to a fixed version: 3.1.13.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Denial of serviceCrash or resource exhaustion only | From the CVSS vector | 0.40 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | ReliableDeterministic: injection, logic bug, path traversal | From the CVSS vector | 1.00 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.9% chance of exploitation in 30 days (percentile 62), as of 2026-12-03.
The arithmetic
- Prerequisites multiplied together1.000
- Threat T1: Nothing known0.850
- 10 × impact 0.4 × prerequisites 1 × threat 0.853.400
- Rounded to one decimal between 0.1 and 103.4
Exploitation and evidence timeline
- 24 Nov 2026 Published
- 2 Dec 2026 Risk 3.4 (cvss fallback)
Weakness
CWE-770
References
- https://github.com/pion/dtls/security/advisories/GHSA-jm57-r6vj-mwg9vendor-advisory
- https://github.com/pion/dtls/pull/1229misc
- https://github.com/pion/dtls/commit/8deed2f2dea7a76c363b5314b3cc533e0a3200acmisc
- https://github.com/pion/dtls/commit/f444d0825ab34fed4b210607fa802dcf1edaf51fmisc
- https://github.com/pion/dtls/releases/tag/v3.1.13misc
- https://github.com/pion/dtls/releases/tag/v4.0.0-rc.6misc
- https://nvd.nist.gov/vuln/detail/CVE-2026-135392
- https://github.com/advisories/GHSA-jm57-r6vj-mwg9
- CVE-2026-135392 on CVE.org