PatchSiren

golang.org/x/crypto CVE debriefs

These pages are published after PatchSiren validates generated defensive summaries against stored public CVE and source evidence.

HIGH golang.org/x/crypto CVE published 2026-08-28

CVE-2026-56854

AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-08-28T16:18:17.607Z and has not been modified since then. The NVD entry is currently Awaiting Analysis. The source-address critical option in authentication callbacks was not enforced for certain callbacks in the Go project, potentially allowing unauthorized access. This vulnerability has been addressed in patches provided by the Go project. The issue affects the authentication callback mechanism, and defenders should review and update authentication callback configurations to ensure source-address restrictions are enforced. Organizations using affected versions should prioritize patching to prevent potential remote attacks. This includes operators, platform administrators, vulnerability management teams, and security teams who need to assess their exposure and apply patches or updates provided by the vendor. Additionally, defenders should review compensating controls for exposed systems while remediation is scheduled and verified, and monitor systems for potential unauthorized access attempts. To verify and assess this vulnerability, defenders should review the official advisory, assess their exposure, and check relevant monitoring, detection, and logs for exposed assets. The vulnerability affects the Go project, and patches or updates have been provided to address the issue. Evidence is based on official CVE and NVD records, as well as references from the Go project.

CRITICAL golang.org/x/crypto CVE published 2026-05-22

CVE-2026-39833

CVE-2026-39833 describes a security constraint enforcement flaw in Go's in-memory keyring. A key created through NewKeyring() could accept the ConfirmBeforeUse constraint yet still sign without any confirmation prompt, and callers were not told the constraint was ineffective. The fix changes NewKeyring() to return an error when unsupported constraints are requested.

CRITICAL golang.org/x/crypto CVE published 2026-05-22

CVE-2026-46595

A critical vulnerability was found in golang.org/x/crypto/ssh, allowing for authorization bypass in certain misconfigured SSH server setups. This issue was previously addressed as CVE-2024-45337 but could still be exploited under specific conditions. The vulnerability arises when an incorrect type of callback is used, leading to the skipping of source-address validation.

MEDIUM golang.org/x/crypto CVE published 2026-05-22

CVE-2026-46598

CVE-2026-46598 is a Go security issue where certain crafted inputs could cause an ed25519.PrivateKey to be created by casting malformed wire bytes. When that malformed key is later used, it can panic. The practical security impact is service instability and potential denial of service in software that accepts or processes untrusted Ed25519 private key material.

HIGH golang.org/x/crypto CVE published 2026-05-22

CVE-2026-46597

A vulnerability in golang.org/x/crypto/ssh allows for a server-side panic due to an incorrectly placed cast from bytes to int in the AES-GCM packet decoder for well-crafted inputs. This issue can lead to potential server-side panic and requires defenders to assess exposure and prioritize verification and updates. The vulnerability is tracked as GO-2026-5013 and was reported by osv_dev. It affects systems using golang.org/x/crypto/ssh, particularly those with AES-GCM packet decoder functionality.

CRITICAL golang.org/x/crypto CVE published 2026-05-22

CVE-2026-42508

A critical vulnerability was found in golang.org/x/crypto/ssh/knownhosts, allowing for potential security risks due to incorrect revocation checks for 'SignatureKey' belonging to a CA. The issue is resolved by checking both the 'key' and 'key.SignatureKey' for revocation. Defenders should verify the revocation status of 'SignatureKey' and update to the latest version to prevent potential security risks. The CVE record was published on 2026-05-22T04:16:25.440Z and was last modified on 2026-09-09T13:20:01.750Z.

MEDIUM golang.org/x/crypto CVE published 2026-05-22

CVE-2026-39835

CVE-2026-39835 is a medium-severity vulnerability affecting the golang.org/x/crypto/ssh package. The vulnerability occurs when an SSH server uses CertChecker as a public key callback without setting IsUserAuthority or IsHostAuthority, allowing a client to cause a panic by presenting a certificate. The CertChecker now returns an error instead of panicking when these callbacks are nil.

CRITICAL golang.org/x/crypto CVE published 2026-05-22

CVE-2026-39834

CVE-2026-39834 describes an integer overflow in Go SSH channel payload size handling. When a single Write call exceeds 4GB, the internal size calculation can truncate, causing the write loop to spin indefinitely and send empty packets without making progress. The published Go references indicate the fix changes the size comparison to int64 to avoid truncation.

CRITICAL golang.org/x/crypto CVE published 2026-05-22

CVE-2026-39831

The CVE-2026-39831 vulnerability involves a bypass of physical interaction for FIDO/U2F security keys in the golang.org/x/crypto/ssh package. The Verify() method for certain security key types did not check the User Presence flag, allowing signatures generated without physical touch to be accepted. This issue enables unattended use of a hardware security key. To restore previous behavior, a 'no-touch-required' extension can be returned in Permissions.Extensions from PublicKeyCallback.

CRITICAL golang.org/x/crypto CVE published 2026-05-22

CVE-2026-39830

A resource leak vulnerability in the Go crypto/ssh package could allow a malicious SSH peer to block the connection's read loop, preventing the goroutine from being released even after calling Close(). The vulnerability occurs when an SSH peer sends unsolicited global request responses, filling an internal buffer and blocking the read loop. This issue has been addressed by discarding unsolicited global responses. System administrators and developers should assess their exposure and update their dependencies to prevent potential resource leaks.

HIGH golang.org/x/crypto CVE published 2026-05-22

CVE-2026-39829

CVE-2026-39829 is a high-severity vulnerability affecting the RSA and DSA public key parsers in the golang.org/x/crypto/ssh package. The vulnerability allows for a crafted public key with an excessively large modulus or DSA parameter to cause several minutes of CPU consumption during signature verification. This can be triggered by unauthenticated clients during public key authentication. The issue has been addressed by limiting RSA moduli to 8192 bits and validating DSA parameters per FIPS 186-2.

MEDIUM golang.org/x/crypto CVE published 2026-05-22

CVE-2026-39828

A vulnerability in the golang.org/x/crypto/ssh package could allow an attacker to potentially drop certificate restrictions, such as force-command, after a second factor succeeded. This issue occurs when an SSH server authentication callback returns PartialSuccessError with non-nil Permissions, causing those permissions to be silently discarded. The vulnerability affects SSH server configurations, particularly those using certificate-based authentication. Defenders should assess exposure and prioritize verification of SSH server configurations.

MEDIUM golang.org/x/crypto CVE published 2026-05-22

CVE-2026-39827

An authenticated SSH client that repeatedly opened channels which were rejected by the server caused unbounded memory growth, eventually crashing the server process and affecting all connected users. This issue is related to the handling of rejected channels in the golang.org/x/crypto/ssh package. The fix properly removes and releases rejected channels from the connection's internal state, preventing memory leaks and potential DoS attacks. Defenders should assess exposure and prioritize patching, especially in environments with untrusted or authenticated SSH clients.