ADVISORIES

Go Vulnerability Database

GO-2026-6090

Limit handshake messages we are willing to accept post-handshake in crypto/tls

Details

Handshake messages, such as KeyUpdate, are always considered as state-advancing, regardless of whether a handshake has been completed or not. As a result, a malicious client can keep sending KeyUpdate messages to force the server to keep performing key derivation operations indefinitely.

Affected packages

EcosystemPackageAffected versions
Gostdlib
All versions before 1.25.13 (fixed in 1.25.13)
From 1.26.0-0 before 1.26.6 (fixed in 1.26.6)
From 1.27.0-0 before 1.27.0-rc.3 (fixed in 1.27.0-rc.3)

References