Summary
Pion DTLS: Unbounded handshake cache allows remote memory exhaustion
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
The application allocates resources such as memory, threads, or file descriptors based on untrusted input without enforcing a cap. Typical impact: resource exhaustion leading to denial of service.
Affected versions
Security releases
Kodem intelligence
Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.
Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.
Already deployed Kodem?
See it in your environmentNew to Kodem? Get a demo →Remediation advice
Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.
Frequently Asked Questions
- What is CVE-2026-135392? CVE-2026-135392 is a high-severity allocation of resources without limits or throttling vulnerability in github.com/pion/dtls/v3 (go), affecting versions >= 3.0.0, < 3.1.13. It is fixed in 3.1.13. The application allocates resources such as memory, threads, or file descriptors based on untrusted input without enforcing a cap.
- Which packages are affected by CVE-2026-135392?
github.com/pion/dtls/v3(go) (versions >= 3.0.0, < 3.1.13)github.com/pion/dtls/v2(go) (versions >= 2.1.4, <= 2.2.12)
- Is there a fix for CVE-2026-135392? Yes. CVE-2026-135392 is fixed in 3.1.13. Upgrade to this version or later.
- Is CVE-2026-135392 exploitable, and should I be worried? Whether CVE-2026-135392 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
- What actually determines whether CVE-2026-135392 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
- How do I fix CVE-2026-135392? Upgrade
github.com/pion/dtls/v3to 3.1.13 or later.