← Vulnerability feed

Vulnerability record · CVE-2016-0777 · published 14 January 2016

CVE-2016-0777: OpenSSH client memory disclosure via roaming resend_bytes

Sophos · Unified Threat Management Software

The resend_bytes function in the OpenSSH client's roaming_common.c mishandles buffer resend requests, allowing a malicious or compromised SSH server to read process memory from the connecting client. Because the leaked memory can include the client's private key material, this undermines the confidentiality of credentials used for authentication.

6.5 CVSS 3.1 Medium EPSS 63% · top 0.8% CWE-200 · Information exposure
6.5CVSS 3.1 base score, v2 4.0
63%EPSS exploitation probability, 30 days
NoNot in CISA KEV
6Affected product versions listed by NVD
68References
17 Jun 2026Last modified by NVD

Description

The resend_bytes function in roaming_common.c in the client in OpenSSH 5.x, 6.x, and 7.x before 7.1p2 allows remote servers to obtain sensitive information from process memory by requesting transmission of an entire buffer, as demonstrated by reading a private key.

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: high.

high priorityThe flaw leaks private key material with a high EPSS score, though it requires connecting to a malicious server and is not known to be actively exploited.

What it is

The resend_bytes function in the OpenSSH client's roaming_common.c mishandles buffer resend requests, allowing a malicious or compromised SSH server to read process memory from the connecting client. Because the leaked memory can include the client's private key material, this undermines the confidentiality of credentials used for authentication.

Impact

An attacker controlling the SSH server can obtain sensitive client process memory, including private keys, enabling impersonation of the victim against other systems that trust those keys.

Attack surface

Reached over the network when a client connects to a malicious or compromised SSH server; no user interaction beyond initiating the connection is required, and the CVSS vector indicates low privileges (PR:L) with no UI.

Exploitation

Not listed in CISA KEV and no ransomware associations are documented, but EPSS is high at 0.635 (99.2nd percentile), and references are advisories and vendor bulletins rather than exploit code.

What to do

  • Upgrade OpenSSH clients to 7.1p2 or later, or apply the vendor patch for your distribution.
  • Disable roaming in the client configuration (UseRoaming no) as a workaround where patching is delayed.
  • Rotate any SSH private keys that may have been used from unpatched clients connecting to untrusted servers.
  • Inventory OpenSSH client versions across managed endpoints and embedded products (UTM, macOS, Solaris, Linux) and prioritize those still below 7.1p2.

Detection

  • Monitor SSH client connections to untrusted or external servers from hosts running OpenSSH versions below 7.1p2.
  • Audit client configurations for UseRoaming settings and flag hosts where roaming is enabled.
  • Review authentication logs for unexpected key-based logins that could indicate a leaked private key being reused.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

