CVE-2026-46598: Invoking pathological inputs can lead to client panic in golang.org/x/crypto/ssh/agent

Published May 22, 2026
·
Updated

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

Other sources

Invoking pathological inputs can lead to client panic in golang.org/x/crypto/ssh/agent

Microsoft

Affected Software

14 affected componentsFixes available
go/golang.org/x/crypto/ssh/agent
Golang Crypto Go<0.52.0
Microsoft azl3 packer 1.9.5-13
Microsoft azl3 docker-compose 2.27.0-11
Microsoft azl3 telegraf 1.31.0-22
Microsoft azl3 docker-buildx 0.14.0-13
go/golang.org/x/crypto/ssh/agent<0.52.0
0.52.0
Microsoft azl3 docker-buildx 0.14.0-13<0.14.0-15
0.14.0-15
Microsoft azl3 telegraf 1.31.0-22<1.31.0-23
1.31.0-23
Microsoft azl3 telegraf 1.31.0-23<1.31.0-23
1.31.0-23
Microsoft azl3 docker-compose 2.27.0-11<2.27.0-13
2.27.0-13
Microsoft azl3 packer 1.9.5-13<1.9.5-14
1.9.5-14
IBM Db2 Genius Hub<=1.1, 1.1.1, 1.1.2
IBM Agentics<=1.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade go/golang.org/x/crypto/ssh/agent to a version that resolves this vulnerability.

    Fixed in 0.52.0
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.31.0-23
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 0.14.0-15
  4. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.27.0-13
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.9.5-14

Event History

May 22, 2026
CVE Published
via MITRE·02:31 AM
Data Sourced
via MITRE·02:31 AM
DescriptionWeakness
Data Sourced
via Red Hat·04:01 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·04:16 AM
DescriptionSeverityWeaknessAffected Software
May 27, 2026
Data Sourced
via Microsoft·08:17 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:17 AM
Affected Software
Updated
via Microsoft·08:17 AM
DescriptionSeverityWeakness
Updated
via Microsoft·08:17 AM
DescriptionSeverity
Jun 25, 2026
Advisory Published
via GitHub·10:12 PM
Data Sourced
via GitHub·10:12 PM
DescriptionSeverityWeaknessAffected Software
Jul 13, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-46598?

CVE-2026-46598 has a risk rating of 33, indicating a moderate severity level.

2

How does CVE-2026-46598 affect the Golang SSH agent?

CVE-2026-46598 can cause client panic in the Golang SSH agent due to the handling of crafted inputs leading to malformed 'ed25519.PrivateKey'.

3

What are the potential consequences of CVE-2026-46598?

The consequence of CVE-2026-46598 can result in application crashes when the SSH agent is fed pathological inputs.

4

How can I mitigate CVE-2026-46598?

To mitigate CVE-2026-46598, avoid using untrusted input when creating 'ed25519.PrivateKey' with the Golang SSH agent.

5

Is CVE-2026-46598 fixed in later versions of Golang?

Check the changelogs and issue tracker for the Golang repository to confirm if CVE-2026-46598 has been addressed in future releases.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203