Source: golang-github-pion-dtls-v2
X-Debbugs-CC: [email protected]
Severity: grave
Tags: security

Hi,

The following vulnerabilities were published for golang-github-pion-dtls-v2.

CVE-2026-135388[0]:
| Pion DTLS is a Go implementation of Datagram Transport Layer
| Security. From 2.0.0 until 3.1.13, the implementation selected
| signature verification based on the certificate public key while
| deriving the digest from the peer-controlled signature scheme
| without validating that the scheme, key type, and hash requirements
| were consistent. The affected verification functions are
| verifyKeySignature for ServerKeyExchange and verifyCertificateVerify
| for CertificateVerify. An unauthenticated network attacker who can
| redirect a DTLS handshake and obtain the genuine peer certificate
| can submit crafted handshake signatures that are accepted without
| possession of the certificate private key. This can let the attacker
| impersonate the peer and compromise the confidentiality and
| integrity of protected traffic; checking a WebRTC SDP certificate
| fingerprint does not prevent the attack because the genuine
| certificate is presented. The issue is fixed in version 3.1.13.

 https://github.com/pion/dtls/security/advisories/GHSA-7c2r-jhm9-43vf
 https://github.com/pion/dtls/pull/1229
 https://github.com/pion/dtls/commit/cb560535461a483f2930a91a474e72fa6b615b87 
(v3.1.13)

CVE-2026-135389[1]:
| Pion DTLS is a Go implementation of Datagram Transport Layer
| Security. From 2.1.0 until 3.1.14, a server with a SessionStore
| saved the session ID and master secret after ClientKeyExchange,
| before receiving a valid Finished message and before enforcing the
| configured client-authentication checks. A remote client can omit
| its Certificate message, send ClientKeyExchange, leave the first
| handshake unfinished, and then resume the cached session using the
| master secret it learned during key exchange. The server must use a
| SessionStore and negotiate a certificate-based cipher suite. The
| attack can bypass client certificates required through
| RequireAnyClientCert or RequireAndVerifyClientCert, or a rejecting
| VerifyConnection callback. WebRTC users are not affected. The
| abbreviated handshake can allow unauthorized access to application
| data. The issue is fixed in version 3.1.14.

 https://github.com/pion/dtls/security/advisories/GHSA-hhpj-h56m-9f2p
 https://github.com/pion/dtls/pull/1234
 https://github.com/pion/dtls/commit/ce84b979bcb5449727b3ea5c57add4e1edb33284 
(v3.1.14)

CVE-2026-135390[2]:
| Pion DTLS is a Go implementation of Datagram Transport Layer
| Security. From 2.1.0 until 3.1.14, a listener performing DTLS 1.2
| resumption accepted a session created by an outbound client
| connection without checking which role created it. A malicious
| server previously contacted by the application can retain the
| outbound session secret, select the client-side cached session
| through its session key, and present it to the application's
| reachable listener when both connections share a SessionStore. The
| attacker must first complete an outbound connection. WebRTC users
| are not affected. The listener can accept application data without
| running its normal PSK callback or client-certificate authentication
| checks, allowing a peer trusted only for an outbound connection to
| gain unauthorized listener access. The issue is fixed in version
| 3.1.14.

 https://github.com/pion/dtls/security/advisories/GHSA-cqhp-ggp7-58qj
 https://github.com/pion/dtls/pull/1234
 https://github.com/pion/dtls/commit/2b234cd7174fc758372de0e479fc66515f54f631 
(v3.1.14)

CVE-2026-135391[3]:
| Pion DTLS is a Go implementation of Datagram Transport Layer
| Security. From 2.0.0 until 3.1.13, peer certificates were parsed and
| their RSA public keys were passed to handshake signature and
| certificate-chain verification without an explicit modulus-size
| limit. A remote peer can provide a certificate with an unusually
| large attacker-chosen RSA modulus and an invalid signature; no
| corresponding private key or valid handshake signature is required
| to trigger the expensive operation. An RSA verification path must
| execute. A local ECDSA certificate does not prevent the peer from
| presenting an RSA certificate, and WebRTC deployments can be
| affected. Repeated or concurrent malicious handshakes can consume
| substantial CPU resources, delay legitimate connections, and reduce
| service availability. The issue is fixed in version 3.1.13.

 https://github.com/pion/dtls/security/advisories/GHSA-jp25-wc3w-p9xp
 https://github.com/pion/dtls/pull/1229

CVE-2026-135392[4]:
| Pion DTLS is a Go implementation of Datagram Transport Layer
| Security. From 2.1.4 until 3.1.13, the handshake cache copied and
| retained submitted messages without deduplicating entries, limiting
| the entry count, limiting total payload bytes, or stopping new
| insertions after handshake completion. A remote peer able to deliver
| suitable DTLS traffic can grow the cache through incoming handshake
| messages and repeated caching of outgoing retransmissions for the
| lifetime of the connection. The fragment reassembly buffer's
| separate size limit does not prevent this issue because completed
| messages are retained in the append-only handshake cache. Unbounded
| cache growth can exhaust application memory and cause a denial of
| service. The issue is fixed in version 3.1.13.

 https://github.com/pion/dtls/security/advisories/GHSA-jm57-r6vj-mwg9
 https://github.com/pion/dtls/pull/1229
 https://github.com/pion/dtls/commit/f444d0825ab34fed4b210607fa802dcf1edaf51f 
(v3.1.13)

CVE-2026-135393[5]:
| Pion DTLS is a Go implementation of Datagram Transport Layer
| Security. From 1.2.2 until 3.1.13, the server state machine did not
| distinguish successful processing of the client certificate flight
| from completion of the handshake, so later traffic could revisit the
| same cached Certificate, ClientKeyExchange, and CertificateVerify
| messages. A malicious client can withhold Finished and send
| additional handshake traffic. Depending on the configured
| authentication policy, repeated work can include certificate
| parsing, handshake signature verification, and certificate-chain
| verification. The vulnerable endpoint must act as the DTLS server.
| Pion WebRTC applications are affected when they operate in that
| role. Repeated or concurrent attempts can consume excessive CPU
| resources, delay legitimate connections, and reduce service
| availability. The issue is fixed in version 3.1.13.

 https://github.com/pion/dtls/security/advisories/GHSA-qpgj-64qg-5m4r
 https://github.com/pion/dtls/pull/1229
 https://github.com/pion/dtls/commit/979ad79d96dacc69c6c2821808f9b079301067d4 
(v3.1.13)


If you fix the vulnerabilities please also make sure to include the
CVE (Common Vulnerabilities & Exposures) ids in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-135388
    https://www.cve.org/CVERecord?id=CVE-2026-135388
[1] https://security-tracker.debian.org/tracker/CVE-2026-135389
    https://www.cve.org/CVERecord?id=CVE-2026-135389
[2] https://security-tracker.debian.org/tracker/CVE-2026-135390
    https://www.cve.org/CVERecord?id=CVE-2026-135390
[3] https://security-tracker.debian.org/tracker/CVE-2026-135391
    https://www.cve.org/CVERecord?id=CVE-2026-135391
[4] https://security-tracker.debian.org/tracker/CVE-2026-135392
    https://www.cve.org/CVERecord?id=CVE-2026-135392
[5] https://security-tracker.debian.org/tracker/CVE-2026-135393
    https://www.cve.org/CVERecord?id=CVE-2026-135393

Please adjust the affected versions in the BTS as needed.

Reply via email to