PT-2016-3290 · Openbsd+8 · Openssh+8

Published

2016-01-14

·

Updated

2026-05-29

·

CVE-2016-0777

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions OpenSSH versions 5.x through 7.x before 7.1p2
Description The issue is related to the resend bytes function in roaming common.c, which allows remote servers to obtain sensitive information from process memory. This can be achieved by requesting the transmission of an entire buffer, potentially exposing private keys. The vulnerability is also associated with errors in cryptographic key management. Additionally, there is a heap-based buffer overflow caused by improper bounds checking in the packet write wait() and ssh packet write wait() API functions when using non-default options such as ProxyCommand and either ForwardAgent or ForwardX11. This could allow a remote attacker to overflow a buffer, execute arbitrary code, or cause the application to crash.
Recommendations For OpenSSH versions 5.x through 7.x before 7.1p2, update to version 7.1p2 or later to resolve the issue. As a temporary workaround, consider disabling the resend bytes function until a patch is available. Restrict access to the packet write wait() and ssh packet write wait() API functions when using non-default options to minimize the risk of exploitation.

Exploit

Fix

DoS

Information Disclosure

Weakness Enumeration

Related Identifiers

ALT-PU-2016-1200
ALT-PU-2024-3921
ALT-PU-2024-4077
ALT-PU-2024-4467
ALT-PU-2024-9513
BDU:2019-01913
CESA-2016_0043
CVE-2016-0777
DLA-387-1
DSA-3446-1
FREEBSD-SA-16_07
MGASA-2016-0022
OPENSUSE-SU-2016_0127-1
OPENSUSE-SU-2016_0128-1
OPENSUSE-SU-2016_0145-1
OPENSUSE-SU-2024:10174-1
RHSA-2016:0043
RHSA-2016_0043
SUSE-SU-2016:0117-1
SUSE-SU-2016:0118-1
SUSE-SU-2016:0119-1
SUSE-SU-2016:0120-1
SUSE-SU-2016_0117-1
SUSE-SU-2016_0118-1
SUSE-SU-2016_0119-1
SUSE-SU-2016_0120-1
USN-2869-1

Affected Products

Alt Linux
Centos
Freebsd
Ibm Aix
Junos
Openssh
Red Hat
Suse
Ubuntu