---
title: "CVE-2016-0778\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2016-0778?format=md
keywords: index, follow
---

# CVE-2016-0778

Publication date 14 January 2016

Last updated 25 August 2025

---

Ubuntu priority

**Medium**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**8.1 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2016-0778?format=md#impact-score)

Toggle side navigation

## Description

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.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| openssh | 15.10 wily | Fixed 1:6.9p1-2ubuntu0.1 |
| 15.04 vivid | Fixed 1:6.7p1-5ubuntu1.4 |
| 14.04 LTS trusty | Fixed 1:6.6p1-2ubuntu2.4 |
| 12.04 LTS precise | Fixed 1:5.9p1-5ubuntu1.8 |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

8.1 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | High |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | High |
  | Integrity impact | High |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 8.1 · High |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-0778)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2016-0778)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2016-0778)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2016-0778)

### Related Ubuntu Security Notices (USN)

+ [USN-2869-1](https://usn.ubuntu.com/USN-2869-1)
+ OpenSSH vulnerabilities
+ 14 January 2016

### Other references

* <http://www.undeadly.org/cgi?action=article&sid=20160114142733>
* <http://article.gmane.org/gmane.comp.security.oss.general/18580>
* <https://wiki.ubuntu.com/SecurityTeam/KnowledgeBase/OpenSSHClientRoaming>
* <https://www.cve.org/CVERecord?id=CVE-2016-0778>
