Advisory

GHSA-9f3f-wv7r-qc8r

Also known as: CVE-2026-26014, GO-2026-4479

Summary

Pion DTLS's usage of random nonce generation with AES GCM ciphers risks leaking the authentication key

Details

Impact
Pion DTLS versions v1.0.0 through v3.0.10 use random nonce generation with AES GCM ciphers, which makes it easier for remote attackers to obtain the authentication key and spoof data by leveraging the reuse of a nonce in a session and a "forbidden attack".

Patches
Upgrade to v3.1.1 or later. This version includes PR #796, which uses the 64-bit sequence number to populate the nonce_explicit part of the GCM nonce. This is according to best practice outlined in RFC 9325 section 7.2.1.

v3.0.11 is a backport patch supporting Go v1.21

Workarounds
There are no workarounds without upgrading to version v3.0.11, v3.1.1 or later.

References
Commit fixing the bug: https://github.com/pion/dtls/commit/61762dee8217991882c5eb79856b9e7a73ee349f
Commit fixing the bug (backport): 90e241c
Pull request: #796

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-02-11 15:13 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

github.com/pion/dtls/v3

Go · All systems

Affected

  • introduced 3.1.0, fixed 3.1.1 (semver)

Fixed versions

3.1.1

Fix

github.com/pion/dtls/v2

Go · All systems

Affected

  • introduced 0, last affected 2.2.12 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

github.com/pion/dtls

Go · All systems

Affected

  • introduced 0, last affected 1.5.4 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

github.com/pion/dtls/v3

Go · All systems

Affected

  • introduced 0, fixed 3.0.11 (semver)

Fixed versions

3.0.11

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences