{"id":"CVE-2016-8858","details":"The kex_input_kexinit function in kex.c in OpenSSH 6.x and 7.x through 7.3 allows remote attackers to cause a denial of service (memory consumption) by sending many duplicate KEXINIT requests.  NOTE: a third party reports that \"OpenSSH upstream does not consider this as a security issue.\"","modified":"2026-07-08T12:05:05.092370Z","published":"2016-12-09T11:59:00.207Z","related":["SUSE-SU-2017:0264-1","SUSE-SU-2017:0603-1","SUSE-SU-2017:0606-1","SUSE-SU-2017:0607-1","SUSE-SU-2017:0607-2","SUSE-SU-2017:0607-3","SUSE-SU-2017:1661-1","openSUSE-SU-2024:11124-1"],"database_specific":{"unresolved_ranges":[{"cpes":["cpe:2.3:a:openbsd:openssh:7.1:*:*:*:*:*:*:*","cpe:2.3:a:openbsd:openssh:7.2:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"7.1"},{"last_affected":"7.1"},{"introduced":"7.2"},{"last_affected":"7.2"}],"source":"CPE_STRING","vendor_product":"openbsd:openssh"}]},"references":[{"type":"WEB","url":"https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2016/10/19/3"},{"type":"ADVISORY","url":"http://www.openwall.com/lists/oss-security/2016/10/20/1"},{"type":"ADVISORY","url":"http://www.securityfocus.com/bid/93776"},{"type":"ADVISORY","url":"http://www.securitytracker.com/id/1037057"},{"type":"ADVISORY","url":"https://security.FreeBSD.org/advisories/FreeBSD-SA-16:33.openssh.asc"},{"type":"ADVISORY","url":"https://security.gentoo.org/glsa/201612-18"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20180201-0001/"},{"type":"REPORT","url":"http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/kex.c.diff?r1=1.126&r2=1.127&f=h"},{"type":"REPORT","url":"http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/kex.c?rev=1.127&content-type=text/x-cvsweb-markup"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=1384860"},{"type":"FIX","url":"https://ftp.openbsd.org/pub/OpenBSD/patches/6.0/common/013_ssh_kexinit.patch.sig"},{"type":"FIX","url":"https://github.com/openssh/openssh-portable/commit/ec165c392ca54317dbe3064a8c200de6531e89ad"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openssh/openssh-portable","events":[{"introduced":"9f82e5a9042f2d872e98f48a876fcab3e25dd9bb"},{"last_affected":"99522ba7ec6963a05c04a156bf20e3ba3605987c"},{"fixed":"ec165c392ca54317dbe3064a8c200de6531e89ad"}],"database_specific":{"source":["CPE_STRING","REFERENCES"],"cpe":["cpe:2.3:a:openbsd:openssh:6.8:*:*:*:*:*:*:*","cpe:2.3:a:openbsd:openssh:6.9:*:*:*:*:*:*:*","cpe:2.3:a:openbsd:openssh:7.0:*:*:*:*:*:*:*","cpe:2.3:a:openbsd:openssh:7.3:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"6.8"},{"last_affected":"6.8"},{"introduced":"6.9"},{"last_affected":"6.9"},{"introduced":"7.0"},{"last_affected":"7.0"},{"introduced":"7.3"},{"last_affected":"7.3"}]}}],"versions":["6.8","6.9","7.0","7.3","V_7_3_P1","V_7_2_P1","V_7_1_P1","V_7_0_P1","V_6_9_P1","V_6_8_P1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2016-8858.json","vanir_signatures_modified":"2026-07-08T12:05:05Z","vanir_signatures":[{"deprecated":false,"digest":{"line_hashes":["156902939790282373310700724171657588209","316380331125517353126913904911828465574","295105781540324081782822153413707735107","244003011357174172644176527148363962509"],"threshold":0.9},"id":"CVE-2016-8858-2d5da5dc","signature_type":"Line","signature_version":"v1","source":"https://github.com/openssh/openssh-portable/commit/ec165c392ca54317dbe3064a8c200de6531e89ad","target":{"file":"kex.c"}},{"id":"CVE-2016-8858-dfa55b22","signature_type":"Function","signature_version":"v1","source":"https://github.com/openssh/openssh-portable/commit/ec165c392ca54317dbe3064a8c200de6531e89ad","target":{"file":"kex.c","function":"kex_input_kexinit"},"deprecated":false,"digest":{"function_hash":"235425802652287821391024408040613178504","length":1030}}]}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}