CVE-2026-135392
Pion DTLS: Unbounded handshake cache allows remote memory exhaustion
- CVSS
- 8.7
- EPSS
- 0.72% (p50)
- Published
- 2026-11-24
- Age
- 4d old
- Modified
- 2026-11-24
- Product
- pion dtls
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
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.
Sources
References
- https://github.com/pion/dtls/security/advisories/GHSA-jm57-r6vj-mwg9 x_refsource_CONFIRM
- https://github.com/pion/dtls/pull/1229 x_refsource_MISC
- https://github.com/pion/dtls/commit/8deed2f2dea7a76c363b5314b3cc533e0a3200ac x_refsource_MISC
- https://github.com/pion/dtls/commit/f444d0825ab34fed4b210607fa802dcf1edaf51f x_refsource_MISC
- https://github.com/pion/dtls/releases/tag/v3.1.13 x_refsource_MISC
- https://github.com/pion/dtls/releases/tag/v4.0.0-rc.6 x_refsource_MISC