6 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10734 Third Party Advisory
http://lists.apple.com/archives/security-announce/2016/Mar/msg00004.html Mailing ListThird Party Advisory
http://lists.fedoraproject.org/pipermail/package-announce/2016-February/176516.html Mailing ListThird Party Advisory
http://lists.fedoraproject.org/pipermail/package-announce/2016-January/175592.html Mailing ListThird Party Advisory
http://lists.fedoraproject.org/pipermail/package-announce/2016-January/175676.html Mailing ListThird Party Advisory
http://lists.fedoraproject.org/pipermail/package-announce/2016-January/176349.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-01/msg00006.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-01/msg00007.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-01/msg00008.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-01/msg00009.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-01/msg00013.html Mailing ListThird Party Advisory
http://lists.opensuse.org/opensuse-security-announce/2016-01/msg00014.html Mailing ListThird Party Advisory
http://packetstormsecurity.com/files/135273/Qualys-Security-Advisory-OpenSSH-Overflow-Leak.html Third Party AdvisoryVDB Entry
http://seclists.org/fulldisclosure/2016/Jan/44 Mailing ListThird Party Advisory
http://www.debian.org/security/2016/dsa-3446 Third Party Advisory
http://www.openssh.com/txt/release-7.1p2 Vendor Advisory
http://www.openwall.com/lists/oss-security/2016/01/14/7 Mailing ListThird Party Advisory
http://www.oracle.com/technetwork/topics/security/bulletinoct2015-2511968.html Third Party Advisory
http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html Third Party Advisory
http://www.securityfocus.com/archive/1/537295/100/0/threaded Third Party AdvisoryVDB Entry
http://www.securityfocus.com/bid/80695 Third Party AdvisoryVDB Entry
http://www.securitytracker.com/id/1034671 Third Party AdvisoryVDB Entry
http://www.ubuntu.com/usn/USN-2869-1 Third Party Advisory
https://blogs.sophos.com/2016/02/17/utm-up2date-9-354-released/ Third Party Advisory
https://blogs.sophos.com/2016/02/29/utm-up2date-9-319-released/ Third Party Advisory
https://bto.bluecoat.com/security-advisory/sa109 Third Party Advisory
https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf
https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05247375 Third Party Advisory
https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05356388 Third Party Advisory
https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05385680 Third Party Advisory
https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05390722 Third Party Advisory
https://security.FreeBSD.org/advisories/FreeBSD-SA-16:07.openssh.asc Third Party Advisory
https://security.gentoo.org/glsa/201601-01 Third Party Advisory
https://support.apple.com/HT206167 Third Party Advisory
http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10734 Third Party Advisory
http://lists.apple.com/archives/security-announce/2016/Mar/msg00004.html Mailing ListThird Party Advisory
http://lists.fedoraproject.org/pipermail/package-announce/2016-February/176516.html Mailing ListThird Party Advisory
http://lists.fedoraproject.org/pipermail/package-announce/2016-January/175592.html Mailing ListThird Party Advisory
http://lists.fedoraproject.org/pipermail/package-announce/2016-January/175676.html Mailing ListThird Party Advisory
http://lists.fedoraproject.org/pipermail/package-announce/2016-January/176349.html Mailing ListThird Party Advisory

Track CVE-2016-0777 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2020-14871Oracle Solaris PAM out-of-bounds write allows remote unauthenticated takeoverOracle Solaris 10 and 11 contain an out-of-bounds write (CWE-787) in the Pluggable Authentication Module component, reachable over the network withou…KEVEPSS 80%analysed9.8CVE-2021-1870Apple WebKit logic flaw allows remote code executionA logic issue in Apple's WebKit was addressed with improved restrictions, affecting macOS Big Sur, Catalina, Mojave, iOS and iPadOS, plus WebKitGTK a…KEVEPSS 7.7%analysed9.8CVE-2021-1871Apple WebKit logic flaw allows remote code executionA logic issue in Apple's WebKit was addressed with improved restrictions. It affects macOS Big Sur, Catalina, Mojave, iOS and iPadOS, and a remote at…KEVEPSS 7.0%analysed9.8CVE-2016-3427Oracle Java SE JMX Improper Access Control VulnerabilityCVE-2016-3427 is an unspecified vulnerability in Oracle Java SE 6u113, 7u99, 8u77, Java SE Embedded 8u77, and JRockit R28.3.9, reached through vector…KEVEPSS 92%analysed9.8CVE-2014-7169GNU Bash environment variable function parsing command injection (Shellshock variant)GNU Bash through 4.3 bash43-025 processes trailing strings after malformed function definitions in environment variable values, allowing command inje…KEVEPSS 100%analysed9.8CVE-2014-6271GNU Bash environment variable command injection (ShellShock)GNU Bash through 4.3 processes trailing strings after function definitions in environment variable values, allowing injected commands to run when Bas…KEVEPSS 100%analysed9.8CVE-2012-1823PHP-CGI query string option injection enables remote code executionPHP versions before 5.3.12 and 5.4.x before 5.4.2, when run as a CGI script (php-cgi), mishandle query strings that lack an equals sign, allowing com…KEVEPSS 100%analysed8.8CVE-2022-2294Google Chrome WebRTC heap buffer overflow via crafted HTML pageCVE-2022-2294 is a heap buffer overflow in the WebRTC component of Google Chrome prior to 103.0.5060.114. A remote attacker can trigger heap corrupti…KEVEPSS 70%analysed

Source: NIST National Vulnerability Database (record CVE-2016-0777), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.