GHSA-jm57-r6vj-mwg9

Suggest an improvement
Source
https://github.com/advisories/GHSA-jm57-r6vj-mwg9
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-jm57-r6vj-mwg9/GHSA-jm57-r6vj-mwg9.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-jm57-r6vj-mwg9
Aliases
Published
2026-12-02T21:41:08Z
Modified
2026-12-02T21:45:07Z
Severity
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N CVSS Calculator
Summary
Pion DTLS: Unbounded handshake cache allows remote memory exhaustion
Details

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

Database specific
{
    "cwe_ids":  [
        "CWE-770"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-12-02T21:41:08Z",
    "nvd_published_at":  "2026-11-24T17:18:24Z",
    "severity":  "HIGH"
}
References

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
3.0.0
Fixed
3.1.13

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-jm57-r6vj-mwg9/GHSA-jm57-r6vj-mwg9.json"

Go / github.com/pion/dtls/v2

Package

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

Affected ranges

Type
SEMVER
Events
Introduced
2.1.4
Last Affected
2.2.12

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/12/GHSA-jm57-r6vj-mwg9/GHSA-jm57-r6vj-mwg9.json"