CVE-2016-3115
OpenSSH SSHD CRLF Injection Vulnerability
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.
INFO
Published Date :
March 22, 2016, 10:59 a.m.
Last Modified :
June 17, 2026, 12:44 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 2.0 | MEDIUM | [email protected] | ||||
| CVSS 3.0 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | MEDIUM | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
Solution
- Update the OpenSSH packages to a non-vulnerable version.
- Apply vendor-provided patches to resolve the vulnerability.
Public PoC/Exploit Available at Github
CVE-2016-3115 has a 20 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2016-3115.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2016-3115 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2016-3115
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Network Scanner and CVE - Correlation
Python
OpenSSH-Scanner
Python
Audits OpenSSH sshd_config for CVE-related issues, insecure settings, and hardening weaknesses, with optional auto-fix support.
Python
OpenClaw Skills Library 2,510 Production-Ready Skills for AI Agent Automation Give your OpenClaw agent the complete puzzle. Modular, observable, and safe automation workflows for Ubuntu Linux systems. Built for professionals who need reliability.
None
Host scanning tool with sample vulnerable host
Python
None
None
None
Python
bulk scanning tool for 21 different CVE's for OpenSSH
Python
OpenSSH Vulnerabilities Scanner: Bulk Scanning Tool for 21 different OpenSSH CVEs.
Python
Bulk Scanning Tool for OpenSSH CVE-2024-6387, CVE-2024-6409, CVE-2006-5051, CVE-2008-4109, and 16 other CVEs.
Bulk Scanning Tool for OpenSSH CVE-2024-6387, CVE-2006-5051 , CVE-2008-4109 and others.
openssh security-audit security-tools ssh ssh-server
Python
None
Easily scan for CVEs using nmap.
cve nmap portscanning shell shellscript automation
Shell
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2016-3115 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2016-3115 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
Jun. 17, 2026
Action Type Old Value New Value Added Affected [{'vendor': 'n/a', 'product': 'n/a', 'versions': [{'status': 'affected', 'version': 'n/a'}]}] -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 17, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2016-3115', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-05-29T20:26:37.501191Z'} -
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
May. 29, 2026
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N Added CWE CWE-93 -
Status Change by [email protected]
May. 06, 2026
Action Type Old Value New Value -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/session.c Added Reference http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/session.c.diff?r1=1.281&r2=1.282&f=h Added Reference http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183101.html Added Reference http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183122.html Added Reference http://lists.fedoraproject.org/pipermail/package-announce/2016-March/178838.html Added Reference http://lists.fedoraproject.org/pipermail/package-announce/2016-March/179924.html Added Reference http://lists.fedoraproject.org/pipermail/package-announce/2016-March/180491.html Added Reference http://lists.fedoraproject.org/pipermail/package-announce/2016-May/184264.html Added Reference http://packetstormsecurity.com/files/136234/OpenSSH-7.2p1-xauth-Command-Injection-Bypass.html Added Reference http://rhn.redhat.com/errata/RHSA-2016-0465.html Added Reference http://rhn.redhat.com/errata/RHSA-2016-0466.html Added Reference http://seclists.org/fulldisclosure/2016/Mar/46 Added Reference http://seclists.org/fulldisclosure/2016/Mar/47 Added Reference http://www.openssh.com/txt/x11fwd.adv Added Reference http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html Added Reference http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html Added Reference http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html Added Reference http://www.securityfocus.com/bid/84314 Added Reference http://www.securitytracker.com/id/1035249 Added Reference https://bto.bluecoat.com/security-advisory/sa121 Added Reference https://github.com/tintinweb/pub/tree/master/pocs/cve-2016-3115 Added Reference https://lists.debian.org/debian-lts-announce/2018/09/msg00010.html Added Reference https://security.gentoo.org/glsa/201612-18 Added Reference https://www.exploit-db.com/exploits/39569/ Added Reference https://www.freebsd.org/security/advisories/FreeBSD-SA-16:14.openssh.asc -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Sep. 11, 2018
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2018/09/msg00010.html [No Types Assigned] -
CVE Modified by [email protected]
Jan. 05, 2018
Action Type Old Value New Value Added Reference http://rhn.redhat.com/errata/RHSA-2016-0465.html [No Types Assigned] -
CVE Modified by [email protected]
Jul. 01, 2017
Action Type Old Value New Value Added Reference https://security.gentoo.org/glsa/201612-18 [No Types Assigned] -
CVE Modified by [email protected]
Dec. 03, 2016
Action Type Old Value New Value Added Reference http://rhn.redhat.com/errata/RHSA-2016-0466.html [No Types Assigned] Added Reference http://lists.fedoraproject.org/pipermail/package-announce/2016-March/178838.html [No Types Assigned] Added Reference http://lists.fedoraproject.org/pipermail/package-announce/2016-March/180491.html [No Types Assigned] Added Reference http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183122.html [No Types Assigned] Added Reference http://seclists.org/fulldisclosure/2016/Mar/46 [No Types Assigned] Added Reference http://seclists.org/fulldisclosure/2016/Mar/47 [No Types Assigned] Added Reference http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183101.html [No Types Assigned] Added Reference https://github.com/tintinweb/pub/tree/master/pocs/cve-2016-3115 [No Types Assigned] Added Reference http://lists.fedoraproject.org/pipermail/package-announce/2016-March/179924.html [No Types Assigned] Added Reference https://www.exploit-db.com/exploits/39569/ [No Types Assigned] Added Reference https://www.freebsd.org/security/advisories/FreeBSD-SA-16:14.openssh.asc [No Types Assigned] Added Reference https://bto.bluecoat.com/security-advisory/sa121 [No Types Assigned] Added Reference http://packetstormsecurity.com/files/136234/OpenSSH-7.2p1-xauth-Command-Injection-Bypass.html [No Types Assigned] Added Reference http://www.securitytracker.com/id/1035249 [No Types Assigned] -
CVE Modified by [email protected]
Dec. 01, 2016
Action Type Old Value New Value Added Reference http://lists.fedoraproject.org/pipermail/package-announce/2016-May/184264.html [No Types Assigned] -
CVE Modified by [email protected]
Nov. 28, 2016
Action Type Old Value New Value Added Reference http://www.securityfocus.com/bid/84314 [No Types Assigned] -
CVE Modified by [email protected]
Oct. 04, 2016
Action Type Old Value New Value Added Reference http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html Added Reference http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html -
Modified Analysis by [email protected]
Sep. 12, 2016
Action Type Old Value New Value Changed CPE Configuration Configuration 1 OR *cpe:2.3:a:openbsd:openssh:7.2:p1:*:*:*:*:*:* (and previous) Configuration 1 OR *cpe:2.3:a:openbsd:openssh:7.2:p1:*:*:*:*:*:* (and previous) Configuration 2 OR *cpe:2.3:o:oracle:vm_server:3.2:*:*:*:*:*:*:* Changed Reference Type http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html No Types Assigned http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html Vendor Advisory -
CVE Modified by [email protected]
Sep. 09, 2016
Action Type Old Value New Value Added Reference http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html -
Modified Analysis by [email protected]
Mar. 22, 2016
Action Type Old Value New Value Added Evaluator Description <a href="https://cwe.mitre.org/data/definitions/93.html">CWE-93: Improper Neutralization of CRLF Sequences ('CRLF Injection')</a> Added CPE Configuration Configuration 1 OR *cpe:2.3:a:openbsd:openssh:7.2:p1:*:*:*:*:*:* (and previous) Added CVSS V2 (AV:N/AC:L/Au:S/C:P/I:P/A:N) Added CVSS V3 AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N Changed Reference Type http://www.openssh.com/txt/x11fwd.adv No Types Assigned http://www.openssh.com/txt/x11fwd.adv Advisory Added CWE NVD-CWE-Other -
Initial Analysis by [email protected]
Mar. 22, 2016
Action Type Old Value New Value