cve.bz

CVE-2016-0778

8.1 highExploit referenceEPSS 21%Fix available

High (8.1). EPSS 21% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.1 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
21% (unchanged from 21% a week ago; 21% 30 days ago) estimated probability of exploitation activity in the next 30 days; 98th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-05-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2016-0778 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-0778?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-0778?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2016-0778 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
oracle:linux7
oracle:solaris11.3
openbsd:openssh5.4
openbsd:openssh5.4:p1
openbsd:openssh5.5
openbsd:openssh5.5:p1
openbsd:openssh5.6
openbsd:openssh5.6:p1
openbsd:openssh5.7
openbsd:openssh5.7:p1
openbsd:openssh5.8
openbsd:openssh5.8:p1
openbsd:openssh5.9
openbsd:openssh5.9:p1
openbsd:openssh6.0
openbsd:openssh6.0:p1
openbsd:openssh6.1
openbsd:openssh6.1:p1
openbsd:openssh6.2
openbsd:openssh6.2:p1
openbsd:openssh6.2:p2
openbsd:openssh6.3
openbsd:openssh6.3:p1
openbsd:openssh6.4
openbsd:openssh6.4:p1
openbsd:openssh6.5
openbsd:openssh6.5:p1
openbsd:openssh6.6
openbsd:openssh6.6:p1
openbsd:openssh6.7
openbsd:openssh6.7:p1
openbsd:openssh6.8
openbsd:openssh6.8:p1
openbsd:openssh6.9
openbsd:openssh6.9:p1
openbsd:openssh7.0
openbsd:openssh7.0:p1
openbsd:openssh7.1
openbsd:openssh7.1:p1
apple:mac_os_xfrom 10.9.0 through 10.9.5
apple:mac_os_xfrom 10.10.0 through 10.10.5
apple:mac_os_xfrom 10.11.0 through 10.11.3
hp:virtual_customer_access_systemthrough 15.07
sophos:unified_threat_management_software9.353

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian6.0openssh1:5.5p1-6+squeeze8DLA-387-1
Debian7openssh1:6.0p1-4+deb7u3DSA-3446-1
Debian8openssh1:6.7p1-5+deb8u1DSA-3446-1
Debian12, 13, 14openssh1:7.1p2-1DEBIAN-CVE-2016-0778
Ubuntu14.04:LTSopenssh1:6.6p1-2ubuntu2.4UBUNTU-CVE-2016-0778 USN-2869-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreopenssh, openssh-ldap, openssh-keycat and 5 more0:6.6.1p1-23.el7_2RHSA-2016:0043
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morepam_ssh_agent_auth0:0.9.3-9.23.el7_2RHSA-2016:0043
SUSELinux Enterprise Desktop 11 SP3, Linux Enterprise Server 11 SP3, Linux Enterprise Server 11 SP3-TERADATA and 1 moreopenssh6.2p2-0.24.1SUSE-SU-2016:0119-1
SUSELinux Enterprise Desktop 11 SP3, Linux Enterprise Server 11 SP3, Linux Enterprise Server 11 SP3-TERADATA and 1 moreopenssh-askpass-gnome6.2p2-0.24.3SUSE-SU-2016:0119-1
SUSELinux Enterprise Desktop 11 SP4, Linux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4openssh6.6p1-16.1SUSE-SU-2016:0120-1
SUSELinux Enterprise Desktop 11 SP4, Linux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4openssh-askpass-gnome6.6p1-16.4SUSE-SU-2016:0120-1
SUSELinux Enterprise Desktop 12, Linux Enterprise Desktop 12 SP1, Linux Enterprise Server 12 and 3 moreopenssh, openssh-askpass-gnome6.6p1-33.1SUSE-SU-2016:0118-1
SUSELinux Enterprise Server 11-SECURITYopenssh-openssl16.6p1-10.1SUSE-SU-2016:0117-1
openSUSETumbleweedopenssh7.2p2-3.1openSUSE-SU-2024:10174-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Low.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7openssh-0:6.6.1p1-23.el7_2Fixed 2016-01-14RHSA-2016:0043
Red Hat Enterprise Linux 4opensshNot affected
Red Hat Enterprise Linux 5opensshNot affected
Red Hat Enterprise Linux 6opensshNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2016-0778.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-22-349-21Siemens SCALANCE X-200RNA Switch Devices2022-12-13MultipleSCALANCE X204RNA (HSR) (6GK5204-0BA00-2MB2), SCALANCE X204RNA (PRP) (6GK5204-0BA00-2KB2), SCALANCE X204RNA EEC (HSR) (6GK5204-0BS00-2NA3) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON