Vulnerability GHSA-jm57-r6vj-mwg9

High Risk
HIGH RISK
CVSS Score: 8.0
Score Range: 7.0–8.9
High severity vulnerabilities (CVSS 7.0–8.9). Serious vulnerabilities that should be prioritized soon after critical fixes.
15 hours ago
December 02, 2026 at 09:41 PM UTC
Pion DTLS: Unbounded handshake cache allows remote memory exhaustion
>=2.1.4 <=2.2.12
>=2.1.4 <=2.2.12

Summary

Pion DTLS: Unbounded handshake cache allows remote memory exhaustion

Details

Summary

Pion DTLS retained handshake messages in an append-only cache without a limit on entry count or total memory consumption. The cache continued accepting entries after handshake completion.

Discovered by Anthropic's OSS Scanner, tracking ID AMMUN4CQ.

Details

The handshake cache copied and retained each submitted message without deduplicating entries or enforcing a memory budget. Cached messages remained allocated for the lifetime of the connection.

Memory growth could occur through incoming handshake messages and repeated caching of outgoing handshake retransmissions. Completing the handshake did not stop further cache insertions. The fragment reassembly buffer's size limit did not prevent this vulnerability: completed messages were moved into a separate cache whose aggregate size was unrestricted.

Impact

An attacker able to deliver suitable DTLS traffic to an affected connection could exhaust application memory and cause a denial of service.

Fixed by https://github.com/pion/dtls/commit/f444d0825ab34fed4b210607fa802dcf1edaf51f

Timeline

Published
15 hours ago
December 02, 2026 at 09:41 PM UTC
Last Modified
15 hours ago
December 02, 2026 at 09:45 PM UTC