golang.org/x/crypto vulnerabilities

Registry
Go
Latest
0.59.0

58 known advisories

The latest version, 0.59.0, is affected by 18 of them.

Is your project on an affected golang.org/x/crypto?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for golang.org/x/crypto

  • LowCVE-2026-78662GO-2026-63542 Sept 2026

    Prevent DoS on deadlocked undecided channel in golang.org/x/crypto/ssh

    Affected
    <0.56.0
    Fixed in
    0.56.0
  • LowCVE-2026-56855GO-2026-63552 Sept 2026

    Prevent DoS on deadlocked established channel in golang.org/x/crypto/ssh

    Affected
    <0.56.0
    Fixed in
    0.56.0
  • LowCVE-2026-56854GO-2026-630328 Aug 2026

    Source-address critical option not enforced for non-public-key auth callbacks in golang.org/x/crypto/ssh

    Affected
    <0.55.0
    Fixed in
    0.55.0
  • LowGO-2026-59327 Jul 2026

    The golang.org/x/crypto/openpgp package is unmaintained, unsafe by design, and has known security issues

    Affected
    <0.58.1-0.20261009181718-2f1f834330b2
    Fixed in
    0.58.1-0.20261009181718-2f1f834330b2
  • CriticalCVE-2026-46595GHSA-x527-x647-q7gg25 Jun 2026

    golang.org/x/crypto: Invoking VerifiedPublicKeyCallback permissions skip enforcement

    Affected
    <0.52.0
    Fixed in
    0.52.0
  • CriticalCVE-2026-42508GHSA-5cgq-3rg8-m6cv25 Jun 2026

    golang.org/x/crypto vulnerable to auth bypass via unenforced @revoked status

    Affected
    <0.52.0
    Fixed in
    0.52.0
  • CriticalCVE-2026-39834GHSA-rm3j-f69w-wqmq25 Jun 2026

    golang.org/x/crypto vulnerable to infinite loop on large channel writes

    Affected
    <0.52.0
    Fixed in
    0.52.0
  • CriticalCVE-2026-39831GHSA-89gr-r52h-f8rx25 Jun 2026

    golang.org/x/crypto: FIDO/U2F security key physical presence check can be bypassed

    Affected
    <0.52.0
    Fixed in
    0.52.0
  • HighCVE-2026-39829GHSA-w879-237q-wc7r25 Jun 2026

    golang.org/x/crypto: Invoking pathological RSA/DSA parameters may cause DoS

    Affected
    <0.52.0
    Fixed in
    0.52.0
  • CriticalCVE-2026-39830GHSA-vgwf-h737-ff3725 Jun 2026

    golang.org/x/crypto: Invoking client can cause server deadlock on unexpected responses

    Affected
    <0.52.0
    Fixed in
    0.52.0
  • MediumCVE-2026-39827GHSA-qpw4-5x99-6vjp25 Jun 2026

    golang.org/x/crypto: Invoking memory leak when rejecting channels can lead to DoS

    Affected
    <0.52.0
    Fixed in
    0.52.0
  • MediumCVE-2026-39835GHSA-78mq-xcr3-xm3325 Jun 2026

    golang.org/x/crypto is vulnerable to invoking server panic during CheckHostKey/Authenticate flow

    Affected
    <0.52.0
    Fixed in
    0.52.0
  • MediumCVE-2026-39828GHSA-45gg-vh54-h5m925 Jun 2026

    golang.org/x/crypto vulnerable to invoking bypass of certificate restrictions

    Affected
    <0.52.0
    Fixed in
    0.52.0
  • HighCVE-2026-46597GHSA-q4h4-gmj2-qvw225 Jun 2026

    golang.org/x/crypto: Invoking byte arithmetic causes underflow and panic

    Affected
    <0.52.0
    Fixed in
    0.52.0
  • CriticalCVE-2026-39832GHSA-f5wc-c3c7-36mc25 Jun 2026

    golang.org/x/crypto doesn't drop invoking agent constraints when forwarding keys

    Affected
    <0.52.0
    Fixed in
    0.52.0
  • CriticalCVE-2026-39833GHSA-jppx-rxg9-jmrx25 Jun 2026

    golang.org/x/crypto doesn't enforce invoking key constraints

    Affected
    <0.52.0
    Fixed in
    0.52.0
  • MediumCVE-2026-46598GHSA-9m57-25v3-79x925 Jun 2026

    golang.org/x/crypto: Invoking pathological inputs can lead to client panic

    Affected
    <0.52.0
    Fixed in
    0.52.0
  • LowCVE-2026-39833GO-2026-500522 May 2026

    Invoking key constraints not enforced in golang.org/x/crypto/ssh/agent

    Affected
    <0.52.0
    Fixed in
    0.52.0
  • LowCVE-2026-39832GO-2026-500622 May 2026

    Invoking agent constraints dropped when forwarding keys in golang.org/x/crypto/ssh/agent

    Affected
    <0.52.0
    Fixed in
    0.52.0
  • LowCVE-2026-46597GO-2026-501322 May 2026

    Invoking byte arithmetic causes underflow and panic in golang.org/x/crypto/ssh

    Affected
    <0.52.0
    Fixed in
    0.52.0
  • LowCVE-2026-39828GO-2026-501422 May 2026

    Invoking bypass of certificate restrictions in golang.org/x/crypto/ssh

    Affected
    <0.52.0
    Fixed in
    0.52.0
  • LowCVE-2026-39835GO-2026-501522 May 2026

    Invoking server panic during CheckHostKey/Authenticate in golang.org/x/crypto/ssh

    Affected
    <0.52.0
    Fixed in
    0.52.0
  • LowCVE-2026-39827GO-2026-501622 May 2026

    Invoking memory leak when rejecting channels can lead to DoS in golang.org/x/crypto/ssh

    Affected
    <0.52.0
    Fixed in
    0.52.0
  • LowCVE-2026-39830GO-2026-501722 May 2026

    Invoking client can cause server deadlock on unexpected responses in golang.org/x/crypto/ssh

    Affected
    <0.52.0
    Fixed in
    0.52.0
  • LowCVE-2026-39829GO-2026-501822 May 2026

    Invoking pathological RSA/DSA parameters may cause DoS in golang.org/x/crypto/ssh

    Affected
    <0.52.0
    Fixed in
    0.52.0
  • LowCVE-2026-39831GO-2026-501922 May 2026

    Invoking bypass of FIDO/U2F security keys physical interaction in golang.org/x/crypto/ssh

    Affected
    <0.52.0
    Fixed in
    0.52.0
  • LowCVE-2026-39834GO-2026-502022 May 2026

    Invoking infinite loop on large channel writes in golang.org/x/crypto/ssh

    Affected
    <0.52.0
    Fixed in
    0.52.0
  • LowCVE-2026-42508GO-2026-502122 May 2026

    Invoking auth bypass via unenforced @revoked status in golang.org/x/crypto/ssh/knownhosts

    Affected
    <0.52.0
    Fixed in
    0.52.0
  • LowCVE-2026-46595GO-2026-502322 May 2026

    Invoking VerifiedPublicKeyCallback permissions skip enforcement in golang.org/x/crypto/ssh

    Affected
    <0.52.0
    Fixed in
    0.52.0
  • LowCVE-2026-46598GO-2026-503322 May 2026

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

    Affected
    <0.52.0
    Fixed in
    0.52.0
  • MediumCVE-2025-47914GHSA-f6x5-jh6r-wrfv19 Nov 2025

    golang.org/x/crypto/ssh/agent vulnerable to panic if message is malformed due to out of bounds read

    Affected
    <0.45.0
    Fixed in
    0.45.0
  • MediumCVE-2025-58181GHSA-j5w8-q4qc-rx2x19 Nov 2025

    golang.org/x/crypto/ssh allows an attacker to cause unbounded memory consumption

    Affected
    <0.45.0
    Fixed in
    0.45.0
  • LowCVE-2025-58181GO-2025-413419 Nov 2025

    Unbounded memory consumption in golang.org/x/crypto/ssh

    Affected
    <0.45.0
    Fixed in
    0.45.0
  • LowCVE-2025-47914GO-2025-413519 Nov 2025

    Malformed constraint may cause denial of service in golang.org/x/crypto/ssh/agent

    Affected
    <0.45.0
    Fixed in
    0.45.0
  • LowCVE-2025-47913GO-2025-411613 Nov 2025

    Potential denial of service in golang.org/x/crypto/ssh/agent

    Affected
    <0.43.0
    Fixed in
    0.43.0
  • HighCVE-2025-22869GHSA-hcg3-q754-cr7712 Apr 2025

    golang.org/x/crypto Vulnerable to Denial of Service (DoS) via Slow or Incomplete Key Exchange

    Affected
    <0.35.0
    Fixed in
    0.35.0
  • LowCVE-2025-22869GO-2025-348726 Feb 2025

    Potential denial of service in golang.org/x/crypto

    Affected
    <0.35.0
    Fixed in
    0.35.0
  • CriticalCVE-2024-45337GHSA-v778-237x-gjrc11 Dec 2024

    Misuse of ServerConfig.PublicKeyCallback may cause authorization bypass in golang.org/x/crypto

    Affected
    <0.31.0
    Fixed in
    0.31.0
  • LowCVE-2024-45337GO-2024-332111 Dec 2024

    Misuse of connection.serverAuthenticate may cause authorization bypass in golang.org/x/crypto

    Affected
    <0.31.0
    Fixed in
    0.31.0
  • LowCVE-2022-30636GO-2024-29612 Jul 2024

    Limited directory traversal vulnerability on Windows in golang.org/x/crypto

    Affected
    <0.0.0-20220525230936-793ad666bf5e
    Fixed in
    0.0.0-20220525230936-793ad666bf5e
  • LowCVE-2023-48795GO-2023-240218 Dec 2023

    Man-in-the-middle attacker can compromise integrity of secure channel in golang.org/x/crypto

    Affected
    <0.17.0
    Fixed in
    0.17.0
  • MediumCVE-2023-48795GHSA-45x7-px36-x8w818 Dec 2023

    Prefix Truncation Attack against ChaCha20-Poly1305 and Encrypt-then-MAC aka Terrapin

    Affected
    >=0.1.0 <0.17.0 · <0.0.0-20231218163308-9d2ee975ef9f
    Fixed in
    0.0.0-20231218163308-9d2ee975ef9f, 0.17.0
  • LowCVE-2019-11841GO-2023-199223 Aug 2023

    Misleading message verification in golang.org/x/crypto/openpgp/clearsign

    Affected
    <0.0.0-20190424203555-c05e17bb3b2d
    Fixed in
    0.0.0-20190424203555-c05e17bb3b2d
  • HighCVE-2017-3204GHSA-xhjq-w7xm-p8qj7 Feb 2023

    golang.org/x/crypto/ssh Man-in-the-Middle attack

    Affected
    <0.0.0-20170330155735-e4e2799dd7aa
    Fixed in
    0.0.0-20170330155735-e4e2799dd7aa
  • LowCVE-2021-43565GO-2022-096813 Sept 2022

    Panic on malformed packets in golang.org/x/crypto/ssh

    Affected
    <0.0.0-20211202192323-5770296d904e
    Fixed in
    0.0.0-20211202192323-5770296d904e
  • HighCVE-2021-43565GHSA-gwc9-m7rh-j2ww7 Sept 2022

    x/crypto/ssh vulnerable to panic via malformed packets

    Affected
    <0.0.0-20211202192323-5770296d904e
    Fixed in
    0.0.0-20211202192323-5770296d904e
  • LowCVE-2020-7919GO-2022-02296 Jul 2022

    Panic in certificate parsing in crypto/x509 and golang.org/x/crypto/cryptobyte

    Affected
    <0.0.0-20200124225646-8b5121be2f68
    Fixed in
    0.0.0-20200124225646-8b5121be2f68
  • LowCVE-2019-11840GO-2022-02091 Jul 2022

    Insufficiently random values in golang.org/x/crypto/salsa20

    Affected
    <0.0.0-20190320223903-b7391e95e576
    Fixed in
    0.0.0-20190320223903-b7391e95e576
  • HighCVE-2020-29652GHSA-3vm4-22fp-5rfm24 May 2022

    golang.org/x/crypto/ssh NULL Pointer Dereference vulnerability

    Affected
    <0.0.0-20201216223049-8b5274cf687f
    Fixed in
    0.0.0-20201216223049-8b5274cf687f
  • MediumCVE-2019-11841GHSA-x3jr-pf6g-c48f24 May 2022

    Golang/x/crypto message forgery vulnerability

    Affected
    <0.0.0-20190424203555-c05e17bb3b2d
    Fixed in
    0.0.0-20190424203555-c05e17bb3b2d
  • MediumCVE-2019-11840GHSA-r5c5-pr8j-pfp724 May 2022

    golang.org/x/crypto/salsa20/salsa uses insufficiently random values

    Affected
    <0.0.0-20190320223903-b7391e95e576
    Fixed in
    0.0.0-20190320223903-b7391e95e576
  • LowCVE-2022-27191GO-2021-035625 Apr 2022

    Denial of service via crafted Signer in golang.org/x/crypto/ssh

    Affected
    <0.0.0-20220314234659-1baeb1ce4c0b
    Fixed in
    0.0.0-20220314234659-1baeb1ce4c0b
  • HighCVE-2022-27191GHSA-8c26-wmh5-6g9v19 Mar 2022

    golang.org/x/crypto/ssh Denial of service via crafted Signer

    Affected
    <0.0.0-20220314234659-1baeb1ce4c0b
    Fixed in
    0.0.0-20220314234659-1baeb1ce4c0b
  • LowCVE-2020-29652GO-2021-022717 Feb 2022

    Panic on crafted authentication request message in golang.org/x/crypto/ssh

    Affected
    <0.0.0-20201216223049-8b5274cf687f
    Fixed in
    0.0.0-20201216223049-8b5274cf687f
  • HighCVE-2020-7919GHSA-cjjc-xp8v-855w23 Jun 2021

    Helm uses crypto package vulnerable to panic from malformed X.509 certificate

    Affected
    <0.0.0-20200124225646-8b5121be2f68
    Fixed in
    0.0.0-20200124225646-8b5121be2f68
  • HighCVE-2020-9283GHSA-ffhg-7mh4-33c418 May 2021

    Improper Verification of Cryptographic Signature in golang.org/x/crypto

    Affected
    <0.0.0-20200220183623-bac4c82f6975
    Fixed in
    0.0.0-20200220183623-bac4c82f6975
  • LowCVE-2020-9283GO-2020-001214 Apr 2021

    Panic due to improper verification of cryptographic signatures in golang.org/x/crypto/ssh

    Affected
    <0.0.0-20200220183623-bac4c82f6975
    Fixed in
    0.0.0-20200220183623-bac4c82f6975
  • LowCVE-2017-3204GO-2020-001314 Apr 2021

    Man-in-the-middle attack in golang.org/x/crypto/ssh

    Affected
    <0.0.0-20170330155735-e4e2799dd7aa
    Fixed in
    0.0.0-20170330155735-e4e2799dd7aa

Is your golang.org/x/crypto version vulnerable?

Which of your client projects still run an old golang.org/x/crypto?

NPMscan reads the go.mod in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other Go packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the Go registry.