CVE-2026-135392 in DTLSinfo

Summary

by MITRE • 11/24/2026

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.

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Analysis

by VulDB Data Team • 11/24/2026

The vulnerability identified within Pion DTLS, specifically affecting versions from 2.1.4 through 3.1.13, represents a critical resource management flaw rooted in the implementation of the handshake cache mechanism. As an open-source Go library implementing Datagram Transport Layer Security, Pion is widely used for secure real-time communications such as WebRTC and IoT data transmission. The core technical deficiency lies in how the library handles incoming and outgoing DTLS handshake messages during connection establishment. Instead of maintaining a deduplicated set of processed handshakes or enforcing strict limits on cache size relative to active session requirements, the implementation utilized an append-only structure that retained submitted messages indefinitely for the lifetime of the connection. This design choice failed to implement essential safeguards such as entry count limitations, total payload byte restrictions, or mechanisms to halt new insertions once the handshake phase was successfully completed. Consequently, the application memory footprint associated with this cache grew unbounded based on traffic patterns rather than remaining static after authentication and key exchange were finalized.

From an operational perspective, this architectural oversight creates a severe denial of service vector that can be exploited by remote attackers without requiring prior authentication or valid credentials. A malicious peer capable of delivering suitable DTLS traffic to the vulnerable endpoint can systematically exhaust application memory resources. The attack methodology involves flooding the target with handshake messages and exploiting the library's behavior regarding outgoing retransmissions. Because the cache does not deduplicate entries, repeated transmissions of the same message result in multiple redundant copies being stored in memory. Furthermore, while Pion DTLS implements a separate size limit for fragment reassembly buffers to prevent issues related to large packet fragmentation attacks, this protection is ineffective against this specific vulnerability. The completed handshake messages are retained in the append-only cache independently of the reassembly buffer limits, allowing an attacker to bypass these defenses by focusing on handshake message accumulation rather than payload fragmentation abuse.

The impact of this unbounded memory growth is significant and potentially catastrophic for services relying on Pion DTLS. As the application continues to process malicious traffic, it consumes increasing amounts of RAM until system resources are depleted. This leads to a complete denial of service where legitimate users cannot establish connections or maintain existing sessions due to resource exhaustion. In cloud-native environments or containerized deployments common in modern infrastructure, such memory leaks can trigger automatic restarts by orchestrators like Kubernetes, leading to service instability and potential cascading failures across dependent systems. The vulnerability aligns with CWE-400, which describes uncontrolled resource consumption, as the application fails to limit the amount of resources it consumes during normal operation under malicious conditions. Additionally, this scenario reflects aspects of ATT&CK technique T1498, Network Denial of Service, specifically where an attacker leverages protocol-level inefficiencies or implementation flaws to degrade service availability rather than relying on volumetric bandwidth saturation alone.

Mitigation for this vulnerability requires immediate upgrading to version 3.1.13 or later, which addresses the root cause by implementing proper deduplication and lifecycle management for handshake cache entries. Organizations should verify their dependency trees to ensure that no legacy versions of Pion DTLS remain in production environments. For systems where an upgrade is not immediately feasible, network-level controls such as rate limiting on incoming UDP traffic destined for DTLS ports can help mitigate the impact by restricting the volume of handshake messages a single peer can submit within a given timeframe. However, this serves only as a temporary compensating control rather than a definitive fix, as sophisticated attackers may adapt their transmission rates to evade simple thresholds. Long-term resilience requires rigorous code review practices that prioritize resource limits and state cleanup procedures in cryptographic libraries, ensuring that ephemeral data structures do not persist beyond the necessity of their operational context.

Responsible

GitHub M

Reservation

11/23/2026

Disclosure

11/24/2026

Moderation

accepted

CPE

ready

EPSS

0.00722

KEV

no

Activities

very low

Sources

Do you know our Splunk app?

Download it now for free!