CVE-2016-3115
6.4 MEDIUMMultiple CRLF injection vulnerabilities in session.c in sshd in OpenSSH before 7.2p2 allow remote authenticated users to bypass intended ...
Published: 2016-03-22 · Last updated: 2026-05-29
Severity and scoring
- CVSS
- 6.4 MEDIUM
- Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- CWE
- CWE-93
Affected products
| Vendor | Product |
|---|---|
| openbsd | openssh, vm_server |
| oracle | openssh, vm_server |
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.
Source: NVD
References
- [NVD]https://nvd.nist.gov/vuln/detail/CVE-2016-3115
- [Other]http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/session.c
- [Other]http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/session.c.diff?r1=1.281&r2=1.282&f=h
- [Other]http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183101.html
- [Other]http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183122.html
- [Other]http://lists.fedoraproject.org/pipermail/package-announce/2016-March/178838.html
- [Other]http://lists.fedoraproject.org/pipermail/package-announce/2016-March/179924.html
- [Other]http://lists.fedoraproject.org/pipermail/package-announce/2016-March/180491.html
- [Other]http://lists.fedoraproject.org/pipermail/package-announce/2016-May/184264.html
- [Other]http://packetstormsecurity.com/files/136234/OpenSSH-7.2p1-xauth-Command-Injection-Bypass.html
- [Other]http://rhn.redhat.com/errata/RHSA-2016-0465.html
- [Other]http://rhn.redhat.com/errata/RHSA-2016-0466.html
- [Other]http://seclists.org/fulldisclosure/2016/Mar/46
- [Other]http://seclists.org/fulldisclosure/2016/Mar/47
- [Vendor advisory]http://www.openssh.com/txt/x11fwd.adv
- [Other]http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
- [Other]http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html
- [Vendor advisory]http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html
- [Other]http://www.securityfocus.com/bid/84314
- [Other]http://www.securitytracker.com/id/1035249
- [Other]https://bto.bluecoat.com/security-advisory/sa121
- [Other]https://github.com/tintinweb/pub/tree/master/pocs/cve-2016-3115
- [Other]https://lists.debian.org/debian-lts-announce/2018/09/msg00010.html
- [Other]https://security.gentoo.org/glsa/201612-18
- [Other]https://www.exploit-db.com/exploits/39569/
- [Other]https://www.freebsd.org/security/advisories/FreeBSD-SA-16:14.openssh.asc
- [Other]http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/session.c
- [Other]http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/session.c.diff?r1=1.281&r2=1.282&f=h
- [Other]http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183101.html
- [Other]http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183122.html
- [Other]http://lists.fedoraproject.org/pipermail/package-announce/2016-March/178838.html
- [Other]http://lists.fedoraproject.org/pipermail/package-announce/2016-March/179924.html
- [Other]http://lists.fedoraproject.org/pipermail/package-announce/2016-March/180491.html
- [Other]http://lists.fedoraproject.org/pipermail/package-announce/2016-May/184264.html
- [Other]http://packetstormsecurity.com/files/136234/OpenSSH-7.2p1-xauth-Command-Injection-Bypass.html
- [Other]http://rhn.redhat.com/errata/RHSA-2016-0465.html
- [Other]http://rhn.redhat.com/errata/RHSA-2016-0466.html
- [Other]http://seclists.org/fulldisclosure/2016/Mar/46
- [Other]http://seclists.org/fulldisclosure/2016/Mar/47
- [Vendor advisory]http://www.openssh.com/txt/x11fwd.adv
- [Other]http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html
- [Other]http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html
- [Vendor advisory]http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html
- [Other]http://www.securityfocus.com/bid/84314
- [Other]http://www.securitytracker.com/id/1035249
- [Other]https://bto.bluecoat.com/security-advisory/sa121
- [Other]https://github.com/tintinweb/pub/tree/master/pocs/cve-2016-3115
- [Other]https://lists.debian.org/debian-lts-announce/2018/09/msg00010.html
- [Other]https://security.gentoo.org/glsa/201612-18
- [Other]https://www.exploit-db.com/exploits/39569/
- [Other]https://www.freebsd.org/security/advisories/FreeBSD-SA-16:14.openssh.asc
Related CVEs
Same vendor
- CVE-2026-35273 — Vulnerability in the PeopleSoft Enterprise PeopleTools product of Oracle PeopleSoft (component: Updates Environment Management) (9.8 CRITICAL)
- CVE-2026-46843 — Vulnerability in Oracle REST Data Services (component: Core) (5.3 MEDIUM)
- CVE-2026-46842 — Vulnerability in Oracle REST Data Services (component: Core) (5.3 MEDIUM)
- CVE-2026-46841 — Vulnerability in Oracle REST Data Services (component: General) (5.3 MEDIUM)
- CVE-2026-46840 — Vulnerability in Oracle REST Data Services (component: Backend-as-a-Service) (10.0 CRITICAL)
Same CWE
- CVE-2026-12143 — form-data is a library for creating readable multipart/form-data streams (7.5 HIGH)
- CVE-2026-50629 — The 'clientId' parameter from incoming HTTP requests is directly concatenated into OAuth2 server log warning messages without sanitizing ... (5.3 MEDIUM)
- CVE-2026-49214 — guzzlehttp/psr7 is a PSR-7 HTTP message library implementation in PHP (5.3 MEDIUM)
- CVE-2026-50639 — Metrics::Any::Adapter::SignalFx versions before 0.04 for Perl does not protect against metric injections (6.5 MEDIUM)
- CVE-2026-50638 — Metrics::Any::Adapter::DogStatsd versions before 0.04 for Perl does not protect against metric injections (9.1 CRITICAL)