Golang.org/x/crypto

19 CVEs across 4 Golang.org/x/crypto products. Browse Golang.org/x/crypto vulnerabilities, severities, and proof-of-concept exploits.

Golang.org/x/crypto products with known CVEs

ProductCVEs
Golang.org/x/crypto/ssh12
Golang.org/x/crypto/ssh/agent5
Golang.org/x/crypto/acme/autocert1
Golang.org/x/crypto/ssh/knownhosts1
Golang.org/x/crypto CVEs — newest first
CVESeverityScorePublishedSummary
CVE-2026-46598Medium5.32026-05-22For certain crafted inputs, a 'ed25519.PrivateKey' was created by casting malformed wire bytes, leading to a panic when used.
CVE-2026-46597High7.52026-05-22An incorrectly placed cast from bytes to int allowed for server-side panic in the AES-GCM packet decoder for well-crafted inputs.
CVE-2026-46595Critical10.02026-05-22Previously, CVE-2024-45337 fixed an authorization bypass for misused ssh server configurations; if any other type of callback is passed other than public key…
CVE-2026-42508Critical9.12026-05-22Previously, a revoked 'SignatureKey' belonging to a CA was not correctly checked for revocation. Now, both the 'key' and 'key.SignatureKey' are checked for @re…
CVE-2026-39835Medium5.32026-05-22SSH servers which use CertChecker as a public key callback without setting IsUserAuthority or IsHostAuthority could be caused to panic by a client presenting a…
CVE-2026-39834Critical9.12026-05-22When writing data larger than 4GB in a single Write call on an SSH channel, an integer overflow in the internal payload size calculation caused the write loop…
CVE-2026-39833Critical9.12026-05-22The in-memory keyring returned by NewKeyring() silently accepted keys with the ConfirmBeforeUse constraint but never enforced it. The key would sign without an…
CVE-2026-39832Critical9.12026-05-22When adding a key to a remote agent constraint extensions such as restrict-destination-v00@openssh.com were not serialized in the request. Destination restrict…
CVE-2026-39831Critical9.12026-05-22The Verify() method for FIDO/U2F security key types (sk-ecdsa-sha2-nistp256@openssh.com, sk-ssh-ed25519@openssh.com) did not check the User Presence flag. Sign…
CVE-2026-39830Critical9.12026-05-22A malicious SSH peer could send unsolicited global request responses to fill an internal buffer, blocking the connection's read loop. The blocked goroutine cou…
CVE-2026-39829High7.52026-05-22The RSA and DSA public key parsers did not enforce size limits on key parameters. A crafted public key with an excessively large modulus or DSA parameter could…
CVE-2026-39828Medium6.32026-05-22When an SSH server authentication callback returned PartialSuccessError with non-nil Permissions, those permissions were silently discarded, potentially droppi…
CVE-2026-39827Medium6.52026-05-22An authenticated SSH client that repeatedly opened channels which were rejected by the server caused unbounded memory growth, eventually crashing the server pr…
CVE-2025-58181Medium5.32025-11-19SSH servers parsing GSSAPI authentication requests do not validate the number of mechanisms specified in the request, allowing an attacker to cause unbounded m…
CVE-2025-47914Medium5.32025-11-19SSH Agent servers do not validate the size of messages when processing new identity requests, which may cause the program to panic if the message is malformed…
CVE-2025-47913High7.52025-11-13SSH clients receiving SSH_AGENT_SUCCESS when expecting a typed response will panic and cause early termination of the client process.
CVE-2025-22869High7.52025-02-26SSH servers which implement file transfer protocols are vulnerable to a denial of service attack from clients which complete the key exchange slowly, or not at…
CVE-2024-45337Critical9.12024-12-12Applications and libraries which misuse connection.serverAuthenticate (via callback field ServerConfig.PublicKeyCallback) may be susceptible to an authorizatio…
CVE-2022-30636High7.52024-07-02httpTokenCacheKey uses path.Base to extract the expected HTTP-01 token value to lookup in the DirCache implementation. On Windows, path.Base acts differently t…