GO-2026-6165

Source
https://pkg.go.dev/vuln/GO-2026-6165
Import Source
https://vuln.go.dev/ID/GO-2026-6165.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2026-6165
Aliases
Published
2026-08-18T16:38:10Z
Modified
2026-08-18T17:15:27.922773065Z
Summary
Panic while parsing crafted ECDHE_PSK ServerKeyExchange in github.com/pion/dtls/v3
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.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2026-6165"
}
References
Credits
    • Karolina Gorna

Affected packages

Go / github.com/pion/dtls/v3

Package

Name
github.com/pion/dtls/v3
View open source insights on deps.dev
Purl
pkg:golang/github.com/pion/dtls/v3

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.1.4

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/pion/dtls/v3/pkg/protocol/handshake",
            "symbols": [
                "Handshake.Unmarshal",
                "MessageServerKeyExchange.Unmarshal"
            ]
        }
    ]
}

Database specific

source
"https://vuln.go.dev/ID/GO-2026-6165.json"