CVEfocus › CVE database › CVE-2016-10012

CVE-2016-10012

CVSS 7.8 HighEPSS 1.3% (higher than 71% of CVEs)Published 2017-01-05Updated 2026-05-29Assigner: mitre

The shared memory manager (associated with pre-authentication compression) in sshd in OpenSSH before 7.4 does not ensure that a bounds check is enforced by all compilers, which might allows local users to gain privileges by leveraging access to a sandboxed privilege-separation process, related to the m_zback and m_zlib data structures.

CWE-119

What to do

Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Red Hat has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

36Fixed
6Fix pending
2Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04opensshFixed1:7.2p2-4ubuntu2.4UBUNTU-CVE-2016-10012
Ubuntu 14.04opensshFixed1:6.6p1-2ubuntu2.10UBUNTU-CVE-2016-10012
Debian 14opensshFixed1:7.4p1-1DEBIAN-CVE-2016-10012
Debian 13opensshFixed1:7.4p1-1DEBIAN-CVE-2016-10012
Debian 12opensshFixed1:7.4p1-1DEBIAN-CVE-2016-10012
Red Hat Enterprise Linux 7opensshFixed0:7.4p1-11.el7RHSA-2017:2029
Red Hat Enterprise Linux 7openssh-askpassFixed0:7.4p1-11.el7RHSA-2017:2029
Red Hat Enterprise Linux 7openssh-cavsFixed0:7.4p1-11.el7RHSA-2017:2029
Red Hat Enterprise Linux 7openssh-clientsFixed0:7.4p1-11.el7RHSA-2017:2029
Red Hat Enterprise Linux 7openssh-keycatFixed0:7.4p1-11.el7RHSA-2017:2029
Red Hat Enterprise Linux 7openssh-ldapFixed0:7.4p1-11.el7RHSA-2017:2029
Red Hat Enterprise Linux 7openssh-serverFixed0:7.4p1-11.el7RHSA-2017:2029
Red Hat Enterprise Linux 7openssh-server-sysvinitFixed0:7.4p1-11.el7RHSA-2017:2029
Red Hat Enterprise Linux 7pam_ssh_agent_authFixed0:0.10.3-1.11.el7RHSA-2017:2029
Red Hat Enterprise Linux 6opensshFix pending
Fix deferred
Red Hat Enterprise Linux 6openssh-askpassFix pending
Fix deferred
Red Hat Enterprise Linux 6openssh-clientsFix pending
Fix deferred
Red Hat Enterprise Linux 6openssh-ldapFix pending
Fix deferred
Red Hat Enterprise Linux 6openssh-serverFix pending
Fix deferred
Red Hat Enterprise Linux 6pam_ssh_agent_authFix pending
Fix deferred
Red Hat Enterprise Linux 5opensshWill not fix
Will not fix
Red Hat Enterprise Linux 4opensshWill not fix
Will not fix
Alpine Linux 3.24opensshFixed7.4_p1-r0ALPINE-CVE-2016-10012
Alpine Linux 3.23opensshFixed7.4_p1-r0ALPINE-CVE-2016-10012
Alpine Linux 3.22opensshFixed7.4_p1-r0ALPINE-CVE-2016-10012
Alpine Linux 3.21opensshFixed7.4_p1-r0ALPINE-CVE-2016-10012
Alpine Linux 3.20opensshFixed7.4_p1-r0ALPINE-CVE-2016-10012
Alpine Linux 3.19opensshFixed7.4_p1-r0ALPINE-CVE-2016-10012
Alpine Linux 3.18opensshFixed7.4_p1-r0ALPINE-CVE-2016-10012
Alpine Linux 3.17opensshFixed7.4_p1-r0ALPINE-CVE-2016-10012
Alpine Linux 3.16opensshFixed7.4_p1-r0ALPINE-CVE-2016-10012
Alpine Linux 3.15opensshFixed7.4_p1-r0ALPINE-CVE-2016-10012
Alpine Linux 3.14opensshFixed7.4_p1-r0ALPINE-CVE-2016-10012
Alpine Linux 3.13opensshFixed7.4_p1-r0ALPINE-CVE-2016-10012
Alpine Linux 3.12opensshFixed7.4_p1-r0ALPINE-CVE-2016-10012
Alpine Linux 3.11opensshFixed7.4_p1-r0ALPINE-CVE-2016-10012
Alpine Linux 3.10opensshFixed7.4_p1-r0ALPINE-CVE-2016-10012
Alpine Linux 3.9opensshFixed7.4_p1-r0ALPINE-CVE-2016-10012
Alpine Linux 3.8opensshFixed7.4_p1-r0ALPINE-CVE-2016-10012
Alpine Linux 3.7opensshFixed7.5_p1-r8ALPINE-CVE-2016-10012
Alpine Linux 3.6opensshFixed7.4_p1-r0ALPINE-CVE-2016-10012
Alpine Linux 3.5opensshFixed7.4_p1-r0ALPINE-CVE-2016-10012
Alpine Linux 3.4opensshFixed7.2_p2-r4ALPINE-CVE-2016-10012
Alpine Linux 3.3opensshFixed7.2_p2-r3ALPINE-CVE-2016-10012

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.