CVE-2016-10012 Privilege escalation in n/a

High 7.8 Published Updated

Local attackers can escalate privileges by exploiting a bounds check failure in the OpenSSH shared memory manager when pre-authentication compression is enabled.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2016-10012?

CVE-2016-10012 is a high-severity vulnerability in OpenSSH, published on 5 Jan 2017. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

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.

Weakness: CWE-119

Which versions are affected by CVE-2016-10012?

It affects 1 product.

Products include OpenSSH.

How do I fix CVE-2016-10012?

Upgrade to a fixed version.

Is CVE-2016-10012 being exploited?

There is no known exploitation of CVE-2016-10012 in the wild and no public exploit code.

All OpenSSH vulnerabilities

Sources

Also known as ALPINE-CVE-2016-10012, CLSA-2022-1658171011, CLSA-2022-1658171690, DEBIAN-CVE-2016-10012, GHSA-f4jf-rwp2-rx83, UBUNTU-CVE-2016-10012.

Is CVE-2016-10012 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free