VDB
Sign up
MEDIUM5.3

GO-2026-4340

Handshake messages may be processed at the incorrect encryption level in crypto/tls

Quick fix

GO-2026-4340 — stdlib: upgrade to the fixed version with the command below.

go get stdlib@v1.24.12

Details

During the TLS 1.3 handshake if multiple messages are sent in records that span encryption level boundaries (for instance the Client Hello and Encrypted Extensions messages), the subsequent messages may be processed before the encryption level changes. This can cause some minor information disclosure if a network-local attacker can inject messages during the handshake.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/stdlib
Introduced in: 0Fixed in: 1.24.12
Fixgo get stdlib@v1.24.12

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:golang/stdlib"]}'