Skip to main content
Public proof of conceptFix available

CVE-2016-3115

A public proof of concept exists; no exploitation attested.

  • Published2016-03-22
  • WeaknessCWE-93

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2016-03-16Exploit-DB entryExploit-DB
  2. 2016-03-2210:59CVE publishedNVD
  3. 2026-10-2319:23EPSS crossed 10 %FIRST EPSS

Versions per branch

NVD
OpenSSH
BranchAffectedFixed in
7.2≤ 7.2no fix published
Oracle vm server
BranchAffectedFixed in
3.2= 3.2no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • opensshUbuntu:14.04:LTSall versions · fixed in 1:6.6p1-2ubuntu2.7
  • opensshSUSE:OpenStack Cloud 5all versions · fixed in 6.2p2-0.33.2
  • opensshSUSE:Manager Proxy 2.1all versions · fixed in 6.2p2-0.33.2
  • opensshSUSE:Manager 2.1all versions · fixed in 6.2p2-0.33.2
  • opensshSUSE:Linux Enterprise Server for SAP Applications 12 SP1all versions · fixed in 6.6p1-42.1and 1 other package
  • opensshSUSE:Linux Enterprise Server for SAP Applications 12all versions · fixed in 6.6p1-42.1and 1 other package
  • opensshSUSE:Linux Enterprise Server for SAP Applications 11 SP4all versions · fixed in 6.6p1-21.1
  • opensshSUSE:Linux Enterprise Server 12 SP1all versions · fixed in 6.6p1-42.1and 1 other package

37 more package ranges on OSV.dev

Vendor advisories

  • CVE-2016-3115 Red Hat Product Security168 products fixed · 1 known affected

    openssh: missing sanitisation of input for X11 forwarding

    openssh.src as a component of Red Hat Enterprise Linux 5

  • RHSA-2016:0465 Red Hat Product Security86 products fixed

    Red Hat Security Advisory: openssh security update

  • RHSA-2016:0466 Red Hat Product Security82 products fixed

    Red Hat Security Advisory: openssh security update

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2016:0465 · 86 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  2. Workaround from the vendor Red Hat Product Security RHSA-2016:0465 · 86 productsSet X11Forwarding=no in sshd_config. For authorized_keys that specify a "command" restriction, this issue can be mitigated by also setting the "no-X11-forwarding" restriction. In OpenSSH 7.2 and later, the "restrict" restriction can be used instead, which includes the "no-X11-forwarding" restricti…
  3. No fix planned, says the vendor Red Hat Product Security CVE-2016-3115 · 1 productWill not fix

Advisories and patches

Detection

read 2026-11-10 09:41 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
EDB-39569
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Published
2016-03-22
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-p759-vw7c-cvg8

Frequently asked questions

What is CVE-2016-3115?

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.

Is CVE-2016-3115 actively exploited?

A proof-of-concept exploit exists for CVE-2016-3115, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2016-3115?

CVE-2016-3115 has a CVSS v3 base score of 6.4 (MEDIUM severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N.

Running OpenSSH? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record