Pion DTLS: Unbounded handshake cache allows remote memory exhaustion
- State
- Published
- Severity
- 8.7 High
- Published
- Nov 24, 2026
- Updated
- Nov 24, 2026
- Reserved
- Nov 23, 2026
Description
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.
| Product | Versions |
|---|---|
| dtls pion | >= 3.0.0, < 3.1.13 Affected>= 2.1.4, <= 2.2.12 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 8.7 High | GitHub_M |
Weaknesses
- CWE-770 Allocation of Resources Without Limits or Throttling
References
- https://github.com/pion/dtls/security/advisories/GHSA-jm57-r6vj-mwg9
- https://github.com/pion/dtls/pull/1229
- https://github.com/pion/dtls/commit/8deed2f2dea7a76c363b5314b3cc533e0a3200ac
- https://github.com/pion/dtls/commit/f444d0825ab34fed4b210607fa802dcf1edaf51f
- https://github.com/pion/dtls/releases/tag/v3.1.13
- https://github.com/pion/dtls/releases/tag/v4.0.0-rc.6
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.