CVE-2026-54908: Github.com/pion/dtls/v3 Denial of Service Vulnerability
MODERATECVE-2026-54908 is a MODERATE denial of service vulnerability (CWE-125: Out-of-bounds Read) affecting Github.com/pion/dtls/v3 libraries in the Go ecosystem. The issue involves pion dtls vulnerable to denial of service via panic while parsing a crafted ecdhe_psk serverkeyexchange message. Remediation is available by upgrading affected packages to version 3.1.4.
CVE-2026-54908 at a Glance
How to Fix CVE-2026-54908
To remediate this vulnerability, upgrade all affected Github.com/pion/dtls/v3 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/pion/dtls/v3 to 3.1.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/pion/dtls/v3
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-54908, inspect your project dependencies for Github.com/pion/dtls/v3:
inspect dependencies for github.com/pion/dtls/v3
Analyze the terminal output to locate any version of Github.com/pion/dtls/v3 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.1.4), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-125: Out-of-bounds Read, where the product reads data past the end, or before the beginning, of the intended buffer. In Github.com/pion/dtls/v3, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-54908 Affected Github.com/pion/dtls/v3 Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/pion/dtls/v3
|
Go |
< 3.1.4
|
3.1.4
|
References
Frequently Asked Questions
What is CVE-2026-54908?
Which Github.com/pion/dtls/v3 versions are affected?
What version fixes CVE-2026-54908?
Is github.com/pion/dtls/v3 affected?
What CWE is associated with CVE-2026-54908?
How can I check Go dependencies for CVE-2026-54908?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-wg4g-wm44-ch5j",
"modified" : "2026-07-31T22:06:33Z",
"published" : "2026-07-31T22:06:33Z",
"aliases" : [ "CVE-2026-54908" ],
"summary" : "Pion DTLS vulnerable to denial of service via panic while parsing a crafted ECDHE_PSK ServerKeyExchange message",
"details" : "### Impact\nRemote denial of service via panic while parsing a crafted ECDHE_PSK ServerKeyExchange message.\n\n### Patches\nUpgrade to v3.1.4 or later. This version includes this patch https://github.com/pion/dtls/pull/839 which fixes the issue.\n\n### Workarounds\nNo work around; please upgrade to v3.1.4 or a newer version.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/pion/dtls/v3"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.1.4"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 3.1.2"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/pion/dtls/security/advisories/GHSA-wg4g-wm44-ch5j"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-54908"
}, {
"type" : "WEB",
"url" : "https://github.com/pion/dtls/pull/839"
}, {
"type" : "WEB",
"url" : "https://github.com/pion/dtls/commit/49458d604a4f3ebce1bf9587a0f3e5f3f6b4a55e"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/pion/dtls"
}, {
"type" : "WEB",
"url" : "https://github.com/pion/dtls/releases/tag/v3.1.3"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-125" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-07-31T22:06:33Z",
"nvd_published_at" : "2026-07-01T20:17:10Z"
}
}