Every CVE Search/ Get API key

CVE-2016-0777

The resend_bytes function in roaming_common.c in the client in OpenSSH 5.x, 6.x, and 7.x before 7...

6.5 MediumPublic exploitFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
None
Availability
None

Exploit likelihood

63.5%Up 61.9 points since Feb 4, 2022
90%50%10%1%

What each source reports

CVE List 6.5

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.

Record
CVE-2016-0777
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-200
Updated
2026-11-02
EUVDEUVD-2016-0792 6.5

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.

Record
EUVD-2016-0792
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-9h73-2pqx-3jh8 6.5

The resend_bytes function in roaming_common.c in the client in OpenSSH 5.x, 6.x, and 7.x before 7...

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.

Record
GHSA-9h73-2pqx-3jh8
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-200
Updated
2026-11-02
NVD 6.5

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.

Record
CVE-2016-0777
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS 2.0
4.0 MediumAV:N/AC:L/Au:S/C:P/I:N/A:N
Weakness
CWE-200
Updated
2026-11-02
OSV 6.5

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.

Record
CVE-2016-0777
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVDEBIAN-CVE-2016-0777 6.5

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.

Record
DEBIAN-CVE-2016-0777
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
Show 8 moreShow less
OSVUBUNTU-CVE-2016-0777 6.5

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.

Record
UBUNTU-CVE-2016-0777
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS 3.0
6.5 MediumCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVMGASA-2016-0022 No score

Updated openssh packages fix security vulnerabilities

An information leak flaw was found in the way the OpenSSH client roaming feature was implemented. A malicious server could potentially use this flaw to leak portions of memory (possibly including private SSH keys) of a successfully authenticated OpenSSH client (CVE-2016-0777).

A buffer overflow flaw was found in the way the OpenSSH client roaming feature was implemented. A malicious server could potentially use this flaw to execute arbitrary code on a successfully authenticated OpenSSH client if that client used certain non-default configuration options (CVE-2016-0778).

The issue only affects OpenSSH clients making use of the ProxyCommand feature. This update disables the roaming feature completely.

Record
MGASA-2016-0022
Updated
2026-11-02
OSVopenSUSE-SU-2024:10174-1 No score

openssh-7.2p2-3.1 on GA media

These are all security issues fixed in the openssh-7.2p2-3.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:10174-1
Updated
2026-11-02
OSVSUSE-SU-2016:0117-1 No score

Security update for openssh-openssl1

