CVE-2026-135392 — dtls
Fix: pion/dtls@8deed2fCVE-2026-135392 is a CWE-770 vulnerability in github.com/pion/dtls/v3. A fix is available for github.com/pion/dtls/v3 — see the affected versions and patch details below.
Pion DTLS: Unbounded handshake cache allows remote memory exhaustion
Exploitation Status
No confirmed exploitation observed yet
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2026-135392.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
github.com/pion/dtls/v3🐹github.com/pion/dtls/v2Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
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
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/pion/dtls/v3 | ≥ 3.0.0&&< 3.1.13 | 3.1.13go get github.com/pion/dtls/v3@v3.1.13 |
| 🐹Go | github.com/pion/dtls/v2 | ≥ 2.1.4 | No fix |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/pion/dtls/v3, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/pion/dtls/v3 to 3.1.13 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2026-135392 is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
This vulnerability is rated as Important severity for Red Hat products because an unauthenticated remote attacker can exhaust system memory and trigger a denial of service on applications exposing DTLS services, without requiring prior privileges or user interaction. Because Pion DTLS retains handshake traffic without…
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.Source: Red Hat security advisory for CVE-2026-135392 (CC BY 4.0)
Frequently Asked Questions
Is CVE-2026-135392 in your dependencies?
Find it across Go, including transitive dependencies.