cve.bz

CVE-2016-3115 CRLF Injection

6.4 mediumExploitEPSS 36%

Medium (6.4). EPSS 36% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

6.4 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
EPSS
36% (unchanged from 36% a week ago; 36% 30 days ago) estimated probability of exploitation activity in the next 30 days; 98th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-05-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-93 Improper Neutralization of CRLF Sequences (CRLF Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2016-3115 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-3115?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-3115?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2016-3115 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
openbsd:opensshthrough 7.2
oracle:vm_server3.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8openssh1:6.7p1-5+deb8u6DLA-1500-1
Debian12, 13, 14openssh1:7.2p2-1DEBIAN-CVE-2016-3115
Ubuntu14.04:LTSopenssh1:6.6p1-2ubuntu2.7UBUNTU-CVE-2016-3115 USN-2966-1
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 moreopenssh, openssh-ldap, openssh-server and 3 more0:5.3p1-114.el6_7RHSA-2016:0466
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 morepam_ssh_agent_auth0:0.9.3-114.el6_7RHSA-2016:0466
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreopenssh, openssh-ldap, openssh-keycat and 5 more0:6.6.1p1-25.el7_2RHSA-2016:0465
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morepam_ssh_agent_auth0:0.9.3-9.25.el7_2RHSA-2016:0465
SUSELinux Enterprise Desktop 12, Linux Enterprise Desktop 12 SP1, Linux Enterprise Server 12 and 3 moreopenssh, openssh-askpass-gnome6.6p1-42.1SUSE-SU-2016:1386-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP3-LTSS, Linux Enterprise Server 11 SP3-TERADATA and 3 moreopenssh6.2p2-0.33.2SUSE-SU-2016:2388-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP3-LTSS, Linux Enterprise Server 11 SP3-TERADATA and 3 moreopenssh-askpass-gnome6.2p2-0.33.5SUSE-SU-2016:2388-1
SUSELinux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4openssh6.6p1-21.1SUSE-SU-2016:1528-1
SUSELinux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4openssh-askpass-gnome6.6p1-21.3SUSE-SU-2016:1528-1
SUSELinux Enterprise Server 11-SECURITYopenssh-openssl16.6p1-15.1SUSE-SU-2016:2555-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's 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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6openssh-0:5.3p1-114.el6_7Fixed 2016-03-21RHSA-2016:0466
Red Hat Enterprise Linux 7openssh-0:6.6.1p1-25.el7_2Fixed 2016-03-21RHSA-2016:0465
Red Hat Enterprise Linux 5opensshWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2016-3115.

Public exploits

Attack patterns (CAPEC)

  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON