{"id":"CVE-2016-3115","state":"PUBLISHED","title":"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 ","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.","publishedAt":"2016-03-22T10:00:00.000Z","updatedAt":"2026-05-29T20:27:16.046Z","severity":{"score":6.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","source":"CISA-ADP"},"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.openssh.com/txt/x11fwd.adv","http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html","https://github.com/tintinweb/pub/tree/master/pocs/cve-2016-3115","http://packetstormsecurity.com/files/136234/OpenSSH-7.2p1-xauth-Command-Injection-Bypass.html","https://www.freebsd.org/security/advisories/FreeBSD-SA-16:14.openssh.asc","http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html","https://www.exploit-db.com/exploits/39569/","http://rhn.redhat.com/errata/RHSA-2016-0466.html","http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/session.c","http://www.securitytracker.com/id/1035249","http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183101.html","http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html","http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/session.c.diff?r1=1.281&r2=1.282&f=h","http://lists.fedoraproject.org/pipermail/package-announce/2016-March/180491.html","https://bto.bluecoat.com/security-advisory/sa121","https://security.gentoo.org/glsa/201612-18","http://www.securityfocus.com/bid/84314","http://lists.fedoraproject.org/pipermail/package-announce/2016-March/179924.html","https://lists.debian.org/debian-lts-announce/2018/09/msg00010.html","http://lists.fedoraproject.org/pipermail/package-announce/2016-May/184264.html","http://seclists.org/fulldisclosure/2016/Mar/47","http://rhn.redhat.com/errata/RHSA-2016-0465.html","http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183122.html","http://seclists.org/fulldisclosure/2016/Mar/46","http://lists.fedoraproject.org/pipermail/package-announce/2016-March/178838.html"],"weaknesses":["CWE-93"],"ingestedAt":"2026-10-29T19:42:40.893Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2016/3xxx/CVE-2016-3115.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2016-3115","state":"PUBLISHED","datePublished":"2016-03-22T10:00:00.000Z","dateUpdated":"2026-05-29T20:27:16.046Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2016-03-10T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.openssh.com/txt/x11fwd.adv","tags":["x_refsource_CONFIRM"]},{"url":"http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/tintinweb/pub/tree/master/pocs/cve-2016-3115","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/136234/OpenSSH-7.2p1-xauth-Command-Injection-Bypass.html","tags":["x_refsource_MISC"]},{"url":"https://www.freebsd.org/security/advisories/FreeBSD-SA-16:14.openssh.asc","name":"FreeBSD-SA-16:14","tags":["vendor-advisory","x_refsource_FREEBSD"]},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html","tags":["x_refsource_CONFIRM"]},{"url":"https://www.exploit-db.com/exploits/39569/","name":"39569","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-0466.html","name":"RHSA-2016:0466","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/session.c","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securitytracker.com/id/1035249","name":"1035249","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183101.html","name":"FEDORA-2016-fc1cc33e05","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html","tags":["x_refsource_CONFIRM"]},{"url":"http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/session.c.diff?r1=1.281&r2=1.282&f=h","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-March/180491.html","name":"FEDORA-2016-d339d610c1","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://bto.bluecoat.com/security-advisory/sa121","tags":["x_refsource_CONFIRM"]},{"url":"https://security.gentoo.org/glsa/201612-18","name":"GLSA-201612-18","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://www.securityfocus.com/bid/84314","name":"84314","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-March/179924.html","name":"FEDORA-2016-0bcab055a7","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/09/msg00010.html","name":"[debian-lts-announce] 20180910 [SECURITY] [DLA 1500-1] openssh security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-May/184264.html","name":"FEDORA-2016-08e5803496","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://seclists.org/fulldisclosure/2016/Mar/47","name":"20160314 CVE-2016-3116 - Dropbear SSH xauth injection","tags":["mailing-list","x_refsource_FULLDISC"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-0465.html","name":"RHSA-2016:0465","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183122.html","name":"FEDORA-2016-188267b485","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://seclists.org/fulldisclosure/2016/Mar/46","name":"20160314 CVE-2016-3115 - OpenSSH <=7.2p1 xauth injection","tags":["mailing-list","x_refsource_FULLDISC"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-March/178838.html","name":"FEDORA-2016-bb59db3c86","tags":["vendor-advisory","x_refsource_FEDORA"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"mitre","dateUpdated":"2018-09-11T09:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca"},"datePublic":"2016-03-09T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2016-3115","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"http://www.openssh.com/txt/x11fwd.adv","refsource":"CONFIRM","url":"http://www.openssh.com/txt/x11fwd.adv"},{"name":"http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html","refsource":"CONFIRM","url":"http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html"},{"name":"https://github.com/tintinweb/pub/tree/master/pocs/cve-2016-3115","refsource":"MISC","url":"https://github.com/tintinweb/pub/tree/master/pocs/cve-2016-3115"},{"name":"http://packetstormsecurity.com/files/136234/OpenSSH-7.2p1-xauth-Command-Injection-Bypass.html","refsource":"MISC","url":"http://packetstormsecurity.com/files/136234/OpenSSH-7.2p1-xauth-Command-Injection-Bypass.html"},{"name":"FreeBSD-SA-16:14","refsource":"FREEBSD","url":"https://www.freebsd.org/security/advisories/FreeBSD-SA-16:14.openssh.asc"},{"name":"http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html","refsource":"CONFIRM","url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html"},{"name":"39569","refsource":"EXPLOIT-DB","url":"https://www.exploit-db.com/exploits/39569/"},{"name":"RHSA-2016:0466","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2016-0466.html"},{"name":"http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/session.c","refsource":"CONFIRM","url":"http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/session.c"},{"name":"1035249","refsource":"SECTRACK","url":"http://www.securitytracker.com/id/1035249"},{"name":"FEDORA-2016-fc1cc33e05","refsource":"FEDORA","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183101.html"},{"name":"http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html","refsource":"CONFIRM","url":"http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html"},{"name":"http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/session.c.diff?r1=1.281&r2=1.282&f=h","refsource":"CONFIRM","url":"http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/session.c.diff?r1=1.281&r2=1.282&f=h"},{"name":"FEDORA-2016-d339d610c1","refsource":"FEDORA","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-March/180491.html"},{"name":"https://bto.bluecoat.com/security-advisory/sa121","refsource":"CONFIRM","url":"https://bto.bluecoat.com/security-advisory/sa121"},{"name":"GLSA-201612-18","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/201612-18"},{"name":"84314","refsource":"BID","url":"http://www.securityfocus.com/bid/84314"},{"name":"FEDORA-2016-0bcab055a7","refsource":"FEDORA","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-March/179924.html"},{"name":"[debian-lts-announce] 20180910 [SECURITY] [DLA 1500-1] openssh security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2018/09/msg00010.html"},{"name":"FEDORA-2016-08e5803496","refsource":"FEDORA","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-May/184264.html"},{"name":"20160314 CVE-2016-3116 - Dropbear SSH xauth injection","refsource":"FULLDISC","url":"http://seclists.org/fulldisclosure/2016/Mar/47"},{"name":"RHSA-2016:0465","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2016-0465.html"},{"name":"FEDORA-2016-188267b485","refsource":"FEDORA","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183122.html"},{"name":"20160314 CVE-2016-3115 - OpenSSH <=7.2p1 xauth injection","refsource":"FULLDISC","url":"http://seclists.org/fulldisclosure/2016/Mar/46"},{"name":"FEDORA-2016-bb59db3c86","refsource":"FEDORA","url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-March/178838.html"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openssh.com/txt/x11fwd.adv","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/tintinweb/pub/tree/master/pocs/cve-2016-3115","tags":["x_refsource_MISC","x_transferred"]},{"url":"http://packetstormsecurity.com/files/136234/OpenSSH-7.2p1-xauth-Command-Injection-Bypass.html","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://www.freebsd.org/security/advisories/FreeBSD-SA-16:14.openssh.asc","name":"FreeBSD-SA-16:14","tags":["vendor-advisory","x_refsource_FREEBSD","x_transferred"]},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://www.exploit-db.com/exploits/39569/","name":"39569","tags":["exploit","x_refsource_EXPLOIT-DB","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-0466.html","name":"RHSA-2016:0466","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/session.c","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://www.securitytracker.com/id/1035249","name":"1035249","tags":["vdb-entry","x_refsource_SECTRACK","x_transferred"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183101.html","name":"FEDORA-2016-fc1cc33e05","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/session.c.diff?r1=1.281&r2=1.282&f=h","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-March/180491.html","name":"FEDORA-2016-d339d610c1","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://bto.bluecoat.com/security-advisory/sa121","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://security.gentoo.org/glsa/201612-18","name":"GLSA-201612-18","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"]},{"url":"http://www.securityfocus.com/bid/84314","name":"84314","tags":["vdb-entry","x_refsource_BID","x_transferred"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-March/179924.html","name":"FEDORA-2016-0bcab055a7","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/09/msg00010.html","name":"[debian-lts-announce] 20180910 [SECURITY] [DLA 1500-1] openssh security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-May/184264.html","name":"FEDORA-2016-08e5803496","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://seclists.org/fulldisclosure/2016/Mar/47","name":"20160314 CVE-2016-3116 - Dropbear SSH xauth injection","tags":["mailing-list","x_refsource_FULLDISC","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-0465.html","name":"RHSA-2016:0465","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183122.html","name":"FEDORA-2016-188267b485","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]},{"url":"http://seclists.org/fulldisclosure/2016/Mar/46","name":"20160314 CVE-2016-3115 - OpenSSH <=7.2p1 xauth injection","tags":["mailing-list","x_refsource_FULLDISC","x_transferred"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2016-March/178838.html","name":"FEDORA-2016-bb59db3c86","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-05T23:47:57.380Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"CHANGED","version":"3.1","baseScore":6.4,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","integrityImpact":"LOW","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"LOW","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-05-29T20:26:37.501191Z","id":"CVE-2016-3115","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-93","type":"CWE","lang":"en","description":"CWE-93 Improper Neutralization of CRLF Sequences ('CRLF Injection')"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-29T20:27:16.046Z"}}]}}}