Releases31
Frequency5 months 3 weeks
Last Release
PuTTY is a free implementation of Telnet and SSH for Windows and Unix platforms, along with an `xterm` terminal emulator. ## Features - Unicode support - Control over the SSH encryption key and protocol version - Command-line SCP and SFTP clients, called "pscp" and "psftp" respectively - Control over port forwarding with SSH (local, remote or dynamic port forwarding), including built-in handling of X11 forwarding - Emulates most xterm, VT102 control sequences, as well as much of ECMA-48 terminal emulation - IP Version 6 support - Supports 3DES, AES, Arcfour, Blowfish, DES - Public-key authentication support - Support for local serial port connections ## Components - PuTTY: the Telnet, rlogin, and SSH client itself, which can also connect to a serial port - PSCP: an SCP client, i.e. command-line secure file copy - PSFTP: an SFTP client, i.e. general file transfer sessions much like FTP - PuTTYtel: a Telnet-only client - Plink: a command-line interface to the PuTTY back ends - Pageant: an SSH authentication agent for PuTTY, PSCP and Plink - PuTTYgen: an RSA, DSA, ECDSA and EdDSA key generation utility - pterm: a standalone terminal emulator ## Notes - **If the package is out of date please check [Version History](#versionhistory) for the latest submitted version. If you have a question, please ask it in [Chocolatey Community Package Discussions](https://github.com/chocolatey-community/chocolatey-packages/discussions) or raise an issue on the [Chocolatey Community Packages Repository](https://github.com/chocolatey-community/chocolatey-packages/issues) if you have problems with the package. Disqus comments will generally not be responded to.** - This meta package depends on [putty.portable](https://chocolatey.org/packages/putty.portable) rather than [putty.install](https://chocolatey.org/packages/putty.install) for historical reasons. Since this may violate expectation of certain users, consider installing the latter directly. - Support for putty 64bit have been added to the package when running chocolatey 0.10.4+, to keep using 32bit version of putty please pass `--x86` when installing/upgrading `putty.install` *(64bit installation may fail if 32bit is already installed)* - Use of PuTTY, PSCP, PSFTP and Plink is illegal in countries where encryption is outlawed. - We believe it is legal to use PuTTY, PSCP, PSFTP and Plink in England and Wales and in many other countries, but we are not lawyers, and so if in doubt you should seek legal advice before downloading it. - You may find useful information at [cryptolaw.org](http://www.cryptolaw.org/), which collects information on cryptography laws in many countries, but we can't vouch for its correctness. ![screenshot](https://cdn.rawgit.com/chocolatey/chocolatey-coreteampackages/master/automatic/putty.install/screenshot.png)

CVE History

CVEAffectedPublishedCVSS v3CVSS v2
>= 0.71, < 0.843.7 LOW

PuTTY 0.71 before 0.84 has an assertion failure in ECDSA signature verification.

>= 0.77, < 0.843.1 LOW

PuTTY 0.77 before 0.84 uses a copy of the PuTTY icon as a trust indication for TELNET data but the trust status is not cleared between proxy authentication and the main session.

>= 0.72, < 0.843.7 LOW

PuTTY 0.72 before 0.84 has a double free in RSA KEX.

= 0.833.7 LOW2.6 LOW

A vulnerability was detected in PuTTY 0.83. Affected is the function eddsa_verify of the file crypto/ecc-ssh.c of the component Ed25519 Signature Handler. The manipulation results in improper verification of cryptographic signature. The attack may be performed from remote. The attack requires a high level of complexity. The exploitability is told to be difficult. The exploit is now public and may be used. The real existence of this vulnerability is still doubted at the moment. The patch is identified as af996b5ec27ab79bae3882071b9d6acf16044549. It is advisable to implement a patch to correct this issue. The vendor was contacted early, responded in a very professional manner and quickly released a patch for the affected product. However, at the moment there is no proof that this flaw might have any real-world impact.

>= 0.68, < 0.815.9 MEDIUM

