https://seclists.org/oss-sec/2026/q2/663: Vulnerabilities in golang.org/x/crypto
Published May 22, 2026
·Updated
Affected Software
1 affected component
go/golang.org/x/crypto<v0.52.0
The issues are addressed in golang.org/x/crypto version v0.52.0.
Code using ssh/agent may panic when a crafted input causes malformed wire bytes to be cast as an ed25519.PrivateKey. SSH servers using the AES-GCM packet decoder may also panic when processing well-crafted inputs.
Review authentication callbacks that return PartialSuccessError with non-nil Permissions. In the affected behavior, those permissions could be silently discarded, potentially causing certificate restrictions to be dropped.