CVEfocus › CVE database › CVE-2016-3115

CVE-2016-3115

CVSS 6.4 MediumEPSS 35.5% (higher than 98% of CVEs)Published 2016-03-22Updated 2026-05-29Assigner: mitre

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.

CWE-93

What to do

Likely to be exploited: EPSS gives a 36% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

18Fixed
1Will not fix
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04opensshNot affected
vulnerable_code_not_present
Ubuntu 14.04opensshFixed1:6.6p1-2ubuntu2.7UBUNTU-CVE-2016-3115
Debian 14opensshFixed1:7.2p2-1DEBIAN-CVE-2016-3115
Debian 13opensshFixed1:7.2p2-1DEBIAN-CVE-2016-3115
Debian 12opensshFixed1:7.2p2-1DEBIAN-CVE-2016-3115
Red Hat Enterprise Linux 7opensshFixed0:6.6.1p1-25.el7_2RHSA-2016:0465
Red Hat Enterprise Linux 7openssh-askpassFixed0:6.6.1p1-25.el7_2RHSA-2016:0465
Red Hat Enterprise Linux 7openssh-clientsFixed0:6.6.1p1-25.el7_2RHSA-2016:0465
Red Hat Enterprise Linux 7openssh-keycatFixed0:6.6.1p1-25.el7_2RHSA-2016:0465
Red Hat Enterprise Linux 7openssh-ldapFixed0:6.6.1p1-25.el7_2RHSA-2016:0465
Red Hat Enterprise Linux 7openssh-serverFixed0:6.6.1p1-25.el7_2RHSA-2016:0465
Red Hat Enterprise Linux 7openssh-server-sysvinitFixed0:6.6.1p1-25.el7_2RHSA-2016:0465
Red Hat Enterprise Linux 7pam_ssh_agent_authFixed0:0.9.3-9.25.el7_2RHSA-2016:0465
Red Hat Enterprise Linux 6opensshFixed0:5.3p1-114.el6_7RHSA-2016:0466
Red Hat Enterprise Linux 6openssh-askpassFixed0:5.3p1-114.el6_7RHSA-2016:0466
Red Hat Enterprise Linux 6openssh-clientsFixed0:5.3p1-114.el6_7RHSA-2016:0466
Red Hat Enterprise Linux 6openssh-ldapFixed0:5.3p1-114.el6_7RHSA-2016:0466
Red Hat Enterprise Linux 6openssh-serverFixed0:5.3p1-114.el6_7RHSA-2016:0466
Red Hat Enterprise Linux 6pam_ssh_agent_authFixed0:0.9.3-114.el6_7RHSA-2016:0466
Red Hat Enterprise Linux 5opensshWill not fix
Will not fix

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.