openssh: missing sanitisation of input for X11 forwarding
Published Mar 22, 2016
6.4
MEDIUMCVSS 3.1
EPSS 37.02%
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.
Affected products
No data.
No data.
Red Hat Enterprise Linux 6
openssh-0:5.3p1-114.el6_7
Fixed · RHSA-2016:0466
Red Hat Enterprise Linux 7
openssh-0:6.6.1p1-25.el7_2
Fixed · RHSA-2016:0465
Red Hat Enterprise Linux 5
openssh
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | openssh-0:5.3p1-114.el6_7 | Fixed | RHSA-2016:0466 |
| Red Hat Enterprise Linux 7 | openssh-0:6.6.1p1-25.el7_2 | Fixed | RHSA-2016:0465 |
| Red Hat Enterprise Linux 5 | openssh | Will not fix | n/a |
No package ranges for this CVE.
Remediation
Red Hat mitigation
Set X11Forwarding=no in sshd_config. For authorized_keys that specify a "command" restriction, this issue can be mitigated by also setting the "no-X11-forwarding" restriction. In OpenSSH 7.2 and later, the "restrict" restriction can be used instead, which includes the "no-X11-forwarding" restriction.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
AV:N/AC:L/Au:S/C:P/I:P/A:N
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
PoCAutomatable
NoTechnical Impact
PartialDecision
n/aAssessed May 29, 2026 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (45 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 37.02% (0.37016) | 98.47th | v5 (v2026.06.15) |
| Jun 15, 2026 | 37.02% (0.37016) | 98.31th | v5 (v2026.06.15) |
| May 30, 2026 | 50.37% (0.50367) | 97.89th | v4 (v2025.03.14) |
| May 20, 2026 | 47.11% (0.47105) | 97.72th | v4 (v2025.03.14) |
| May 13, 2026 | 40.54% (0.40545) | 97.40th | v4 (v2025.03.14) |
| Apr 19, 2026 | 47.11% (0.47105) | 97.69th | v4 (v2025.03.14) |
| Mar 4, 2026 | 43.03% (0.43025) | 97.41th | v4 (v2025.03.14) |
| Mar 1, 2026 | 47.38% (0.47384) | 97.65th | v4 (v2025.03.14) |
| Feb 4, 2026 | 43.99% (0.43987) | 97.43th | v4 (v2025.03.14) |
| Feb 1, 2026 | 48.34% (0.48342) | 97.66th | v4 (v2025.03.14) |
| Jan 4, 2026 | 43.99% (0.43987) | 97.41th | v4 (v2025.03.14) |
| Jan 1, 2026 | 48.34% (0.48342) | 97.64th | v4 (v2025.03.14) |
| Dec 28, 2025 | 43.99% (0.43987) | 97.40th | v4 (v2025.03.14) |
| Dec 27, 2025 | 54.81% (0.54811) | 97.94th | v4 (v2025.03.14) |
| Dec 4, 2025 | 43.99% (0.43987) | 97.38th | v4 (v2025.03.14) |
| Dec 1, 2025 | 48.34% (0.48342) | 97.62th | v4 (v2025.03.14) |
| Nov 4, 2025 | 46.04% (0.46041) | 97.49th | v4 (v2025.03.14) |
| Nov 1, 2025 | 50.38% (0.50377) | 97.72th | v4 (v2025.03.14) |
| Oct 28, 2025 | 46.04% (0.46041) | 97.48th | v4 (v2025.03.14) |
| Oct 27, 2025 | 56.75% (0.56752) | 98.01th | v4 (v2025.03.14) |
| Oct 4, 2025 | 46.04% (0.46041) | 97.54th | v4 (v2025.03.14) |
| Oct 1, 2025 | 50.38% (0.50377) | 97.77th | v4 (v2025.03.14) |
| Sep 4, 2025 | 56.75% (0.56752) | 98.05th | v4 (v2025.03.14) |
| Sep 1, 2025 | 65.22% (0.65217) | 98.43th | v4 (v2025.03.14) |
| Aug 19, 2025 | 56.75% (0.56752) | 98.03th | v4 (v2025.03.14) |
| Aug 4, 2025 | 58.80% (0.58796) | 98.12th | v4 (v2025.03.14) |
| Aug 1, 2025 | 69.60% (0.69603) | 98.60th | v4 (v2025.03.14) |
| Jul 31, 2025 | 58.80% (0.58796) | 98.11th | v4 (v2025.03.14) |
| Jul 30, 2025 | 55.90% (0.55903) | 97.98th | v4 (v2025.03.14) |
| Jul 4, 2025 | 45.14% (0.45137) | 97.45th | v4 (v2025.03.14) |
| Jul 1, 2025 | 52.91% (0.52907) | 97.81th | v4 (v2025.03.14) |
| Jun 4, 2025 | 45.90% (0.45899) | 97.46th | v4 (v2025.03.14) |
| Jun 1, 2025 | 53.64% (0.53644) | 97.84th | v4 (v2025.03.14) |
| May 4, 2025 | 45.90% (0.45899) | 97.44th | v4 (v2025.03.14) |
| May 1, 2025 | 53.64% (0.53644) | 97.82th | v4 (v2025.03.14) |
| Mar 30, 2025 | 45.90% (0.45899) | 97.36th | v4 (v2025.03.14) |
| Mar 29, 2025 | 64.24% (0.64236) | 97.81th | v4 (v2025.03.14) |
| Mar 19, 2025 | 45.90% (0.45899) | 97.25th | v4 (v2025.03.14) |
| Mar 17, 2025 | 41.26% (0.41259) | 97.08th | v4 (v2025.03.14) |
| Dec 12, 2024 | 1.69% (0.01693) | 88.23th | v3 (v2023.03.01) |
| Nov 8, 2023 | 2.33% (0.02329) | 88.54th | v3 (v2023.03.01) |
| Mar 7, 2023 | 2.10% (0.02096) | 87.34th | v3 (v2023.03.01) |
| Mar 6, 2023 | 17.43% (0.17428) | 96.24th | v2 (v2022.01.01) |
| Apr 1, 2022 | 17.43% (0.17428) | 95.90th | v2 (v2022.01.01) |
| Feb 4, 2022 | 17.43% (0.17428) | 93.20th | v2 (v2022.01.01) |
References (29)
- http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/session.c x_refsource_CONFIRM
- http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/session.c.diff?r1=1.281&r2=1.282&f=h x_refsource_CONFIRM
- http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183101.html vendor-advisoryx_refsource_FEDORA
- http://lists.fedoraproject.org/pipermail/package-announce/2016-April/183122.html vendor-advisoryx_refsource_FEDORA
- http://lists.fedoraproject.org/pipermail/package-announce/2016-March/178838.html vendor-advisoryx_refsource_FEDORA
- http://lists.fedoraproject.org/pipermail/package-announce/2016-March/179924.html vendor-advisoryx_refsource_FEDORA
- http://lists.fedoraproject.org/pipermail/package-announce/2016-March/180491.html vendor-advisoryx_refsource_FEDORA
- http://lists.fedoraproject.org/pipermail/package-announce/2016-May/184264.html vendor-advisoryx_refsource_FEDORA
- http://packetstormsecurity.com/files/136234/OpenSSH-7.2p1-xauth-Command-Injection-Bypass.html x_refsource_MISC
- http://rhn.redhat.com/errata/RHSA-2016-0465.html vendor-advisoryx_refsource_REDHAT
- http://rhn.redhat.com/errata/RHSA-2016-0466.html vendor-advisoryx_refsource_REDHAT
- http://seclists.org/fulldisclosure/2016/Mar/46 mailing-listx_refsource_FULLDISC
- http://seclists.org/fulldisclosure/2016/Mar/47 mailing-listx_refsource_FULLDISC
- http://www.openssh.com/txt/x11fwd.adv x_refsource_CONFIRMVendor Advisory
- http://www.oracle.com/technetwork/topics/security/bulletinapr2016-2952098.html x_refsource_CONFIRM
- http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html x_refsource_CONFIRM
- http://www.oracle.com/technetwork/topics/security/ovmbulletinjul2016-3090546.html x_refsource_CONFIRMVendor Advisory
- http://www.securityfocus.com/bid/84314 vdb-entryx_refsource_BID
- http://www.securitytracker.com/id/1035249 vdb-entryx_refsource_SECTRACK
- https://access.redhat.com/security/cve/CVE-2016-3115 Vendor Advisory
- https://bto.bluecoat.com/security-advisory/sa121 x_refsource_CONFIRM
- https://bugzilla.redhat.com/show_bug.cgi?id=1316829 Issue Tracking
- https://github.com/tintinweb/pub/tree/master/pocs/cve-2016-3115 x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2018/09/msg00010.html mailing-listx_refsource_MLIST
- https://nvd.nist.gov/vuln/detail/CVE-2016-3115
- https://security.gentoo.org/glsa/201612-18 vendor-advisoryx_refsource_GENTOO
- https://www.cve.org/CVERecord?id=CVE-2016-3115
- https://www.exploit-db.com/exploits/39569/ exploitx_refsource_EXPLOIT-DB
- https://www.freebsd.org/security/advisories/FreeBSD-SA-16:14.openssh.asc vendor-advisoryx_refsource_FREEBSD
Change history (0)
No recorded changes yet.