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

44 affected componentsFixes available
go/golang.org/x/crypto/ssh/agent
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
Golang Crypto Go<0.52.0
ubuntu/golang-go.crypto*
ubuntu/lxd*
ubuntu/snapd*
ubuntu/google-guest-agent*
ubuntu/lxd*
ubuntu/snapd*
ubuntu/golang-go.crypto*
ubuntu/google-guest-agent*
ubuntu/google-guest-agent*
ubuntu/snapd*
ubuntu/golang-go.crypto*
ubuntu/google-guest-agent*
ubuntu/snapd*
ubuntu/golang-go.crypto*
ubuntu/google-guest-agent*
ubuntu/snapd*
ubuntu/golang-go.crypto*
ubuntu/golang-go.crypto*
ubuntu/google-guest-agent*
ubuntu/snapd*
ubuntu/golang-go.crypto*
ubuntu/google-guest-agent*
ubuntu/snapd*
ubuntu/google-guest-agent*
ubuntu/snapd*
ubuntu/golang-go.crypto*
go/golang.org/x/crypto<0.52.0
0.52.0
IBM API Connect<=V10.0.8.0 - V10.0.8.13
debian/golang-go.crypto<=1:0.4.0-1, <=1:0.25.0-1
1:0.52.0-1
All of the following
azurelinux/docker-compose<2.27.0-13
2.27.0-13
Microsoft Azure Linux=3.0
All of the following
azurelinux/docker-buildx<0.14.0-15
0.14.0-15
Microsoft Azure Linux=3.0
All of the following
azurelinux/telegraf<1.31.0-23
1.31.0-23
Microsoft Azure Linux=3.0
All of the following
azurelinux/packer<1.9.5-14
1.9.5-14
Microsoft Azure Linux=3.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 go/golang.org/x/crypto to a version that resolves this vulnerability.

    Fixed in 0.52.0
  3. Upgrade

    Upgrade debian/golang-go.crypto to a version that resolves this vulnerability.

    Fixed in 1:0.52.0-1
  4. Upgrade

    Upgrade azurelinux/docker-buildx to a version that resolves this vulnerability.

    Fixed in 0.14.0-15
  5. Upgrade

    Upgrade azurelinux/docker-compose to a version that resolves this vulnerability.

    Fixed in 2.27.0-13
  6. Upgrade

    Upgrade azurelinux/telegraf to a version that resolves this vulnerability.

    Fixed in 1.31.0-23
  7. Upgrade

    Upgrade azurelinux/packer to a version that resolves this vulnerability.

    Fixed in 1.9.5-14

Event History

May 22, 2026
Advisory Published
via OSV·02:08 AM
Data Sourced
via OSV·02:08 AM
DescriptionAffected Software
CVE Published
via MITRE·02:31 AM
Data Sourced
via MITRE·02:31 AM
DescriptionWeakness
Data Sourced
via OSV·02:31 AM
Severity
Data Sourced
via Red Hat·04:01 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·04:16 AM
Description
Data Sourced
via NVD·07:17 PM
SeverityWeakness
May 27, 2026
Data Sourced
via Microsoft·08:17 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:17 AM
Affected Software
Updated
via Microsoft·08:17 AM
WeaknessAffected Software
Updated
via Microsoft·08:17 AM
Affected Software
May 28, 2026
Data Sourced
via NVD·02:34 PM
Affected Software
Jun 25, 2026
Advisory Published
via GitHub·10:12 PM
Data Sourced
via GitHub·10:12 PM
DescriptionSeverityWeaknessAffected Software
Jun 28, 2026
Updated
via Microsoft·08:41 AM
Weakness
Jul 7, 2026
Updated
via GitHub·03:28 PM
Affected Software
Jul 13, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Sep 1, 2026
Updated
via IBM·12:00 AM
Affected Software
Sep 26, 2026
Updated
via IBM·12:00 AM
Affected Software
Oct 14, 2026
Updated
via IBM·12:00 AM
Affected Software
Nov 18, 2026
Updated
via IBM·12:00 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

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