Original description
The (1) roaming_read and (2) roaming_write functions in roaming_common.c in the client in OpenSSH 5.x, 6.x, and 7.x before 7.1p2, when certain proxy and forward options are enabled, do not properly maintain connection file descriptors, which allows remote servers to cause a denial of service (heap-based buffer overflow) or possibly have unspecified other impact by requesting many forwardings.
Affected software
- OpenSSH = 6.8= 6.3= 5.9= 5.8= 5.7= 7.0 exact match
Details
- Published
- 2016-01-14
- Last modified
- 2026-06-17
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H- CWE
- CWE-119
References
- cve.org/CVE-2016-0778
- nvd.nist.gov/vuln/detail/CVE-2016-0778
- kb.juniper.net/InfoCenter/index?page=content&id=JSA10734
- lists.apple.com/archives/security-announce/2016/Mar/msg00004.html
- lists.fedoraproject.org/pipermail/package-announce/2016-February/176516.html
- lists.fedoraproject.org/pipermail/package-announce/2016-January/176349.html
- lists.opensuse.org/opensuse-security-announce/2016-01/msg00006.html
- lists.opensuse.org/opensuse-security-announce/2016-01/msg00007.html
- lists.opensuse.org/opensuse-security-announce/2016-01/msg00008.html
- lists.opensuse.org/opensuse-security-announce/2016-01/msg00009.html
- lists.opensuse.org/opensuse-security-announce/2016-01/msg00013.html
- lists.opensuse.org/opensuse-security-announce/2016-01/msg00014.html
- packetstormsecurity.com/files/135273/Qualys-Security-Advisory-OpenSSH-Overflow-Leak.html
- seclists.org/fulldisclosure/2016/Jan/44
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.