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.4.0-1
purl pkg:deb/debian/golang-go.crypto@1:0.4.0-1
Next non-vulnerable version 1:0.25.0-1~bpo12+1
Latest non-vulnerable version 1:0.43.0-2
Risk 4.5
Vulnerabilities affecting this package (6)
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.25.0-1~bpo12+1
Affected by 0 other vulnerabilities.
1:0.43.0-2
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.25.0-1~bpo12+1
Affected by 0 other vulnerabilities.
1:0.43.0-2
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.25.0-1~bpo12+1
Affected by 0 other vulnerabilities.
1:0.43.0-2
Affected by 0 other vulnerabilities.
VCID-jzn6-bzzf-nugp
Aliases:
CVE-2023-48795
GHSA-45x7-px36-x8w8
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.
1:0.25.0-1~bpo12+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.25.0-1~bpo12+1
Affected by 0 other vulnerabilities.
1:0.43.0-2
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.25.0-1~bpo12+1
Affected by 0 other vulnerabilities.
1:0.43.0-2
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (3)
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-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-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

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-16T13:30:08.874022+00:00 Debian Importer Affected by VCID-hu5a-ewvg-6ya7 https://security-tracker.debian.org/tracker/data/json 38.4.0
2026-04-16T13:16:32.277091+00:00 Debian Importer Fixing VCID-et4d-ak3r-1bfa https://security-tracker.debian.org/tracker/data/json 38.4.0
2026-04-16T13:14:45.382529+00:00 Debian Importer Affected by VCID-jwxs-gteb-kfg5 https://security-tracker.debian.org/tracker/data/json 38.4.0
2026-04-16T12:50:14.496827+00:00 Debian Importer Affected by VCID-mn45-w3s3-syej https://security-tracker.debian.org/tracker/data/json 38.4.0
2026-04-16T12:14:29.145219+00:00 Debian Importer Fixing VCID-n34c-71wq-s3e4 https://security-tracker.debian.org/tracker/data/json 38.4.0
2026-04-16T11:25:38.391437+00:00 Debian Importer Affected by VCID-cmts-6kz4-zkh8 https://security-tracker.debian.org/tracker/data/json 38.4.0
2026-04-16T10:30:04.923308+00:00 Debian Importer Affected by VCID-jzn6-bzzf-nugp https://security-tracker.debian.org/tracker/data/json 38.4.0
2026-04-16T09:51:47.721653+00:00 Debian Importer Affected by VCID-sty6-gwh1-hbcy https://security-tracker.debian.org/tracker/data/json 38.4.0
2026-04-16T08:42:00.962392+00:00 Debian Importer Fixing VCID-1n1h-e2p4-9yhs https://security-tracker.debian.org/tracker/data/json 38.4.0
2026-04-13T09:19:05.959382+00:00 Debian Importer Affected by VCID-hu5a-ewvg-6ya7 https://security-tracker.debian.org/tracker/data/json 38.3.0
2026-04-13T09:08:31.837999+00:00 Debian Importer Fixing VCID-et4d-ak3r-1bfa https://security-tracker.debian.org/tracker/data/json 38.3.0
2026-04-13T09:07:14.783847+00:00 Debian Importer Affected by VCID-jwxs-gteb-kfg5 https://security-tracker.debian.org/tracker/data/json 38.3.0
2026-04-13T08:48:34.384561+00:00 Debian Importer Affected by VCID-mn45-w3s3-syej https://security-tracker.debian.org/tracker/data/json 38.3.0
2026-04-13T08:22:24.465562+00:00 Debian Importer Fixing VCID-n34c-71wq-s3e4 https://security-tracker.debian.org/tracker/data/json 38.3.0
2026-04-13T07:47:05.508035+00:00 Debian Importer Affected by VCID-cmts-6kz4-zkh8 https://security-tracker.debian.org/tracker/data/json 38.3.0
2026-04-13T07:05:19.434312+00:00 Debian Importer Affected by VCID-jzn6-bzzf-nugp https://security-tracker.debian.org/tracker/data/json 38.3.0
2026-04-13T06:35:39.657228+00:00 Debian Importer Affected by VCID-sty6-gwh1-hbcy https://security-tracker.debian.org/tracker/data/json 38.3.0
2026-04-11T17:50:48.295342+00:00 Debian Importer Fixing VCID-1n1h-e2p4-9yhs https://security-tracker.debian.org/tracker/data/json 38.3.0
2026-04-08T20:11:17.666703+00:00 Debian Importer Affected by VCID-hu5a-ewvg-6ya7 https://security-tracker.debian.org/tracker/data/json 38.1.0
2026-04-08T20:04:44.783824+00:00 Debian Importer Fixing VCID-et4d-ak3r-1bfa https://security-tracker.debian.org/tracker/data/json 38.1.0
2026-04-08T20:03:57.554313+00:00 Debian Importer Affected by VCID-jwxs-gteb-kfg5 https://security-tracker.debian.org/tracker/data/json 38.1.0
2026-04-08T19:51:47.393993+00:00 Debian Importer Affected by VCID-mn45-w3s3-syej https://security-tracker.debian.org/tracker/data/json 38.1.0
2026-04-08T19:34:21.853781+00:00 Debian Importer Fixing VCID-n34c-71wq-s3e4 https://security-tracker.debian.org/tracker/data/json 38.1.0
2026-04-08T19:10:30.839747+00:00 Debian Importer Affected by VCID-cmts-6kz4-zkh8 https://security-tracker.debian.org/tracker/data/json 38.1.0
2026-04-08T18:42:33.008680+00:00 Debian Importer Affected by VCID-jzn6-bzzf-nugp https://security-tracker.debian.org/tracker/data/json 38.1.0
2026-04-08T18:22:57.518410+00:00 Debian Importer Affected by VCID-sty6-gwh1-hbcy https://security-tracker.debian.org/tracker/data/json 38.1.0
2026-04-04T16:03:30.824059+00:00 Debian Importer Fixing VCID-1n1h-e2p4-9yhs https://security-tracker.debian.org/tracker/data/json 38.1.0