Skip to content
OpenAdvisories
Medium · 6.4 Public exploit CVE-2016-3115 EUVD-2016-4168GHSA-p759-vw7c-cvg8

Multiple CRLF injection vulnerabilities in session.c in sshd in OpenSSH before 7.2p2 allow remote authenticated users to bypass intended sh…

Published Mar 22, 2016 · Updated May 29, 2026 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 openssh 1:7.2p2-1 —
Debian 13 openssh 1:7.2p2-1 —
Debian 12 openssh 1:7.2p2-1 —
Debian 8 openssh 1:6.7p1-5+deb8u6 DLA-1500-1
ReleasePackageFixed inAdvisory
Ubuntu 14.04 LTS openssh 1:6.6p1-2ubuntu2.7 USN-2966-1
ReleasePackageFixed inAdvisory
RHEL 7 openssh +6 6.6.1p1-25.el7_2 RHSA-2016:0465
RHEL 7 pam_ssh_agent_auth 0.9.3-9.25.el7_2 RHSA-2016:0465
RHEL 6 openssh +4 5.3p1-114.el6_7 RHSA-2016:0466
RHEL 6 pam_ssh_agent_auth 0.9.3-114.el6_7 RHSA-2016:0466
ReleasePackageFixed inAdvisory
SLES 12 SP1 openssh +1 6.6p1-42.1 SUSE-SU-2016:1386-1
SLES 12 openssh +1 6.6p1-42.1 SUSE-SU-2016:1386-1
SLES 11 SP4 openssh 6.6p1-21.1 SUSE-SU-2016:1528-1
SLES 11 SP4 openssh-askpass-gnome 6.6p1-21.3 SUSE-SU-2016:1528-1
SLES 11 SP3 openssh 6.2p2-0.33.2 SUSE-SU-2016:2388-1
SLES 11 SP3 openssh-askpass-gnome 6.2p2-0.33.5 SUSE-SU-2016:2388-1
SLES 11 openssh-openssl1 6.6p1-15.1 SUSE-SU-2016:2555-1
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP1 openssh +1 6.6p1-42.1 SUSE-SU-2016:1386-1
SLES for SAP 12 openssh +1 6.6p1-42.1 SUSE-SU-2016:1386-1
SLES for SAP 11 SP4 openssh 6.6p1-21.1 SUSE-SU-2016:1528-1
SLES for SAP 11 SP4 openssh-askpass-gnome 6.6p1-21.3 SUSE-SU-2016:1528-1
SUSE OpenStack Cloud 5 openssh 6.2p2-0.33.2 SUSE-SU-2016:2388-1
SUSE OpenStack Cloud 5 openssh-askpass-gnome 6.2p2-0.33.5 SUSE-SU-2016:2388-1
SUSE Manager Proxy 2.1 openssh 6.2p2-0.33.2 SUSE-SU-2016:2388-1
SUSE Manager Proxy 2.1 openssh-askpass-gnome 6.2p2-0.33.5 SUSE-SU-2016:2388-1
SUSE Manager 2.1 openssh 6.2p2-0.33.2 SUSE-SU-2016:2388-1
SUSE Manager 2.1 openssh-askpass-gnome 6.2p2-0.33.5 SUSE-SU-2016:2388-1
SUSE Linux Enterprise Point of Sale 11 SP3 openssh 6.2p2-0.33.2 SUSE-SU-2016:2388-1
SUSE Linux Enterprise Point of Sale 11 SP3 openssh-askpass-gnome 6.2p2-0.33.5 SUSE-SU-2016:2388-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 openssh +6 6.6.1p1-25.el7_2 ELSA-2016-0465
Oracle Linux 7 pam_ssh_agent_auth 0.9.3-9.25.el7_2 ELSA-2016-0465

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 9

References