golang.org/x/crypto (Go)

Known vulnerabilities and malicious package reports for golang.org/x/crypto on Go, live from OSV, with CISA KEV exploitation status and EPSS scores.

Known package reports

0 malicious package reports and 32 vulnerabilities returned by OSV. Check a specific version to see which reports apply.

GHSA-45x7-px36-x8w8: Vulnerability

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

Published .

Updated .

Affected ranges: introduced 0.1.0, fixed 0.17.0; introduced 0, fixed 0.0.0-20231218163308-9d2ee975ef9f.

Fix versions reported by the advisory: 0.17.0, 0.0.0-20231218163308-9d2ee975ef9f.

Severity: MEDIUM.

CVE-2023-48795

GHSA-ffhg-7mh4-33c4: Vulnerability

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

Published .

Updated .

Affected ranges: introduced 0, fixed 0.0.0-20200220183623-bac4c82f6975.

Fix versions reported by the advisory: 0.0.0-20200220183623-bac4c82f6975.

Severity: HIGH.

CVE-2020-9283

GHSA-5cgq-3rg8-m6cv: Vulnerability

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

Published .

Updated .

Affected ranges: introduced 0, fixed 0.52.0.

Fix versions reported by the advisory: 0.52.0.

Severity: CRITICAL.

CVE-2026-42508

GHSA-v778-237x-gjrc: Vulnerability

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

Published .

Updated .

Affected ranges: introduced 0, fixed 0.31.0.

Fix versions reported by the advisory: 0.31.0.

Severity: CRITICAL.

CVE-2024-45337

GHSA-r5c5-pr8j-pfp7: Vulnerability

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

Published .

Updated .

Affected ranges: introduced 0, fixed 0.0.0-20190320223903-b7391e95e576.

Fix versions reported by the advisory: 0.0.0-20190320223903-b7391e95e576.

Severity: MEDIUM.

CVE-2019-11840

GHSA-3vm4-22fp-5rfm: Vulnerability

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

Published .

Updated .

Affected ranges: introduced 0, fixed 0.0.0-20201216223049-8b5274cf687f.

Fix versions reported by the advisory: 0.0.0-20201216223049-8b5274cf687f.

Severity: HIGH.

CVE-2020-29652

GHSA-xhjq-w7xm-p8qj: Vulnerability

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

Published .

Updated .

Affected ranges: introduced 0, fixed 0.0.0-20170330155735-e4e2799dd7aa.

Fix versions reported by the advisory: 0.0.0-20170330155735-e4e2799dd7aa.

Severity: HIGH.

CVE-2017-3204

GHSA-8c26-wmh5-6g9v: Vulnerability

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

Published .

Updated .

Affected ranges: introduced 0, fixed 0.0.0-20220314234659-1baeb1ce4c0b.

Fix versions reported by the advisory: 0.0.0-20220314234659-1baeb1ce4c0b.

Severity: HIGH.

CVE-2022-27191

GHSA-cjjc-xp8v-855w: Vulnerability

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

Published .

Updated .

Affected ranges: introduced 0, fixed 0.0.0-20200124225646-8b5121be2f68.

Fix versions reported by the advisory: 0.0.0-20200124225646-8b5121be2f68.

Severity: HIGH.

CVE-2020-7919

GHSA-x3jr-pf6g-c48f: Vulnerability

Golang/x/crypto message forgery vulnerability

Published .

Updated .

Affected ranges: introduced 0, fixed 0.0.0-20190424203555-c05e17bb3b2d.

Fix versions reported by the advisory: 0.0.0-20190424203555-c05e17bb3b2d.

Severity: MEDIUM.

CVE-2019-11841

GHSA-gwc9-m7rh-j2ww: Vulnerability

x/crypto/ssh vulnerable to panic via malformed packets

Published .

Updated .

Affected ranges: introduced 0, fixed 0.0.0-20211202192323-5770296d904e.

Fix versions reported by the advisory: 0.0.0-20211202192323-5770296d904e.

Severity: HIGH.

CVE-2021-43565

GHSA-hcg3-q754-cr77: Vulnerability

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

Published .

Updated .

Affected ranges: introduced 0, fixed 0.35.0.

Fix versions reported by the advisory: 0.35.0.

Severity: HIGH.

CVE-2025-22869

GO-2024-2961: Vulnerability

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

Published .

Updated .

Affected ranges: introduced 0, fixed 0.0.0-20220525230936-793ad666bf5e.

Fix versions reported by the advisory: 0.0.0-20220525230936-793ad666bf5e.

Severity: HIGH.

CVE-2022-30636

GHSA-j5w8-q4qc-rx2x: Vulnerability

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

Published .

Updated .

Affected ranges: introduced 0, fixed 0.45.0.

Fix versions reported by the advisory: 0.45.0.

Severity: MEDIUM.

CVE-2025-58181

GHSA-f6x5-jh6r-wrfv: Vulnerability

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

Published .

Updated .

Affected ranges: introduced 0, fixed 0.45.0.

Fix versions reported by the advisory: 0.45.0.

Severity: MEDIUM.

CVE-2025-47914

GHSA-vgwf-h737-ff37: Vulnerability

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

Published .

Updated .

Affected ranges: introduced 0, fixed 0.52.0.

Fix versions reported by the advisory: 0.52.0.

Severity: CRITICAL.

CVE-2026-39830

GHSA-f5wc-c3c7-36mc: Vulnerability

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

Published .

Updated .

Affected ranges: introduced 0, fixed 0.52.0.

Fix versions reported by the advisory: 0.52.0.

Severity: CRITICAL.

CVE-2026-39832

GO-2025-4116: Vulnerability

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

Published .

Updated .

Affected ranges: introduced 0, fixed 0.43.0.

Fix versions reported by the advisory: 0.43.0.

Severity: HIGH.

CVE-2025-47913

GHSA-x527-x647-q7gg: Vulnerability

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

Published .

Updated .

Affected ranges: introduced 0, fixed 0.52.0.

Fix versions reported by the advisory: 0.52.0.

Severity: CRITICAL.

CVE-2026-46595

GHSA-rm3j-f69w-wqmq: Vulnerability

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

Published .

Updated .

Affected ranges: introduced 0, fixed 0.52.0.

Fix versions reported by the advisory: 0.52.0.

Severity: CRITICAL.

CVE-2026-39834

GHSA-45gg-vh54-h5m9: Vulnerability

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

Published .

Updated .

Affected ranges: introduced 0, fixed 0.52.0.

Fix versions reported by the advisory: 0.52.0.

Severity: MEDIUM.

CVE-2026-39828

GHSA-9m57-25v3-79x9: Vulnerability

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

Published .

Updated .

Affected ranges: introduced 0, fixed 0.52.0.

Fix versions reported by the advisory: 0.52.0.

Severity: MEDIUM.

CVE-2026-46598

GHSA-78mq-xcr3-xm33: Vulnerability

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

Published .

Updated .

Affected ranges: introduced 0, fixed 0.52.0.

Fix versions reported by the advisory: 0.52.0.

Severity: MEDIUM.

CVE-2026-39835

GO-2026-6355: Vulnerability

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

Published .

Updated .

Affected ranges: introduced 0, fixed 0.56.0.

Fix versions reported by the advisory: 0.56.0.

Severity: HIGH.

CVE-2026-56855

GHSA-jppx-rxg9-jmrx: Vulnerability

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

Published .

Updated .

Affected ranges: introduced 0, fixed 0.52.0.

Fix versions reported by the advisory: 0.52.0.

Severity: CRITICAL.

CVE-2026-39833

More reports are available in the interactive package view.

Source: OSV, including OpenSSF malicious-package reports and GitHub advisories. No known report is not proof a package is safe.