Go Vulnerability Database
GO-2025-4135
Malformed constraint may cause denial of service in golang.org/x/crypto/ssh/agent
Details
SSH Agent servers do not validate the size of messages when processing new identity requests, which may cause the program to panic if the message is malformed due to an out of bounds read.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | golang.org/x/crypto | All versions before 0.45.0 (fixed in 0.45.0) |