Pion DTLS
Pion DTLS: Unbounded handshake cache allows remote memory exhaustion
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 3.0.0, < 3.1.13
- >= 2.1.4, <= 2.2.12
Fixed in 3.1.13
Mitigation
Upgrade dtls to 3.1.13 or later.
References
- Vendor advisory github.com/pion/dtls/security/advisories/GHSA-…
- Patch github.com/pion/dtls/pull/1229
- Patch github.com/pion/dtls/commit/8deed2f2dea7a76c36…
3 more
- Patch github.com/pion/dtls/commit/f444d0825ab34fed4b…
- Release notes github.com/pion/dtls/releases/tag/v3.1.13
- Release notes github.com/pion/dtls/releases/tag/v4.0.0-rc.6
Timeline
Days relative to CVE publicationFirst public PoC 8.3 days after publication; not in CISA KEV. First PoC: googlesky/CVE-2026-135392 (created 2 Dec 2026, found by us: 2 Dec 2026).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| googlesky/CVE-2026-135392 | 2 Dec 2026 +8.3 d | 2 Dec 2026 | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.