CVE Database›CVE-2016-3115

CVE-2016-3115

openssh: missing sanitisation of input for X11 forwarding

Loading…

Severity

Moderate

Red Hat Product Security

4.9

CVSS 2.0

Review impact separately from score.

Published · March 10, 2016

Updated · November 21, 2025

Description

It was discovered that the OpenSSH server did not sanitize data received in requests to enable X11 forwarding. An authenticated client with restricted SSH access could possibly use this flaw to bypass intended restrictions.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

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.

CVSS / CWE

CVSS 2.0 · 4.9
AV:N/AC:M/Au:S/C:P/I:P/A:N

CWE-20 · Improper Input Validation