Critical Buffer Overflow Vulnerability in PuTTY Package

putty Updated 02 Oct 2025

Summary

21/03/2019
N/A
Yes i
Critical
9.8

ALPINE-CVE-2019-9895: In PuTTY versions before 0.71 on Unix, a remotely triggerable buffer overflow exists in any kind of server-to-client forwarding. Affects putty versions < 0.71-r0. Fixed in 0.71-r0. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

PuTTY is a widely used open-source terminal emulator, serial console, and network file transfer application. It supports various network protocols, including SSH, Telnet, and SCP, making it a vital tool for secure remote access and file transfers. However, versions prior to 0.71 are susceptible to a critical buffer overflow vulnerability that can be exploited remotely, posing significant security risks to users.

Vulnerability Detail

In PuTTY versions before 0.71 on Unix, a remotely triggerable buffer overflow exists in any kind of server-to-client forwarding. This vulnerability can allow an attacker to execute arbitrary code on the victim's machine, leading to unauthorized access, data breaches, or complete system compromise. The vulnerability arises from improper handling of data during server-to-client communication, which can overflow the buffer and overwrite adjacent memory.

How To Fix

Minimum fixed version

0.71-r0

This is the first release that contains the fix.

sudo apk add --upgrade putty

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, users can disable server-to-client forwarding in PuTTY settings to prevent exploitation of this vulnerability until the package is updated. This can be done by navigating to the SSH settings and unchecking the 'Enable X11 forwarding' option.

Conclusion

The buffer overflow vulnerability in PuTTY versions prior to 0.71 poses a significant risk to users, allowing for potential remote code execution. It is crucial for users to update to the latest version to protect against this vulnerability. Additionally, utilizing tools like Vulert can help monitor and alert for open-source vulnerabilities in software applications.

See every vulnerability recorded for putty →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 9.8, indicating a critical level of severity.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

Exploitation of this vulnerability can lead to unauthorized access, data breaches, and complete system compromise.

Yes, a patch is available in version 0.71 of PuTTY. Users should update to this version to mitigate the risk.

If immediate updating is not possible, consider disabling server-to-client forwarding as a temporary workaround.

Related vulnerabilities

Recent vulnerabilities recorded for putty.

How To Fix

Minimum fixed version

0.71-r0

This is the first release that contains the fix.

sudo apk add --upgrade putty

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback