GoWorst: Critical26 advisories

golang.org/x/crypto: known vulnerabilities

golang.org/x/crypto has 26 reviewed security advisories in the GitHub Advisory Database — 8 critical, 9 high, 9 moderate. The most recent was published 2026-05-22. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the golang.org/x/crypto versions running across your servers, containers and images, and ranks what to patch first.

How to fix golang.org/x/crypto

Upgrade golang.org/x/crypto to a release at or above the fixed version shown for each advisory below. For Go:

go get golang.org/x/crypto@0.52.0 && go mod tidy (check govulncheck)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (26)

golang.org/x/crypto vulnerable to invoking bypass of certificate restrictions Moderate 6.3 CWE-281 CWE-295 — Affected: before 0.52.0. Fixed in 0.52.0. Published 2026-05-22. GHSA-45gg-vh54-h5m9 · CVE-2026-39828
golang.org/x/crypto vulnerable to auth bypass via unenforced @revoked status Critical 9.1 CWE-295 — Affected: before 0.52.0. Fixed in 0.52.0. Published 2026-05-22. GHSA-5cgq-3rg8-m6cv · CVE-2026-42508
golang.org/x/crypto is vulnerable to invoking server panic during CheckHostKey/Authenticate flow Moderate 5.3 CWE-295 CWE-476 — Affected: before 0.52.0. Fixed in 0.52.0. Published 2026-05-22. GHSA-78mq-xcr3-xm33 · CVE-2026-39835
golang.org/x/crypto: FIDO/U2F security key physical presence check can be bypassed Critical 9.1 CWE-862 — Affected: before 0.52.0. Fixed in 0.52.0. Published 2026-05-22. GHSA-89gr-r52h-f8rx · CVE-2026-39831
golang.org/x/crypto: Invoking pathological inputs can lead to client panic Moderate 5.3 CWE-129 — Affected: before 0.52.0. Fixed in 0.52.0. Published 2026-05-22. GHSA-9m57-25v3-79x9 · CVE-2026-46598
golang.org/x/crypto doesn't drop invoking agent constraints when forwarding keys Critical 9.1 CWE-281 CWE-502 — Affected: before 0.52.0. Fixed in 0.52.0. Published 2026-05-22. GHSA-f5wc-c3c7-36mc · CVE-2026-39832
golang.org/x/crypto doesn't enforce invoking key constraints Critical 9.1 CWE-862 — Affected: before 0.52.0. Fixed in 0.52.0. Published 2026-05-22. GHSA-jppx-rxg9-jmrx · CVE-2026-39833
golang.org/x/crypto: Invoking byte arithmetic causes underflow and panic High 7.5 CWE-704 — Affected: before 0.52.0. Fixed in 0.52.0. Published 2026-05-22. GHSA-q4h4-gmj2-qvw2 · CVE-2026-46597
golang.org/x/crypto: Invoking memory leak when rejecting channels can lead to DoS Moderate 6.5 CWE-924 — Affected: before 0.52.0. Fixed in 0.52.0. Published 2026-05-22. GHSA-qpw4-5x99-6vjp · CVE-2026-39827
golang.org/x/crypto vulnerable to infinite loop on large channel writes Critical 9.1 CWE-190 — Affected: before 0.52.0. Fixed in 0.52.0. Published 2026-05-22. GHSA-rm3j-f69w-wqmq · CVE-2026-39834
golang.org/x/crypto: Invoking client can cause server deadlock on unexpected responses Critical 9.1 CWE-119 CWE-772 — Affected: before 0.52.0. Fixed in 0.52.0. Published 2026-05-22. GHSA-vgwf-h737-ff37 · CVE-2026-39830
golang.org/x/crypto: Invoking pathological RSA/DSA parameters may cause DoS High 7.5 CWE-1284 CWE-347 — Affected: before 0.52.0. Fixed in 0.52.0. Published 2026-05-22. GHSA-w879-237q-wc7r · CVE-2026-39829
golang.org/x/crypto: Invoking VerifiedPublicKeyCallback permissions skip enforcement Critical 10.0 CWE-303 CWE-863 — Affected: before 0.52.0. Fixed in 0.52.0. Published 2026-05-22. GHSA-x527-x647-q7gg · CVE-2026-46595
golang.org/x/crypto/ssh/agent vulnerable to panic if message is malformed due to out of bounds read Moderate 5.3 CWE-125 — Affected: before 0.45.0. Fixed in 0.45.0. Published 2025-11-19. GHSA-f6x5-jh6r-wrfv · CVE-2025-47914
golang.org/x/crypto/ssh allows an attacker to cause unbounded memory consumption Moderate 5.3 CWE-770 — Affected: before 0.45.0. Fixed in 0.45.0. Published 2025-11-19. GHSA-j5w8-q4qc-rx2x · CVE-2025-58181
golang.org/x/crypto Vulnerable to Denial of Service (DoS) via Slow or Incomplete Key Exchange High 7.5 CWE-770 — Affected: before 0.35.0. Fixed in 0.35.0. Published 2025-02-26. GHSA-hcg3-q754-cr77 · CVE-2025-22869
Misuse of ServerConfig.PublicKeyCallback may cause authorization bypass in golang.org/x/crypto Critical 9.1 CWE-285 — Affected: before 0.31.0. Fixed in 0.31.0. Published 2024-12-12. GHSA-v778-237x-gjrc · CVE-2024-45337
Prefix Truncation Attack against ChaCha20-Poly1305 and Encrypt-then-MAC aka Terrapin Moderate 5.9 CWE-345 CWE-354 — Affected: before 0.0.0-20231218163308-9d2ee975ef9f. Fixed in 0.0.0-20231218163308-9d2ee975ef9f. Published 2023-12-18. GHSA-45x7-px36-x8w8 · CVE-2023-48795
golang.org/x/crypto/ssh Man-in-the-Middle attack High 8.1 — Affected: before 0.0.0-20170330155735-e4e2799dd7aa. Fixed in 0.0.0-20170330155735-e4e2799dd7aa. Published 2023-02-07. GHSA-xhjq-w7xm-p8qj · CVE-2017-3204
x/crypto/ssh vulnerable to panic via malformed packets High 7.5 — Affected: before 0.0.0-20211202192323-5770296d904e. Fixed in 0.0.0-20211202192323-5770296d904e. Published 2022-09-06. GHSA-gwc9-m7rh-j2ww · CVE-2021-43565
golang.org/x/crypto/ssh Denial of service via crafted Signer High 7.5 CWE-327 — Affected: before 0.0.0-20220314234659-1baeb1ce4c0b. Fixed in 0.0.0-20220314234659-1baeb1ce4c0b. Published 2022-03-18. GHSA-8c26-wmh5-6g9v · CVE-2022-27191
golang.org/x/crypto/ssh NULL Pointer Dereference vulnerability High 7.5 CWE-476 — Affected: before 0.0.0-20201216223049-8b5274cf687f. Fixed in 0.0.0-20201216223049-8b5274cf687f. Published 2020-12-17. GHSA-3vm4-22fp-5rfm · CVE-2020-29652
Helm uses crypto package vulnerable to panic from malformed X.509 certificate High 7.5 CWE-295 — Affected: before 0.0.0-20200124225646-8b5121be2f68. Fixed in 0.0.0-20200124225646-8b5121be2f68. Published 2020-03-16. GHSA-cjjc-xp8v-855w · CVE-2020-7919
Improper Verification of Cryptographic Signature in golang.org/x/crypto High 7.5 CWE-347 — Affected: before 0.0.0-20200220183623-bac4c82f6975. Fixed in 0.0.0-20200220183623-bac4c82f6975. Published 2020-02-20. GHSA-ffhg-7mh4-33c4 · CVE-2020-9283
Golang/x/crypto message forgery vulnerability Moderate 5.9 CWE-347 — Affected: before 0.0.0-20190424203555-c05e17bb3b2d. Fixed in 0.0.0-20190424203555-c05e17bb3b2d. Published 2019-05-22. GHSA-x3jr-pf6g-c48f · CVE-2019-11841
golang.org/x/crypto/salsa20/salsa uses insufficiently random values Moderate 5.9 CWE-330 — Affected: before 0.0.0-20190320223903-b7391e95e576. Fixed in 0.0.0-20190320223903-b7391e95e576. Published 2019-05-09. GHSA-r5c5-pr8j-pfp7 · CVE-2019-11840

Find golang.org/x/crypto across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.