CVE-2016-0778 in the critical feed json
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 cert…
published 2016-01-14 10 y ago modified 2026-06-17 4 mo ago also EUVD-2016-0793
- cvss
- 8.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 20.9%
- EPSS 20.9% chance of exploitation in 30 days, percentile 97%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- openssh Debian 14, Debian 13, Debian 12 1:7.1p2-1
debian advisories DEBIAN-CVE-2016-0778
- openssh Ubuntu 14.04 LTS 1:6.6p1-2ubuntu2.4
ubuntu advisories UBUNTU-CVE-2016-0778
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- openssh RHEL 7 6.6.1p1-23.el7_2
- openssh-ldap RHEL 7 6.6.1p1-23.el7_2
- openssh-keycat RHEL 7 6.6.1p1-23.el7_2
- openssh-server RHEL 7 6.6.1p1-23.el7_2
- openssh-askpass RHEL 7 6.6.1p1-23.el7_2
- openssh-clients RHEL 7 6.6.1p1-23.el7_2
- pam_ssh_agent_auth RHEL 7 0.9.3-9.23.el7_2
- openssh-server-sysvinit RHEL 7 6.6.1p1-23.el7_2
red hat advisories RHSA-2016:0043
- openssh-openssl1 SLES 11-SECURITY 6.6p1-10.1
- openssh SLES for SAP 12 SP1, SLES for SAP 12, SLES 12 SP1 +3 more 6.6p1-33.1
- openssh-askpass-gnome SLES for SAP 12 SP1, SLES for SAP 12, SLES 12 SP1 +3 more 6.6p1-33.1
- openssh SLES for SAP 11 SP4, SLES 11 SP4, SLED 11 SP4 6.6p1-16.1
- openssh-askpass-gnome SLES for SAP 11 SP4, SLES 11 SP4, SLED 11 SP4 6.6p1-16.4
- openssh SLES for SAP 11 SP3, SLES 11 SP3-TERADATA, SLES 11 SP3 +1 more 6.2p2-0.24.1
- openssh-askpass-gnome SLES for SAP 11 SP3, SLES 11 SP3-TERADATA, SLES 11 SP3 +1 more 6.2p2-0.24.3
suse advisories SUSE-SU-2016:0117-1SUSE-SU-2016:0118-1SUSE-SU-2016:0120-1SUSE-SU-2016:0119-1
- openssh openSUSE Tumbleweed 7.2p2-3.1
opensuse advisories openSUSE-SU-2024:10174-1
- openssh.com/txt/release-7.1p2 advisory
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-0778 updated cvss 5.1
OpenSSH: Client buffer-overflow when using roaming connections
-
Red Hat Enterprise Linux Client (v. 7) openssh 6.6.1p1-23.el7_2, openssh-keycat 6.6.1p1-23.el7_2, openssh-server 6.6.1p1-23.el7_2, openssh-askpass 6.6.1p1-23.el7_2, openssh-clients 6.6.1p1-23.el7_2 Red Hat Enterprise Linux Client Optional (v. 7) openssh-ldap 6.6.1p1-23.el7_2, pam_ssh_agent_auth 0.9.3-9.23.el7_2, openssh-server-sysvinit 6.6.1p1-23.el7_2 Red Hat Enterprise Linux ComputeNode (v. 7) openssh 6.6.1p1-23.el7_2, openssh-keycat 6.6.1p1-23.el7_2, openssh-server 6.6.1p1-23.el7_2, openssh-clients 6.6.1p1-23.el7_2 Red Hat Enterprise Linux ComputeNode Optional (v. 7) openssh-ldap 6.6.1p1-23.el7_2, openssh-askpass 6.6.1p1-23.el7_2, pam_ssh_agent_auth 0.9.3-9.23.el7_2, openssh-server-sysvinit 6.6.1p1-23.el7_2 Red Hat Enterprise Linux Server (v. 7) openssh 6.6.1p1-23.el7_2, openssh-keycat 6.6.1p1-23.el7_2, openssh-server 6.6.1p1-23.el7_2, openssh-askpass 6.6.1p1-23.el7_2, openssh-clients 6.6.1p1-23.el7_2 Red Hat Enterprise Linux Server Optional (v. 7) openssh-ldap 6.6.1p1-23.el7_2, pam_ssh_agent_auth 0.9.3-9.23.el7_2, openssh-server-sysvinit 6.6.1p1-23.el7_2fixed: vendor fix RHSA-2016:0043
+2 more productsfewer
Red Hat Enterprise Linux Workstation (v. 7) openssh 6.6.1p1-23.el7_2, openssh-keycat 6.6.1p1-23.el7_2, openssh-server 6.6.1p1-23.el7_2, openssh-askpass 6.6.1p1-23.el7_2, openssh-clients 6.6.1p1-23.el7_2 Red Hat Enterprise Linux Workstation Optional (v. 7) openssh-ldap 6.6.1p1-23.el7_2, pam_ssh_agent_auth 0.9.3-9.23.el7_2, openssh-server-sysvinit 6.6.1p1-23.el7_2 -
Red Hat Enterprise Linux 4 openssh Red Hat Enterprise Linux 5 openssh Red Hat Enterprise Linux 6 openssh, openssh-ldap, openssh-server, openssh-askpass, openssh-clients, pam_ssh_agent_authnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-22-349-21 updated cvss 8.1
Siemens SCALANCE X-200RNA Switch Devices
-
Siemens SCALANCE X204RNA (HSR) (6GK5204-0BA00-2MB2) <V3.2.7 Siemens SCALANCE X204RNA (PRP) (6GK5204-0BA00-2KB2) <V3.2.7 Siemens SCALANCE X204RNA EEC (HSR) (6GK5204-0BS00-2NA3) <V3.2.7 Siemens SCALANCE X204RNA EEC (PRP) (6GK5204-0BS00-3LA3) <V3.2.7 Siemens SCALANCE X204RNA EEC (PRP/HSR) (6GK5204-0BS00-3PA3) <V3.2.7affected: fixed in V3.2.7, mitigation support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 5 mo ago
Exploit prediction
20.90% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- openwall.com http://www.openwall.com/lists/oss-security/2016/01/14/7 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.0 | 8.1 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 4.6 | AV:N/AC:H/Au:S/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
openssh.com
/txt/release-7.1p2
patch, release-notes, vendor-advisory
-
openwall.com
/lists/oss-security/2016/01/14/7
mailing-list, exploit, technical-description, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-01/msg00006.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.apple.com
/archives/security-announce/2016/Mar/msg00004.html
vendor-advisory, mailing-list, release-notes, third-party-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2016-January/176349.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-01/msg00014.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2016-February/176516.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-01/msg00013.html
vendor-advisory, mailing-list, third-party-advisory
-
security.gentoo.org
/glsa/201601-01
vendor-advisory, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-01/msg00008.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-01/msg00007.html
vendor-advisory, mailing-list, third-party-advisory
-
lists.opensuse.org
/opensuse-security-announce/2016-01/msg00009.html
vendor-advisory, mailing-list, third-party-advisory
-
ubuntu.com
/usn/USN-2869-1
vendor-advisory, third-party-advisory
-
debian.org
/security/2016/dsa-3446
vendor-advisory, third-party-advisory
-
blogs.sophos.com
/2016/02/17/utm-up2date-9-354-released/
release-notes, vendor-advisory
-
blogs.sophos.com
/2016/02/29/utm-up2date-9-319-released/
release-notes, vendor-advisory
-
support.apple.com
/HT206167
vendor-advisory
-
h20566.www2.hpe.com
/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05247375
third-party-advisory
-
securityfocus.com
/archive/1/537295/100/0/threaded
mailing-list, third-party-advisory, vdb-entry
-
kb.juniper.net
/InfoCenter/index?page=content&id=JSA10734
third-party-advisory
-
h20566.www2.hpe.com
/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05385680
third-party-advisory
-
oracle.com
/technetwork/topics/security/linuxbulletinjan2016-2867209.html
third-party-advisory
-
securityfocus.com
/bid/80698
vdb-entry, third-party-advisory
-
bto.bluecoat.com
/security-advisory/sa109
third-party-advisory
-
securitytracker.com
/id/1034671
vdb-entry, third-party-advisory
-
h20566.www2.hpe.com
/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05390722
third-party-advisory
-
seclists.org
/fulldisclosure/2016/Jan/44
mailing-list, third-party-advisory
-
packetstormsecurity.com
/files/135273/Qualys-Security-Advisory-OpenSSH-Overflow-Leak.html
third-party-advisory, vdb-entry
-
h20566.www2.hpe.com
/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05356388
third-party-advisory
-
oracle.com
/technetwork/topics/security/bulletinoct2015-2511968.html
third-party-advisory
- cert-portal.siemens.com /productcert/pdf/ssa-412672.pdf
Sources
- CVE List CVE-2016-0778
- NVD CVE-2016-0778
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.