Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-46598: CWE-129: Improper Validation of Array Index in golang.org/x/crypto golang.org/x/crypto/ssh/agent

0
Medium
VulnerabilityCVE-2026-46598cvecve-2026-46598cwe-129
Published: Fri May 22 2026 (05/22/2026, 02:31:27 UTC)
Source: CVE Database V5
Vendor/Project: golang.org/x/crypto
Product: 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

AILast updated: 05/22/2026, 03:44:45 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses