The developers of OpenSSH, a popular implementation of the Secure Shell (SSH) protocol, today announced the availability of an update that patches several security bugs.
OpenSSH 7.1p2 resolves a serious information disclosure vulnerability (CVE-2016-0777) related to SSH roaming, a feature designed to enable clients to resume an SSH session at a later time if the connection breaks unexpectedly.
The problematic feature, present in client versions between 5.4 and 7.1, introduces a memory disclosure flaw that allows a rogue SSH server to trick a client into leaking sensitive data, including private keys, from its memory.
“The matching server code has never been shipped, but the client code was enabled by default and could be tricked by a malicious server into leaking client memory to the server, including private client user keys,” OpenSSH developers noted in an advisory. “The authentication of the server host key prevents exploitation by a man-in-the-middle, so this information leak is restricted to connections to malicious or compromised servers.”
Another flaw found in the SSH roaming code is a buffer overflow (CVE-2016-0778) that could lead to a file descriptor leak. However, this issue is less severe since it’s possibly not exploitable or exploitable only in certain circumstances — not the default configuration.
Both vulnerabilities, identified by researchers at Qualys, have been patched by completely disabling the roaming code in the OpenSSH client.
Patches have been made available for Debian, and Red Hat should also have security updates ready soon. Until patches are applied, users can add the “UseRoaming no” option to either the global /etc/ssh/ssh_config file or the user configuration in ~/.ssh/config.
OpenSSH 7.1p2 also eliminates fallback from untrusted X11-forwarding to trusted forwarding in case the X server disables the SECURITY extension. The latest version also addresses an out-of-bounds read access flaw in the packet handling code.
Related: OpenSSH Vulnerability Exposes Servers to Brute Force Attacks
Related: OpenSSH 7.0 Fixes Authentication Vulnerability, Other Security Bugs

Eduard Kovacs (@EduardKovacs) is a contributing editor at SecurityWeek. He worked as a high school IT teacher for two years before starting a career in journalism as Softpedia’s security news reporter. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.
More from Eduard Kovacs
- Critical Baicells Device Vulnerability Can Expose Telecoms Networks to Snooping
- SecurityWeek Analysis: Over 450 Cybersecurity M&A Deals Announced in 2022
- VMware ESXi Servers Targeted in Ransomware Attack via Old Vulnerability
- High-Severity Privilege Escalation Vulnerability Patched in VMware Workstation
- GoAnywhere MFT Users Warned of Zero-Day Exploit
- UK Car Retailer Arnold Clark Hit by Ransomware
- EV Charging Management System Vulnerabilities Allow Disruption, Energy Theft
- Unpatched Econolite Traffic Controller Vulnerabilities Allow Remote Hacking
Latest News
- Comcast Wants a Slice of the Enterprise Cybersecurity Business
- Critical Baicells Device Vulnerability Can Expose Telecoms Networks to Snooping
- New York Attorney General Fines Vendor for Illegally Promoting Spyware
- SecurityWeek Analysis: Over 450 Cybersecurity M&A Deals Announced in 2022
- 20 Million Users Impacted by Data Breach at Instant Checkmate, TruthFinder
- Cyber Insights 2023 | Zero Trust and Identity and Access Management
- Cyber Insights 2023 | The Coming of Web3
- European Police Arrest 42 After Cracking Covert App
