Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:deb/debian/golang-go.crypto@1:0.25.0-1?distro=trixie
purl pkg:deb/debian/golang-go.crypto@1:0.25.0-1?distro=trixie
Next non-vulnerable version 1:0.42.0-1
Latest non-vulnerable version 1:0.47.0-1
Risk 4.5
Vulnerabilities affecting this package (5)
Vulnerability Summary Fixed by
VCID-cmts-6kz4-zkh8
Aliases:
CVE-2025-22869
GHSA-hcg3-q754-cr77
golang.org/x/crypto Vulnerable to Denial of Service (DoS) via Slow or Incomplete Key Exchange SSH 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 all, causing pending content to be read into memory, but never transmitted.
1:0.42.0-1
Affected by 0 other vulnerabilities.
1:0.47.0-1
Affected by 0 other vulnerabilities.
VCID-hu5a-ewvg-6ya7
Aliases:
CVE-2025-47914
GHSA-f6x5-jh6r-wrfv
golang.org/x/crypto/ssh/agent vulnerable to panic if message is malformed due to out of bounds read SSH 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 due to an out of bounds read.
1:0.45.0-1
Affected by 0 other vulnerabilities.
1:0.47.0-1
Affected by 0 other vulnerabilities.
VCID-jwxs-gteb-kfg5
Aliases:
CVE-2025-58181
GHSA-j5w8-q4qc-rx2x
golang.org/x/crypto/ssh allows an attacker to cause unbounded memory consumption SSH servers parsing GSSAPI authentication requests do not validate the number of mechanisms specified in the request, allowing an attacker to cause unbounded memory consumption.
1:0.45.0-1
Affected by 0 other vulnerabilities.
1:0.47.0-1
Affected by 0 other vulnerabilities.
VCID-mn45-w3s3-syej
Aliases:
CVE-2024-45337
GHSA-v778-237x-gjrc
Misuse of ServerConfig.PublicKeyCallback may cause authorization bypass in golang.org/x/crypto Applications and libraries which misuse the ServerConfig.PublicKeyCallback callback may be susceptible to an authorization bypass. The documentation for ServerConfig.PublicKeyCallback says that "A call to this function does not guarantee that the key offered is in fact used to authenticate." Specifically, the SSH protocol allows clients to inquire about whether a public key is acceptable before proving control of the corresponding private key. PublicKeyCallback may be called with multiple keys, and the order in which the keys were provided cannot be used to infer which key the client successfully authenticated with, if any. Some applications, which store the key(s) passed to PublicKeyCallback (or derived information) and make security relevant determinations based on it once the connection is established, may make incorrect assumptions. For example, an attacker may send public keys A and B, and then authenticate with A. PublicKeyCallback would be called only twice, first with A and then with B. A vulnerable application may then make authorization decisions based on key B for which the attacker does not actually control the private key. Since this API is widely misused, as a partial mitigation golang.org/x/crypto@v0.31.0 enforces the property that, when successfully authenticating via public key, the last key passed to ServerConfig.PublicKeyCallback will be the key used to authenticate the connection. PublicKeyCallback will now be called multiple times with the same key, if necessary. Note that the client may still not control the last key passed to PublicKeyCallback if the connection is then authenticated with a different method, such as PasswordCallback, KeyboardInteractiveCallback, or NoClientAuth. Users should be using the Extensions field of the Permissions return value from the various authentication callbacks to record data associated with the authentication attempt instead of referencing external state. Once the connection is established the state corresponding to the successful authentication attempt can be retrieved via the ServerConn.Permissions field. Note that some third-party libraries misuse the Permissions type by sharing it across authentication attempts; users of third-party libraries should refer to the relevant projects for guidance.
1:0.42.0-1
Affected by 0 other vulnerabilities.
1:0.47.0-1
Affected by 0 other vulnerabilities.
VCID-sty6-gwh1-hbcy
Aliases:
CVE-2025-47913
golang.org/x/crypto/ssh/agent: golang.org/x/crypto/ssh/agent: SSH client panic due to unexpected SSH_AGENT_SUCCESS
1:0.43.0-1
Affected by 0 other vulnerabilities.
1:0.47.0-1
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (9)
Vulnerability Summary Aliases
VCID-1n1h-e2p4-9yhs golang.org/x/crypto/ssh Denial of service via crafted Signer The golang.org/x/crypto/ssh package before 0.0.0-20220314234659-1baeb1ce4c0b for Go allows an attacker to crash a server in certain circumstances involving AddHostKey. CVE-2022-27191
GHSA-8c26-wmh5-6g9v
VCID-37zk-9fax-v7e1 Improper Verification of Cryptographic Signature in golang.org/x/crypto golang.org/x/crypto before v0.0.0-20200220183623-bac4c82f6975 for Go allows a panic during signature verification in the golang.org/x/crypto/ssh package. A client can attack an SSH server that accepts public keys. Also, a server can attack any SSH client. CVE-2020-9283
GHSA-ffhg-7mh4-33c4
VCID-3tpx-rnju-w3dw golang.org/x/crypto/salsa20/salsa uses insufficiently random values An issue was discovered in supplementary Go cryptography libraries, aka golang-googlecode-go-crypto, before 2019-03-20. A flaw was found in the amd64 implementation of golang.org/x/crypto/salsa20 and golang.org/x/crypto/salsa20/salsa. If more than 256 GiB of keystream is generated, or if the counter otherwise grows greater than 32 bits, the amd64 implementation will first generate incorrect output, and then cycle back to previously generated keystream. Repeated keystream bytes can lead to loss of confidentiality in encryption applications, or to predictability in CSPRNG applications. ### Specific Go Packages Affected golang.org/x/crypto/salsa20/salsa CVE-2019-11840
GHSA-r5c5-pr8j-pfp7
VCID-andp-4snd-rbbt golang.org/x/crypto/ssh NULL Pointer Dereference vulnerability A nil pointer dereference in the golang.org/x/crypto/ssh component through v0.0.0-20201203163018-be400aefbc4c for Go allows remote attackers to cause a denial of service against SSH servers. An attacker can craft an authentication request message for the `gssapi-with-mic` method which will cause NewServerConn to panic via a nil pointer dereference if ServerConfig.GSSAPIWithMICConfig is nil. CVE-2020-29652
GHSA-3vm4-22fp-5rfm
VCID-et4d-ak3r-1bfa httpTokenCacheKey uses path.Base to extract the expected HTTP-01 token value to lookup in the DirCache implementation. On Windows, path.Base acts differently to filepath.Base, since Windows uses a different path separator (\ vs. /), allowing a user to provide a relative path, i.e. .well-known/acme-challenge/..\..\asd becomes ..\..\asd. The extracted path is then suffixed with +http-01, joined with the cache directory, and opened. Since the controlled path is suffixed with +http-01 before opening, the impact of this is significantly limited, since it only allows reading arbitrary files on the system if and only if they have this suffix. CVE-2022-30636
VCID-jzn6-bzzf-nugp Improper Validation of Integrity Check Value The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remote attackers to bypass integrity checks such that some packets are omitted (from the extension negotiation message), and a client and server may consequently end up with a connection for which some security features have been downgraded or disabled, aka a Terrapin attack. This occurs because the SSH Binary Packet Protocol (BPP), implemented by these extensions, mishandles the handshake phase and mishandles use of sequence numbers. For example, there is an effective attack against SSH's use of ChaCha20-Poly1305 (and CBC with Encrypt-then-MAC). The bypass occurs in chacha20-poly1305@openssh.com and (if CBC is used) the -etm@openssh.com MAC algorithms. This also affects Maverick Synergy Java SSH API before 3.1.0-SNAPSHOT, Dropbear through 2022.83, Ssh before 5.1.1 in Erlang/OTP, PuTTY before 0.80, AsyncSSH before 2.14.2, golang.org/x/crypto before 0.17.0, libssh before 0.10.6, libssh2 through 1.11.0, Thorn Tech SFTP Gateway before 3.4.6, Tera Term before 5.1, Paramiko before 3.4.0, jsch before 0.2.15, SFTPGo before 2.5.6, Netgate pfSense Plus through 23.09.1, Netgate pfSense CE through 2.7.2, HPN-SSH through 18.2.0, ProFTPD before 1.3.8b (and before 1.3.9rc2), ORYX CycloneSSH before 2.3.4, NetSarang XShell 7 before Build 0144, CrushFTP before 10.6.0, ConnectBot SSH library before 2.2.22, Apache MINA sshd through 2.11.0, sshj through 0.37.0, TinySSH through 20230101, trilead-ssh2 6401, LANCOM LCOS and LANconfig, FileZilla before 3.66.4, Nova before 11.8, PKIX-SSH before 14.4, SecureCRT before 9.4.3, Transmit5 before 5.10.4, Win32-OpenSSH before 9.5.0.0p1-Beta, WinSCP before 6.2.2, Bitvise SSH Server before 9.32, Bitvise SSH Client before 9.33, KiTTY through 0.76.1.13, the net-ssh gem 7.2.0 for Ruby, the mscdex ssh2 module before 1.15.0 for Node.js, the thrussh library before 0.35.1 for Rust, and the Russh crate before 0.40.2 for Rust. CVE-2023-48795
GHSA-45x7-px36-x8w8
VCID-n34c-71wq-s3e4 x/crypto/ssh vulnerable to panic via malformed packets The x/crypto/ssh package before 0.0.0-20211202192323-5770296d904e of golang.org/x/crypto allows an unauthenticated attacker to panic an SSH server. When using AES-GCM or ChaCha20Poly1305, consuming a malformed packet which contains an empty plaintext causes a panic. CVE-2021-43565
GHSA-gwc9-m7rh-j2ww
VCID-t5dk-qg2g-3qhp golang.org/x/crypto/ssh Man-in-the-Middle attack The Go SSH library (golang.org/x/crypto/ssh) by default does not verify host keys, facilitating man-in-the-middle attacks if ClientConfig.HostKeyCallback is not set. Default behavior changed in commit e4e2799 to require explicitly registering a hostkey verification mechanism. CVE-2017-3204
GHSA-xhjq-w7xm-p8qj
VCID-zvd3-3b1h-77ef Golang/x/crypto message forgery vulnerability A message-forgery issue was discovered in `crypto/openpgp/clearsign/clearsign.go` in supplementary Go cryptography libraries 2019-03-25. According to the OpenPGP Message Format specification in RFC 4880 chapter 7, a cleartext signed message can contain one or more optional "Hash" Armor Headers. The "Hash" Armor Header specifies the message digest algorithm(s) used for the signature. However, the Go clearsign package ignores the value of this header, which allows an attacker to spoof it. Consequently, an attacker can lead a victim to believe the signature was generated using a different message digest algorithm than what was actually used. Moreover, since the library skips Armor Header parsing in general, an attacker can not only embed arbitrary Armor Headers, but also prepend arbitrary text to cleartext messages without invalidating the signatures. CVE-2019-11841
GHSA-x3jr-pf6g-c48f

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-16T12:37:45.407235+00:00 Debian Importer Fixing VCID-t5dk-qg2g-3qhp https://security-tracker.debian.org/tracker/data/json 38.4.0
2026-04-16T11:44:08.058394+00:00 Debian Importer Fixing VCID-37zk-9fax-v7e1 https://security-tracker.debian.org/tracker/data/json 38.4.0
2026-04-16T11:29:00.712695+00:00 Debian Importer Fixing VCID-andp-4snd-rbbt https://security-tracker.debian.org/tracker/data/json 38.4.0
2026-04-16T09:23:55.916946+00:00 Debian Importer Fixing VCID-zvd3-3b1h-77ef https://security-tracker.debian.org/tracker/data/json 38.4.0
2026-04-16T08:51:28.138426+00:00 Debian Importer Fixing VCID-3tpx-rnju-w3dw https://security-tracker.debian.org/tracker/data/json 38.4.0
2026-04-13T08:39:10.111054+00:00 Debian Importer Fixing VCID-t5dk-qg2g-3qhp https://security-tracker.debian.org/tracker/data/json 38.3.0
2026-04-13T08:00:01.517703+00:00 Debian Importer Fixing VCID-37zk-9fax-v7e1 https://security-tracker.debian.org/tracker/data/json 38.3.0
2026-04-13T07:49:32.066988+00:00 Debian Importer Fixing VCID-andp-4snd-rbbt https://security-tracker.debian.org/tracker/data/json 38.3.0
2026-04-11T18:16:26.389795+00:00 Debian Importer Fixing VCID-zvd3-3b1h-77ef https://security-tracker.debian.org/tracker/data/json 38.3.0
2026-04-11T17:56:56.598819+00:00 Debian Importer Fixing VCID-3tpx-rnju-w3dw https://security-tracker.debian.org/tracker/data/json 38.3.0
2026-04-03T07:25:46.413137+00:00 Debian Importer Affected by VCID-jwxs-gteb-kfg5 https://security-tracker.debian.org/tracker/data/json 38.1.0
2026-04-03T07:25:46.366111+00:00 Debian Importer Affected by VCID-hu5a-ewvg-6ya7 https://security-tracker.debian.org/tracker/data/json 38.1.0
2026-04-03T07:25:46.320618+00:00 Debian Importer Affected by VCID-sty6-gwh1-hbcy https://security-tracker.debian.org/tracker/data/json 38.1.0
2026-04-03T07:25:46.278380+00:00 Debian Importer Affected by VCID-cmts-6kz4-zkh8 https://security-tracker.debian.org/tracker/data/json 38.1.0
2026-04-03T07:25:46.231522+00:00 Debian Importer Affected by VCID-mn45-w3s3-syej https://security-tracker.debian.org/tracker/data/json 38.1.0
2026-04-03T07:25:46.206522+00:00 Debian Importer Fixing VCID-jzn6-bzzf-nugp https://security-tracker.debian.org/tracker/data/json 38.1.0
2026-04-03T07:25:46.152224+00:00 Debian Importer Fixing VCID-et4d-ak3r-1bfa https://security-tracker.debian.org/tracker/data/json 38.1.0
2026-04-03T07:25:46.104144+00:00 Debian Importer Fixing VCID-1n1h-e2p4-9yhs https://security-tracker.debian.org/tracker/data/json 38.1.0
2026-04-03T07:25:46.056357+00:00 Debian Importer Fixing VCID-n34c-71wq-s3e4 https://security-tracker.debian.org/tracker/data/json 38.1.0
2026-04-03T07:25:46.008341+00:00 Debian Importer Fixing VCID-37zk-9fax-v7e1 https://security-tracker.debian.org/tracker/data/json 38.1.0
2026-04-03T07:25:45.959509+00:00 Debian Importer Fixing VCID-andp-4snd-rbbt https://security-tracker.debian.org/tracker/data/json 38.1.0
2026-04-03T07:25:45.923467+00:00 Debian Importer Fixing VCID-zvd3-3b1h-77ef https://security-tracker.debian.org/tracker/data/json 38.1.0
2026-04-03T07:25:45.882549+00:00 Debian Importer Fixing VCID-3tpx-rnju-w3dw https://security-tracker.debian.org/tracker/data/json 38.1.0
2026-04-03T07:25:45.840821+00:00 Debian Importer Fixing VCID-t5dk-qg2g-3qhp https://security-tracker.debian.org/tracker/data/json 38.1.0