CVEfocus › CVE database › CVE-2016-0778

CVE-2016-0778

CVSS 8.1 HighEPSS 20.9% (higher than 98% of CVEs)Published 2016-01-14Updated 2026-05-29Assigner: redhat

The (1) roaming_read and (2) roaming_write functions in roaming_common.c in the client in OpenSSH 5.x, 6.x, and 7.x before 7.1p2, when certain proxy and forward options are enabled, do not properly maintain connection file descriptors, which allows remote servers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact by requesting many forwardings.

CWE-119

What to do

Likely to be exploited: EPSS gives a 21% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

12Fixed
8Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 14.04opensshFixed1:6.6p1-2ubuntu2.4UBUNTU-CVE-2016-0778
Debian 14opensshFixed1:7.1p2-1DEBIAN-CVE-2016-0778
Debian 13opensshFixed1:7.1p2-1DEBIAN-CVE-2016-0778
Debian 12opensshFixed1:7.1p2-1DEBIAN-CVE-2016-0778
Red Hat Enterprise Linux 7opensshFixed0:6.6.1p1-23.el7_2RHSA-2016:0043
Red Hat Enterprise Linux 7openssh-askpassFixed0:6.6.1p1-23.el7_2RHSA-2016:0043
Red Hat Enterprise Linux 7openssh-clientsFixed0:6.6.1p1-23.el7_2RHSA-2016:0043
Red Hat Enterprise Linux 7openssh-keycatFixed0:6.6.1p1-23.el7_2RHSA-2016:0043
Red Hat Enterprise Linux 7openssh-ldapFixed0:6.6.1p1-23.el7_2RHSA-2016:0043
Red Hat Enterprise Linux 7openssh-serverFixed0:6.6.1p1-23.el7_2RHSA-2016:0043
Red Hat Enterprise Linux 7openssh-server-sysvinitFixed0:6.6.1p1-23.el7_2RHSA-2016:0043
Red Hat Enterprise Linux 7pam_ssh_agent_authFixed0:0.9.3-9.23.el7_2RHSA-2016:0043
Red Hat Enterprise Linux 6opensshNot affected
Red Hat Enterprise Linux 6openssh-askpassNot affected
Red Hat Enterprise Linux 6openssh-clientsNot affected
Red Hat Enterprise Linux 6openssh-ldapNot affected
Red Hat Enterprise Linux 6openssh-serverNot affected
Red Hat Enterprise Linux 6pam_ssh_agent_authNot affected
Red Hat Enterprise Linux 5opensshNot affected
Red Hat Enterprise Linux 4opensshNot affected

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.