CVE-2016-3115 json
Multiple CRLF injection vulnerabilities in session.c in sshd in OpenSSH before 7.2p2 allow remote authenticated users to bypass intended sh…
published 2016-03-22 10 y ago modified 2026-06-17 4 mo ago also EUVD-2016-4168
- cvss
- 6.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 35.5%
- EPSS 35.5% chance of exploitation in 30 days, percentile 98%
- public exploits
- 1
- Exploit-DB
Summary
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.
Patch / fix
- openssh Debian 14, Debian 13, Debian 12 1:7.2p2-1
debian advisories DEBIAN-CVE-2016-3115
- openssh Ubuntu 14.04 LTS 1:6.6p1-2ubuntu2.7
ubuntu advisories UBUNTU-CVE-2016-3115
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- openssh RHEL 6 5.3p1-114.el6_7
- openssh-ldap RHEL 6 5.3p1-114.el6_7
- openssh-server RHEL 6 5.3p1-114.el6_7
- openssh-askpass RHEL 6 5.3p1-114.el6_7
- openssh-clients RHEL 6 5.3p1-114.el6_7
- pam_ssh_agent_auth RHEL 6 0.9.3-114.el6_7
- openssh RHEL 7 6.6.1p1-25.el7_2
- openssh-ldap RHEL 7 6.6.1p1-25.el7_2
red hat advisories RHSA-2016:0466RHSA-2016:0465
- openssh-openssl1 SLES 11-SECURITY 6.6p1-15.1
- openssh SLES 11 SP3-TERADATA, SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3 +3 more 6.2p2-0.33.2
- openssh-askpass-gnome SLES 11 SP3-TERADATA, SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3 +3 more 6.2p2-0.33.5
- openssh SLES for SAP 11 SP4, SLES 11 SP4 6.6p1-21.1
- openssh-askpass-gnome SLES for SAP 11 SP4, SLES 11 SP4 6.6p1-21.3
- openssh SLES for SAP 12 SP1, SLES for SAP 12, SLES 12 SP1 +3 more 6.6p1-42.1
- openssh-askpass-gnome SLES for SAP 12 SP1, SLES for SAP 12, SLES 12 SP1 +3 more 6.6p1-42.1
suse advisories SUSE-SU-2016:2555-1SUSE-SU-2016:2388-1SUSE-SU-2016:1528-1SUSE-SU-2016:1386-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2016-3115 updated cvss 4.9
openssh: missing sanitisation of input for X11 forwarding
-
Red Hat Enterprise Linux 5 opensshaffected: workaround, no fix planned “Will not fix”
-
Red Hat Enterprise Linux Client (v. 7) openssh 6.6.1p1-25.el7_2, openssh-keycat 6.6.1p1-25.el7_2, openssh-server 6.6.1p1-25.el7_2, openssh-askpass 6.6.1p1-25.el7_2, openssh-clients 6.6.1p1-25.el7_2 Red Hat Enterprise Linux Client Optional (v. 7) openssh-ldap 6.6.1p1-25.el7_2, pam_ssh_agent_auth 0.9.3-9.25.el7_2, openssh-server-sysvinit 6.6.1p1-25.el7_2 Red Hat Enterprise Linux ComputeNode (v. 7) openssh 6.6.1p1-25.el7_2, openssh-keycat 6.6.1p1-25.el7_2, openssh-server 6.6.1p1-25.el7_2, openssh-clients 6.6.1p1-25.el7_2 Red Hat Enterprise Linux ComputeNode Optional (v. 7) openssh-ldap 6.6.1p1-25.el7_2, openssh-askpass 6.6.1p1-25.el7_2, pam_ssh_agent_auth 0.9.3-9.25.el7_2, openssh-server-sysvinit 6.6.1p1-25.el7_2fixed: vendor fix RHSA-2016:0465
-
Red Hat Enterprise Linux Desktop (v. 6) openssh 5.3p1-114.el6_7, openssh-server 5.3p1-114.el6_7, openssh-askpass 5.3p1-114.el6_7, openssh-clients 5.3p1-114.el6_7 Red Hat Enterprise Linux Desktop Optional (v. 6) openssh-ldap 5.3p1-114.el6_7, pam_ssh_agent_auth 0.9.3-114.el6_7 Red Hat Enterprise Linux HPC Node (v. 6) openssh 5.3p1-114.el6_7, openssh-server 5.3p1-114.el6_7, openssh-clients 5.3p1-114.el6_7 Red Hat Enterprise Linux HPC Node Optional (v. 6) openssh-ldap 5.3p1-114.el6_7, openssh-askpass 5.3p1-114.el6_7, pam_ssh_agent_auth 0.9.3-114.el6_7 Red Hat Enterprise Linux Server (v. 6) openssh 5.3p1-114.el6_7, openssh-server 5.3p1-114.el6_7, openssh-askpass 5.3p1-114.el6_7, openssh-clients 5.3p1-114.el6_7fixed: vendor fix RHSA-2016:0466
-
Red Hat Enterprise Linux Server (v. 7) openssh 6.6.1p1-25.el7_2, openssh-keycat 6.6.1p1-25.el7_2, openssh-server 6.6.1p1-25.el7_2, openssh-askpass 6.6.1p1-25.el7_2, openssh-clients 6.6.1p1-25.el7_2fixed: vendor fix RHSA-2016:0465
-
Red Hat Enterprise Linux Server Optional (v. 6) openssh-ldap 5.3p1-114.el6_7, pam_ssh_agent_auth 0.9.3-114.el6_7fixed: vendor fix RHSA-2016:0466
-
Red Hat Enterprise Linux Server Optional (v. 7) openssh-ldap 6.6.1p1-25.el7_2, pam_ssh_agent_auth 0.9.3-9.25.el7_2, openssh-server-sysvinit 6.6.1p1-25.el7_2fixed: vendor fix RHSA-2016:0465
-
Red Hat Enterprise Linux Workstation (v. 6) openssh 5.3p1-114.el6_7, openssh-server 5.3p1-114.el6_7, openssh-askpass 5.3p1-114.el6_7, openssh-clients 5.3p1-114.el6_7fixed: vendor fix RHSA-2016:0466
-
Red Hat Enterprise Linux Workstation (v. 7) openssh 6.6.1p1-25.el7_2, openssh-keycat 6.6.1p1-25.el7_2, openssh-server 6.6.1p1-25.el7_2, openssh-askpass 6.6.1p1-25.el7_2, openssh-clients 6.6.1p1-25.el7_2fixed: vendor fix RHSA-2016:0465
show 2 moreshow fewer
-
Red Hat Enterprise Linux Workstation Optional (v. 6) openssh-ldap 5.3p1-114.el6_7, pam_ssh_agent_auth 0.9.3-114.el6_7fixed: vendor fix RHSA-2016:0466
-
Red Hat Enterprise Linux Workstation Optional (v. 7) openssh-ldap 6.6.1p1-25.el7_2, pam_ssh_agent_auth 0.9.3-9.25.el7_2, openssh-server-sysvinit 6.6.1p1-25.el7_2fixed: vendor fix RHSA-2016:0465
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-39569)
- Published
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 5 mo ago
Exploit prediction
35.53% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- EDB-39569 OpenSSH 7.2p1 - (Authenticated) xauth Command Injection remote, 2016-03-16
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
| CNA | 3.1 | 6.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
| NVD | 3.0 | 6.4 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 5.5 | AV:N/AC:L/Au:S/C:P/I:P/A:N |
Classification
- Weakness
-
- CWE-93 Improper Neutralization of CRLF Sequences
References
-
exploit-db.com
/exploits/39569/
exploit
-
freebsd.org
/security/advisories/FreeBSD-SA-16:14.openssh.asc
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2016-0466.html
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2016-April/183101.html
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2016-March/180491.html
vendor-advisory
-
security.gentoo.org
/glsa/201612-18
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2016-March/179924.html
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2016-May/184264.html
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2016-0465.html
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2016-April/183122.html
vendor-advisory
-
lists.fedoraproject.org
/pipermail/package-announce/2016-March/178838.html
vendor-advisory
-
openssh.com
/txt/x11fwd.adv
vendor-advisory
-
oracle.com
/technetwork/topics/security/ovmbulletinjul2016-3090546.html
vendor-advisory
- github.com /tintinweb/pub/tree/master/pocs/cve-2016-3115
- packetstormsecurity.com /files/136234/OpenSSH-7.2p1-xauth-Command-Injection-Bypass.html
- oracle.com /technetwork/topics/security/linuxbulletinapr2016-2952096.html
- cvsweb.openbsd.org /cgi-bin/cvsweb/src/usr.bin/ssh/session.c
-
securitytracker.com
/id/1035249
vdb-entry
- oracle.com /technetwork/topics/security/bulletinapr2016-2952098.html
- cvsweb.openbsd.org /cgi-bin/cvsweb/src/usr.bin/ssh/session.c.diff?r1=1.281&r2=1.282&f=h
- bto.bluecoat.com /security-advisory/sa121
-
securityfocus.com
/bid/84314
vdb-entry
-
lists.debian.org
/debian-lts-announce/2018/09/msg00010.html
mailing-list
-
seclists.org
/fulldisclosure/2016/Mar/47
mailing-list
-
seclists.org
/fulldisclosure/2016/Mar/46
mailing-list
Sources
- CVE List CVE-2016-3115
- NVD CVE-2016-3115
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.