In PuTTY 0.68 through 0.80 before 0.81, biased ECDSA nonce generation allows an attacker to recover a user's NIST P-521 secret key via a quick attack in approximately 60 signatures. This is especially important in a scenario where an adversary is able to read messages signed by PuTTY or Pageant. The required set of signed messages may be publicly readable because they are stored in a public Git service that supports use of SSH for commit signing, and the signatures were made by Pageant through an agent-forwarding mechanism. In other words, an adversary may already have enough signature information to compromise a victim's private key, even if there is no further use of vulnerable PuTTY versions. After a key compromise, an adversary may be able to conduct supply-chain attacks on software maintained in Git. A second, independent scenario is that the adversary is an operator of an SSH server to which the victim authenticates (for remote login or file copy), even though this server is not fully trusted by the victim, and the victim uses the same private key for SSH connections to other services operated by other entities. Here, the rogue server operator (who would otherwise have no way to determine the victim's private key) can derive the victim's private key, and then use it for unauthorized access to those other services. If the other services include Git services, then again it may be possible to conduct supply-chain attacks on software maintained in Git. This also affects, for example, FileZilla before 3.67.0, WinSCP before 6.3.3, TortoiseGit before 2.15.0.1, and TortoiseSVN through 1.14.6.

< 0.805.9 MEDIUM

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 [email protected] and (if CBC is used) the [email protected] 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.

<= 0.758.1 HIGH5.8 MEDIUM

PuTTY through 0.75 proceeds with establishing an SSH session even if it has never sent a substantive authentication response. This makes it easier for an attacker-controlled SSH server to present a later spoofed authentication prompt (that the attacker can use to capture credential data, and use that data for purposes that are undesired by the client user).

< 0.757.5 HIGH5 MEDIUM

PuTTY before 0.75 on Windows allows remote servers to cause a denial of service (Windows GUI hang) by telling the PuTTY window to change its title repeatedly at high speed, which results in many SetWindowTextA or SetWindowTextW calls. NOTE: the same attack methodology may affect some OS-level GUIs on Linux or other platforms for similar reasons.

>= 0.68, <= 0.735.9 MEDIUM4.3 MEDIUM

PuTTY 0.68 through 0.73 has an Observable Discrepancy leading to an information leak in the algorithm negotiation. This allows man-in-the-middle attackers to target initial connection attempts (where no host key for the server has been cached by the client).

< 0.739.8 CRITICAL7.5 HIGH

PuTTY before 0.73 on Windows improperly opens port-forwarding listening sockets, which allows attackers to listen on the same port to steal an incoming connection.

< 0.737.5 HIGH5 MEDIUM

PuTTY before 0.73 mishandles the "bracketed paste mode" protection mechanism, which may allow a session to be affected by malicious clipboard content.

< 0.737.5 HIGH5 MEDIUM

PuTTY before 0.73 might allow remote SSH-1 servers to cause a denial of service by accessing freed memory locations via an SSH1_MSG_DISCONNECT message.

< 0.717.5 HIGH

In PuTTY versions before 0.71 on Unix, a remotely triggerable buffer overflow exists in any kind of server-to-client forwarding.

< 0.717.8 HIGH4.6 MEDIUM

In PuTTY versions before 0.71 on Windows, local attackers could hijack the application by putting a malicious help file in the same directory as the executable.

< 0.715 MEDIUM

Multiple denial-of-service attacks that can be triggered by writing to the terminal exist in PuTTY versions before 0.71.

< 0.717.5 HIGH

Potential recycling of random numbers used in cryptography exists within PuTTY before 0.71.

< 0.716.4 MEDIUM

A remotely triggerable memory overwrite in RSA key exchange in PuTTY before 0.71 can occur before host key verification.

<= 0.677.5 HIGH

The ssh_agent_channel_data function in PuTTY before 0.68 allows remote attackers to have unspecified impact via a large length value in an agent protocol message and leveraging the ability to connect to the Unix-domain socket representing the forwarded agent connection, which trigger a buffer overflow.

= 0.677.8 HIGH4.4 MEDIUM

Multiple untrusted search path vulnerabilities in Putty beta 0.67 allow local users to execute arbitrary code and conduct DLL hijacking attacks via a Trojan horse (1) UxTheme.dll or (2) ntmarta.dll file in the current working directory.

= 0.51, = 0.53, = 0.55, = 0.53b, = 0.52, = 0.54, = 0.56, = 0.57, = 0.58, = 0.62, = 0.63, = 0.59, = 0.60, = 0.612.1 LOW

The (1) ssh2_load_userkey and (2) ssh2_save_userkey functions in PuTTY 0.51 through 0.63 do not properly wipe SSH-2 private keys from memory, which allows local users to obtain sensitive information by reading the memory.

= 0.59, = 0.60, = 0.612.1 LOW

PuTTY 0.59 through 0.61 does not clear sensitive process memory when managing user replies that occur during keyboard-interactive authentication, which might allow local users to read login passwords by obtaining access to the process' memory.

= 0.50, = 0.49, = 0.51, = 0.53, = 0.55, <= 0.62, = 0.53b, = 0.52, = 0.48, = 0.58, = 0.57, = 0.56, = 0.61, = 0.59, = 0.54, = 0.46, = 2010-06-01, = 0.60, = 0.47, = 0.456.8 MEDIUM

Integer overflow in PuTTY 0.62 and earlier, WinSCP before 5.1.6, and other products that use PuTTY allows remote SSH servers to cause a denial of service (crash) and possibly execute arbitrary code in certain applications that use PuTTY via a negative size value in an RSA key signature during the SSH handshake, which triggers a heap-based buffer overflow.

= 0.50, = 0.49, = 0.51, = 0.53, = 0.55, <= 0.62, = 0.53b, = 0.52, = 0.48, = 0.54, = 0.61, = 0.60, = 0.59, = 0.47, = 0.46, = 0.45, = 0.57, = 0.58, = 0.562.1 LOW

The rsa_verify function in PuTTY before 0.63 (1) does not clear sensitive process memory after use and (2) does not free certain structures containing sensitive process memory, which might allow local users to discover private RSA and DSA keys.

= 0.50, = 0.49, = 0.51, = 0.53, = 0.55, <= 0.62, = 0.53b, = 0.52, = 0.48, = 0.57, = 0.56, = 0.54, = 0.47, = 0.46, = 0.60, = 0.58, = 0.45, = 0.61, = 0.59, = 2010-06-014.3 MEDIUM

Buffer overflow in sshbn.c in PuTTY before 0.63 allows remote SSH servers to cause a denial of service (crash) via an invalid DSA signature that is not properly handled during computation of a modular inverse and triggers the overflow during a division by zero by the bignum functionality, a different vulnerability than CVE-2013-4206.

= 0.50, = 0.49, = 0.51, = 0.53, = 0.55, <= 0.62, = 0.53b, = 0.52, = 0.48, = 0.61, = 0.60, = 0.59, = 0.58, = 0.57, = 0.45, = 2010-06-01, = 0.47, = 0.56, = 0.54, = 0.466.8 MEDIUM

Heap-based buffer underflow in the modmul function in sshbn.c in PuTTY before 0.63 allows remote SSH servers to cause a denial of service (crash) and possibly trigger memory corruption or code execution via a crafted DSA signature, which is not properly handled when performing certain bit-shifting operations during modular multiplication.