---
title: "CVE-2016-3115\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-3115?format=md
keywords: index, follow
---

# CVE-2016-3115

Publication date 22 March 2016

Last updated 25 August 2025

---

Ubuntu priority

**Low**

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

## Cvss 3 Severity Score

**6.4 · Medium**

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

Toggle side navigation

## Description

Multiple CRLF injection vulnerabilities in session.c in sshd in OpenSSH
before 7.2p2 allow remote authenticated users to bypass intended
shell-command restrictions via crafted X11 forwarding data, related to the
(1) do\_authenticated1 and (2) session\_x11\_req functions.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2016-3115?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| openssh | 17.04 zesty | Not affected |
| 16.10 yakkety | Not affected |
| 16.04 LTS xenial | Not affected |
| 15.10 wily | Fixed 1:6.9p1-2ubuntu0.2 |
| 14.04 LTS trusty | Fixed 1:6.6p1-2ubuntu2.7 |
| 12.04 LTS precise | Fixed 1:5.9p1-5ubuntu1.9 |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2016-3115?format=md#patch-details)

## Notes

---

### [sbeattie](https://launchpad.net/~sbeattie)

with X forwarding enabled, could bypass ssh account
restrictions

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| openssh | * Upstream:   [?h=V\_7\_](https://anongit.mindrot.org/openssh.git/commit/?h=V_7_2&id=9d47b8d3f50c3a6282896df8274147e3b9a38c56) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

6.4 · Medium

* Base metrics

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

  | Parameter | Value |
  | --- | --- |
  | Base score | 6.4 · Medium |
  | Exploitability score | - |
  | Impact score | - |

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

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-2966-1](https://usn.ubuntu.com/USN-2966-1)
+ OpenSSH vulnerabilities
+ 9 May 2016

### Other references

* <http://www.openwall.com/lists/oss-security/2016/03/10/16>
* <http://www.openssh.com/txt/x11fwd.adv>
* <https://www.cve.org/CVERecord?id=CVE-2016-3115>