This update for openssh-openssl1 fixes the following issues:

  • CVE-2016-0777: A malicious or compromised server could cause the OpenSSH client to expose part or all of the client's private key through the roaming feature (bsc#961642)
  • CVE-2016-0778: A malicious or compromised server could could trigger a buffer overflow in the OpenSSH client through the roaming feature (bsc#961645)

This update disables the undocumented feature supported by the OpenSSH client and a commercial SSH server.

Record
SUSE-SU-2016:0117-1
Updated
2026-11-02
OSVSUSE-SU-2016:0118-1 No score

Security update for openssh

This update for openssh fixes the following issues:

  • CVE-2016-0777: A malicious or compromised server could cause the OpenSSH client to expose part or all of the client's private key through the roaming feature (bsc#961642)
  • CVE-2016-0778: A malicious or compromised server could could trigger a buffer overflow in the OpenSSH client through the roaming feature (bsc#961645)

This update disables the undocumented feature supported by the OpenSSH client and a commercial SSH server.

Record
SUSE-SU-2016:0118-1
Updated
2026-11-02
OSVSUSE-SU-2016:0119-1 No score

Security update for openssh

This update for openssh fixes the following issues:

  • CVE-2016-0777: A malicious or compromised server could cause the OpenSSH client to expose part or all of the client's private key through the roaming feature (bsc#961642)
  • CVE-2016-0778: A malicious or compromised server could could trigger a buffer overflow in the OpenSSH client through the roaming feature (bsc#961645)

This update disables the undocumented feature supported by the OpenSSH client and a commercial SSH server.

Record
SUSE-SU-2016:0119-1
Updated
2026-11-02
OSVSUSE-SU-2016:0120-1 No score

Security update for openssh

This update for openssh fixes the following issues:

  • CVE-2016-0777: A malicious or compromised server could cause the OpenSSH client to expose part or all of the client's private key through the roaming feature (bsc#961642)
  • CVE-2016-0778: A malicious or compromised server could could trigger a buffer overflow in the OpenSSH client through the roaming feature (bsc#961645)

This update disables the undocumented feature supported by the OpenSSH client and a commercial SSH server.

Record
SUSE-SU-2016:0120-1
Updated
2026-11-02
OSVUSN-2869-1 No score

openssh vulnerabilities

It was discovered that the OpenSSH client experimental support for resuming connections contained multiple security issues. A malicious server could use this issue to leak client memory to the server, including private client user keys.

Record
USN-2869-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
openssh
Debian:12
before 1:7.1p2-1
1:7.1p2-1
openssh
Debian:13
before 1:7.1p2-1
1:7.1p2-1
openssh
Debian:14
before 1:7.1p2-1
1:7.1p2-1
openssh
Debian:6.0
From an advisory covering 2 CVEs
before 1:5.5p1-6+squeeze8, plus listed versions
1:5.5p1-61:5.5p1-6+squeeze11:5.5p1-6+squeeze21:5.5p1-6+squeeze31:5.5p1-6+squeeze41:5.5p1-6+squeeze51:5.5p1-6+squeeze61:5.5p1-6+squeeze7
1:5.5p1-6+squeeze8
openssh
Debian:7
From an advisory covering 2 CVEs
before 1:6.0p1-4+deb7u3, plus listed versions
1:6.0p1-41:6.0p1-4+deb7u11:6.0p1-4+deb7u2
1:6.0p1-4+deb7u3
openssh
Debian:8
From an advisory covering 2 CVEs
before 1:6.7p1-5+deb8u1, plus listed versions
1:6.7p1-5
1:6.7p1-5+deb8u1
openssh
Mageia:5
From an advisory covering 2 CVEs
before 6.6p1-5.6.mga5
6.6p1-5.6.mga5
openssh
Red Hat:enterprise_linux:7::client
From an advisory covering 2 CVEs
before 0:6.6.1p1-23.el7_2
0:6.6.1p1-23.el7_2
openssh-askpass
Red Hat:enterprise_linux:7::client
From an advisory covering 2 CVEs
before 0:6.6.1p1-23.el7_2
0:6.6.1p1-23.el7_2
openssh-clients
Red Hat:enterprise_linux:7::client
From an advisory covering 2 CVEs
before 0:6.6.1p1-23.el7_2
0:6.6.1p1-23.el7_2
Show 63 moreShow less
Affected packages
PackageAffectedFixed
openssh-debuginfo
Red Hat:enterprise_linux:7::client
From an advisory covering 2 CVEs
before 0:6.6.1p1-23.el7_2
0:6.6.1p1-23.el7_2
openssh-keycat
Red Hat:enterprise_linux:7::client
From an advisory covering 2 CVEs
before 0:6.6.1p1-23.el7_2
0:6.6.1p1-23.el7_2
openssh-server
Red Hat:enterprise_linux:7::client
From an advisory covering 2 CVEs
before 0:6.6.1p1-23.el7_2
0:6.6.1p1-23.el7_2
openssh-ldap
Red Hat:enterprise_linux:7::client
From an advisory covering 2 CVEs
before 0:6.6.1p1-23.el7_2
0:6.6.1p1-23.el7_2
openssh-server-sysvinit
Red Hat:enterprise_linux:7::client
From an advisory covering 2 CVEs
before 0:6.6.1p1-23.el7_2
0:6.6.1p1-23.el7_2
pam_ssh_agent_auth
Red Hat:enterprise_linux:7::client
From an advisory covering 2 CVEs
before 0:0.9.3-9.23.el7_2
0:0.9.3-9.23.el7_2
openssh
Red Hat:enterprise_linux:7::computenode
From an advisory covering 2 CVEs
before 0:6.6.1p1-23.el7_2
0:6.6.1p1-23.el7_2
openssh-clients
Red Hat:enterprise_linux:7::computenode
From an advisory covering 2 CVEs
before 0:6.6.1p1-23.el7_2
0:6.6.1p1-23.el7_2
openssh-debuginfo
Red Hat:enterprise_linux:7::computenode
From an advisory covering 2 CVEs
before 0:6.6.1p1-23.el7_2
0:6.6.1p1-23.el7_2
openssh-keycat
Red Hat:enterprise_linux:7::computenode
From an advisory covering 2 CVEs
before 0:6.6.1p1-23.el7_2
0:6.6.1p1-23.el7_2
openssh-server
Red Hat:enterprise_linux:7::computenode
From an advisory covering 2 CVEs
before 0:6.6.1p1-23.el7_2
0:6.6.1p1-23.el7_2
openssh-askpass
Red Hat:enterprise_linux:7::computenode
From an advisory covering 2 CVEs
before 0:6.6.1p1-23.el7_2
0:6.6.1p1-23.el7_2
openssh-ldap
Red Hat:enterprise_linux:7::computenode
From an advisory covering 2 CVEs
before 0:6.6.1p1-23.el7_2
0:6.6.1p1-23.el7_2
openssh-server-sysvinit
Red Hat:enterprise_linux:7::computenode
From an advisory covering 2 CVEs
before 0:6.6.1p1-23.el7_2
0:6.6.1p1-23.el7_2
pam_ssh_agent_auth
Red Hat:enterprise_linux:7::computenode
From an advisory covering 2 CVEs
before 0:0.9.3-9.23.el7_2
0:0.9.3-9.23.el7_2
openssh
Red Hat:enterprise_linux:7::server
From an advisory covering 2 CVEs
before 0:6.6.1p1-23.el7_2
0:6.6.1p1-23.el7_2
openssh-askpass
Red Hat:enterprise_linux:7::server
From an advisory covering 2 CVEs
before 0:6.6.1p1-23.el7_2
0:6.6.1p1-23.el7_2
openssh-clients
Red Hat:enterprise_linux:7::server
From an advisory covering 2 CVEs
before 0:6.6.1p1-23.el7_2
0:6.6.1p1-23.el7_2
openssh-debuginfo
Red Hat:enterprise_linux:7::server
From an advisory covering 2 CVEs
before 0:6.6.1p1-23.el7_2
0:6.6.1p1-23.el7_2
openssh-keycat
Red Hat:enterprise_linux:7::server
From an advisory covering 2 CVEs
before 0:6.6.1p1-23.el7_2
0:6.6.1p1-23.el7_2
openssh-server
Red Hat:enterprise_linux:7::server
From an advisory covering 2 CVEs
before 0:6.6.1p1-23.el7_2
0:6.6.1p1-23.el7_2
openssh-ldap
Red Hat:enterprise_linux:7::server
From an advisory covering 2 CVEs
before 0:6.6.1p1-23.el7_2
0:6.6.1p1-23.el7_2
openssh-server-sysvinit
Red Hat:enterprise_linux:7::server
From an advisory covering 2 CVEs
before 0:6.6.1p1-23.el7_2
0:6.6.1p1-23.el7_2
pam_ssh_agent_auth
Red Hat:enterprise_linux:7::server
From an advisory covering 2 CVEs
before 0:0.9.3-9.23.el7_2
0:0.9.3-9.23.el7_2
openssh
Red Hat:enterprise_linux:7::workstation
From an advisory covering 2 CVEs
before 0:6.6.1p1-23.el7_2
0:6.6.1p1-23.el7_2
openssh-askpass
Red Hat:enterprise_linux:7::workstation
From an advisory covering 2 CVEs
before 0:6.6.1p1-23.el7_2
0:6.6.1p1-23.el7_2
openssh-clients
Red Hat:enterprise_linux:7::workstation
From an advisory covering 2 CVEs
before 0:6.6.1p1-23.el7_2
0:6.6.1p1-23.el7_2
openssh-debuginfo
Red Hat:enterprise_linux:7::workstation
From an advisory covering 2 CVEs
before 0:6.6.1p1-23.el7_2
0:6.6.1p1-23.el7_2
openssh-keycat
Red Hat:enterprise_linux:7::workstation
From an advisory covering 2 CVEs
before 0:6.6.1p1-23.el7_2
0:6.6.1p1-23.el7_2
openssh-server
Red Hat:enterprise_linux:7::workstation
From an advisory covering 2 CVEs
before 0:6.6.1p1-23.el7_2
0:6.6.1p1-23.el7_2
openssh-ldap
Red Hat:enterprise_linux:7::workstation
From an advisory covering 2 CVEs
before 0:6.6.1p1-23.el7_2
0:6.6.1p1-23.el7_2
openssh-server-sysvinit
Red Hat:enterprise_linux:7::workstation
From an advisory covering 2 CVEs
before 0:6.6.1p1-23.el7_2
0:6.6.1p1-23.el7_2
pam_ssh_agent_auth
Red Hat:enterprise_linux:7::workstation
From an advisory covering 2 CVEs
before 0:0.9.3-9.23.el7_2
0:0.9.3-9.23.el7_2
openssh-openssl1
SUSE:Linux Enterprise Server 11-SECURITY
From an advisory covering 2 CVEs
before 6.6p1-10.1
6.6p1-10.1
openssh
SUSE:Linux Enterprise Desktop 12
From an advisory covering 2 CVEs
before 6.6p1-33.1
6.6p1-33.1
openssh-askpass-gnome
SUSE:Linux Enterprise Desktop 12
From an advisory covering 2 CVEs
before 6.6p1-33.1
6.6p1-33.1
openssh
SUSE:Linux Enterprise Desktop 12 SP1
From an advisory covering 2 CVEs
before 6.6p1-33.1
6.6p1-33.1
openssh-askpass-gnome
SUSE:Linux Enterprise Desktop 12 SP1
From an advisory covering 2 CVEs
before 6.6p1-33.1
6.6p1-33.1
openssh
SUSE:Linux Enterprise Server 12
From an advisory covering 2 CVEs
before 6.6p1-33.1
6.6p1-33.1
openssh-askpass-gnome
SUSE:Linux Enterprise Server 12
From an advisory covering 2 CVEs
before 6.6p1-33.1
6.6p1-33.1
openssh
SUSE:Linux Enterprise Server for SAP Applications 12
From an advisory covering 2 CVEs
before 6.6p1-33.1
6.6p1-33.1
openssh-askpass-gnome
SUSE:Linux Enterprise Server for SAP Applications 12
From an advisory covering 2 CVEs
before 6.6p1-33.1
6.6p1-33.1
openssh
SUSE:Linux Enterprise Server 12 SP1
From an advisory covering 2 CVEs
before 6.6p1-33.1
6.6p1-33.1
openssh-askpass-gnome
SUSE:Linux Enterprise Server 12 SP1
From an advisory covering 2 CVEs
before 6.6p1-33.1
6.6p1-33.1
openssh
SUSE:Linux Enterprise Server for SAP Applications 12 SP1
From an advisory covering 2 CVEs
before 6.6p1-33.1
6.6p1-33.1
openssh-askpass-gnome
SUSE:Linux Enterprise Server for SAP Applications 12 SP1
From an advisory covering 2 CVEs
before 6.6p1-33.1
6.6p1-33.1
openssh
SUSE:Linux Enterprise Desktop 11 SP3
From an advisory covering 2 CVEs
before 6.2p2-0.24.1
6.2p2-0.24.1
openssh-askpass-gnome
SUSE:Linux Enterprise Desktop 11 SP3
From an advisory covering 2 CVEs
before 6.2p2-0.24.3
6.2p2-0.24.3
openssh
SUSE:Linux Enterprise Server 11 SP3
From an advisory covering 2 CVEs
before 6.2p2-0.24.1
6.2p2-0.24.1
openssh-askpass-gnome
SUSE:Linux Enterprise Server 11 SP3
From an advisory covering 2 CVEs
before 6.2p2-0.24.3
6.2p2-0.24.3
openssh
SUSE:Linux Enterprise Server 11 SP3-TERADATA
From an advisory covering 2 CVEs
before 6.2p2-0.24.1
6.2p2-0.24.1
openssh-askpass-gnome
SUSE:Linux Enterprise Server 11 SP3-TERADATA
From an advisory covering 2 CVEs
before 6.2p2-0.24.3
6.2p2-0.24.3
openssh
SUSE:Linux Enterprise Server for SAP Applications 11 SP3
From an advisory covering 2 CVEs
before 6.2p2-0.24.1
6.2p2-0.24.1
openssh-askpass-gnome
SUSE:Linux Enterprise Server for SAP Applications 11 SP3
From an advisory covering 2 CVEs
before 6.2p2-0.24.3
6.2p2-0.24.3
openssh
SUSE:Linux Enterprise Desktop 11 SP4
From an advisory covering 2 CVEs
before 6.6p1-16.1
6.6p1-16.1
openssh-askpass-gnome
SUSE:Linux Enterprise Desktop 11 SP4
From an advisory covering 2 CVEs
before 6.6p1-16.4
6.6p1-16.4
openssh
SUSE:Linux Enterprise Server 11 SP4
From an advisory covering 2 CVEs
before 6.6p1-16.1
6.6p1-16.1
openssh-askpass-gnome
SUSE:Linux Enterprise Server 11 SP4
From an advisory covering 2 CVEs
before 6.6p1-16.4
6.6p1-16.4
openssh
SUSE:Linux Enterprise Server for SAP Applications 11 SP4
From an advisory covering 2 CVEs
before 6.6p1-16.1
6.6p1-16.1
openssh-askpass-gnome
SUSE:Linux Enterprise Server for SAP Applications 11 SP4
From an advisory covering 2 CVEs
before 6.6p1-16.4
6.6p1-16.4
openssh
Ubuntu:14.04:LTS
before 1:6.6p1-2ubuntu2.4, plus listed versions
1:6.2p2-61:6.2p2-6ubuntu11:6.4p1-11:6.4p1-21:6.5p1-1
Show 10 moreShow less
1:6.5p1-21:6.5p1-31:6.5p1-41:6.5p1-61:6.6p1-11:6.6p1-21:6.6p1-2ubuntu11:6.6p1-2ubuntu21:6.6p1-2ubuntu2.21:6.6p1-2ubuntu2.3
1:6.6p1-2ubuntu2.4
openssh
Ubuntu:14.04:LTS
From an advisory covering 2 CVEs
before 1:6.6p1-2ubuntu2.4, plus listed versions
1:6.2p2-61:6.2p2-6ubuntu11:6.4p1-11:6.4p1-21:6.5p1-1
Show 10 moreShow less
1:6.5p1-21:6.5p1-31:6.5p1-41:6.5p1-61:6.6p1-11:6.6p1-21:6.6p1-2ubuntu11:6.6p1-2ubuntu21:6.6p1-2ubuntu2.21:6.6p1-2ubuntu2.3
1:6.6p1-2ubuntu2.4
openssh
openSUSE:Tumbleweed
From an advisory covering 5 CVEs
before 7.2p2-3.1
7.2p2-3.1

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
PoC in GitHubAbdirisaq-ali-aynab/vulnerability-assessment2025-11-11

History

History
RecordedChangedSources
affected, facts
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV, PoC in GitHub

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2016-0777 is a medium vulnerability (CVSS 6.5) in Openbsd Openssh, published January 14, 2016. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 63.5%, the 99th percentile. Fixed in openssh 1:7.1p2-1.

References

Show 65 moreShow less
MoveEnter Open