Intel

AIKIDO-2026-11023

golang.org/x/crypto is vulnerable to Improper Validation of Array Index

Improper Validation of Array IndexCVE-2026-46598 Published Yesterday

53

Medium Risk

This Affects:

GOgolang.org/x/crypto
0.0.0 - 0.51.0
Fixed in 0.52.0
Are you affected? Scan for Free

TL;DR

For certain crafted inputs, a 'ed25519.PrivateKey' was created by casting malformed wire bytes, leading to a panic when used.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and if you use the golang.org/x/crypto/ssh/agent functionalities.

Background info

golang.org/x/crypto is vulnerable to Improper Validation of Array Index in versions 0.0.0 - 0.51.0.

How to fix this

Upgrade the golang.org/x/crypto library to the patch version.