All vulnerabilities

Go

CVE-2026-135392

Pion DTLS: Unbounded handshake cache allows remote memory exhaustion

Severity
High
Published
2 Dec 2026
Last changed
2 Dec 2026
Added to UpHeron
2 Dec 2026
Fixed in
3.1.13
Exploit chance
0.7% in the next 30 daysHigher than 55% of CVEs. EPSS by FIRST, 2 Dec 2026
Weakness
Allocation without limits (CWE-770)
Also known as
GHSA-jm57-r6vj-mwg9
Sources
OSV.dev and GitHub

Description

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.

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.

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

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
github.com/pion/dtls/v2Go · osv:Go:github.com/pion/dtls/v2
  • From 2.1.4 up to 2.2.12
github.com/pion/dtls/v3Go · osv:Go:github.com/pion/dtls/v3
  • From 3.0.0 before 3.1.13

Status in Debian

Debian builds fixes into its own packages, so a release is often fixed under an older version number than the one upstream names.

  • 6 vulnerable
PackageDebian releaseStatus
golang-github-pion-dtls-v3sidunstableVulnerableNo fix yet.
14forkytestingVulnerableNo fix yet.
golang-github-pion-dtls.v2sidunstableVulnerableNo fix yet.
14forkytestingVulnerableNo fix yet.
13trixiestableVulnerableNo security update; the fix may come in a point release. Debian: Minor issue
12bookwormoldstableVulnerableNo fix yet.

From Debian's security tracker for CVE-2026-135392 , read in the last 12 hours.

About github.com/pion/dtls/v2

About github.com/pion/dtls/v3

References