Skip to content
OpenAdvisories
Medium · 6.5 Public exploit CVE-2016-0777 EUVD-2016-0792GHSA-9h73-2pqx-3jh8

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 sensi…

Published Jan 14, 2016 · Updated May 29, 2026 · Assigned by redhat

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 openssh 1:7.1p2-1 —
Debian 13 openssh 1:7.1p2-1 —
Debian 12 openssh 1:7.1p2-1 —
Debian 8 openssh 1:6.7p1-5+deb8u1 DSA-3446-1
Debian 7 openssh 1:6.0p1-4+deb7u3 DSA-3446-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 6.0 openssh 1:5.5p1-6+squeeze8 DLA-387-1
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS openssh 1:6.6p1-2ubuntu2.4 USN-2869-1
ReleasePackageFixed inAdvisory
RHEL 7 openssh +6 6.6.1p1-23.el7_2 RHSA-2016:0043
RHEL 7 pam_ssh_agent_auth 0.9.3-9.23.el7_2 RHSA-2016:0043
ReleasePackageFixed inAdvisory
SLES 12 SP1 openssh +1 6.6p1-33.1 SUSE-SU-2016:0118-1
SLES 12 openssh +1 6.6p1-33.1 SUSE-SU-2016:0118-1
SLES 11 SP4 openssh 6.6p1-16.1 SUSE-SU-2016:0120-1
SLES 11 SP4 openssh-askpass-gnome 6.6p1-16.4 SUSE-SU-2016:0120-1
SLES 11 SP3 openssh 6.2p2-0.24.1 SUSE-SU-2016:0119-1
SLES 11 SP3 openssh-askpass-gnome 6.2p2-0.24.3 SUSE-SU-2016:0119-1
SLES 11 openssh-openssl1 6.6p1-10.1 SUSE-SU-2016:0117-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP1 openssh +1 6.6p1-33.1 SUSE-SU-2016:0118-1
SLES for SAP 12 openssh +1 6.6p1-33.1 SUSE-SU-2016:0118-1
SLES for SAP 11 SP4 openssh 6.6p1-16.1 SUSE-SU-2016:0120-1
SLES for SAP 11 SP4 openssh-askpass-gnome 6.6p1-16.4 SUSE-SU-2016:0120-1
SLES for SAP 11 SP3 openssh 6.2p2-0.24.1 SUSE-SU-2016:0119-1
SLES for SAP 11 SP3 openssh-askpass-gnome 6.2p2-0.24.3 SUSE-SU-2016:0119-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed openssh 7.2p2-3.1 openSUSE-SU-2024:10174-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 openssh +6 6.6.1p1-23.el7_2 ELSA-2016-0043
Oracle Linux 7 pam_ssh_agent_auth 0.9.3-9.23.el7_2 ELSA-2016-0043

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • Professional cybersecurity assessment demonstrating vulnerability identification, CVSS severity scoring, MITRE ATT&CK framework application, and detailed remediation planning for OpenSSH 6.6.1p1 crit…

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 13

References