CVE-2026-46598: CWE-129: Improper Validation of Array Index in golang.org/x/crypto golang.org/x/crypto/ssh/agent
For certain crafted inputs, a 'ed25519.PrivateKey' was created by casting malformed wire bytes, leading to a panic when used.
AI Analysis
Technical Summary
This vulnerability involves improper validation of array indices in the golang.org/x/crypto/ssh/agent package. Specifically, crafted inputs cause malformed wire bytes to be cast into an ed25519.PrivateKey, which triggers a panic during usage. The flaw is categorized under CWE-129 and affects the handling of cryptographic keys within the SSH agent implementation in Go's crypto library.
Potential Impact
The vulnerability causes a panic in the affected software when processing certain malformed inputs, potentially leading to denial of service conditions in applications relying on golang.org/x/crypto/ssh/agent for SSH key management. There is no evidence of code execution or data leakage from the provided information. No known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should monitor updates from the golang.org/x/crypto project and consider applying any available workarounds or input validation measures if feasible.
CVE-2026-46598: CWE-129: Improper Validation of Array Index in golang.org/x/crypto golang.org/x/crypto/ssh/agent
Description
For certain crafted inputs, a 'ed25519.PrivateKey' was created by casting malformed wire bytes, leading to a panic when used.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves improper validation of array indices in the golang.org/x/crypto/ssh/agent package. Specifically, crafted inputs cause malformed wire bytes to be cast into an ed25519.PrivateKey, which triggers a panic during usage. The flaw is categorized under CWE-129 and affects the handling of cryptographic keys within the SSH agent implementation in Go's crypto library.
Potential Impact
The vulnerability causes a panic in the affected software when processing certain malformed inputs, potentially leading to denial of service conditions in applications relying on golang.org/x/crypto/ssh/agent for SSH key management. There is no evidence of code execution or data leakage from the provided information. No known exploits are reported in the wild.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should monitor updates from the golang.org/x/crypto project and consider applying any available workarounds or input validation measures if feasible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Go
- Date Reserved
- 2026-05-15T17:35:00.813Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a0fcdade1370fbb487d5139
Added to database: 5/22/2026, 3:29:49 AM
Last enriched: 5/22/2026, 3:44:45 AM
Last updated: 5/23/2026, 8:00:24 PM
Views: 20
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.