LowGO-2026-6165CVE-2026-54908GHSA-wg4g-wm44-ch5j

Panic while parsing crafted ECDHE_PSK ServerKeyExchange in github.com/pion/dtls/v3

Published 18 Aug 2026 · Updated 18 Aug 2026

Is your project on an affected github.com/pion/dtls/v3?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<3.1.4
Fixed in
3.1.4
Update to the fixed version for your release line, for example:go get github.com/pion/dtls/v3@v3.1.4

Details

In github.com/pion/dtls/v3 before 3.1.4, MessageServerKeyExchange.Unmarshal does not verify that data remains after parsing the PSK identity hint when handling ECDHE_PSK key exchange messages. A remote peer sending a crafted ServerKeyExchange message where the PSK hint consumes all remaining data triggers an index out of range runtime panic, causing a denial of service.

Is GO-2026-6165 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/pion/dtls/v3, and gives you the command that fixes it.

More advisories for github.com/pion/dtls/v3

  • LowCVE-2026-26014Usage of random nonce generation with AES GCM ciphers risks leaking the authentication key in github.com/pion/dtls · 19 Feb 2026
  • MediumCVE-2026-26014Pion DTLS's usage of random nonce generation with AES GCM ciphers risks leaking the authentication key · 11 Feb 2026
github.com/pion/dtls/v3 security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.