CVE-2016-10012: Buffer Overflow

Published Dec 20, 2016
·
Updated

It was found that the shared memory manager used by pre-authentication compression support had a bounds checks that could be elided by some optimising compilers. Additionally, this memory manager was incorrectly accessible when pre-authentication compression was disabled. This could potentially allow attacks against the privileged monitor process from the sandboxed privilege-separation process (a compromise of the latter would be required first).

CVE assignment:

http://seclists.org/oss-sec/2016/q4/708

External References:

https://www.openssh.com/txt/release-7.4

Other sources

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 mzback and mzlib data structures.

Launchpad

Affected Software

3 affected componentsFixes available
OpenBSD OpenSSH<=7.3
redhat/openssh<7.4
7.4
debian/openssh
1:8.4p1-5+deb11u31:8.4p1-5+deb11u71:9.2p1-2+deb12u101:9.2p1-2+deb12u91:10.0p1-7+deb13u41:10.0p1-7+deb13u21:10.3p1-4

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/openssh to a version that resolves this vulnerability.

    Fixed in 7.4
  2. Upgrade

    Upgrade debian/openssh to a version that resolves this vulnerability.

    Fixed in 1:8.4p1-5+deb11u3Fixed in 1:8.4p1-5+deb11u7Fixed in 1:9.2p1-2+deb12u10Fixed in 1:9.2p1-2+deb12u9Fixed in 1:10.0p1-7+deb13u4Fixed in 1:10.0p1-7+deb13u2Fixed in 1:10.3p1-4
  3. Upgrade

    Upgrade OpenSSH to a version that resolves this vulnerability.

    Fixed in 7.4
  4. Upgrade

    Upgrade debian/openssh to a version that resolves this vulnerability.

    Fixed in 1:8.4p1-5+deb11u3
  5. Upgrade

    Upgrade debian/openssh to a version that resolves this vulnerability.

    Fixed in 1:8.4p1-5+deb11u7
  6. Upgrade

    Upgrade debian/openssh to a version that resolves this vulnerability.

    Fixed in 1:9.2p1-2+deb12u10
  7. Upgrade

    Upgrade debian/openssh to a version that resolves this vulnerability.

    Fixed in 1:9.2p1-2+deb12u9
  8. Upgrade

    Upgrade debian/openssh to a version that resolves this vulnerability.

    Fixed in 1:10.0p1-7+deb13u4
  9. Upgrade

    Upgrade debian/openssh to a version that resolves this vulnerability.

    Fixed in 1:10.0p1-7+deb13u2
  10. Upgrade

    Upgrade debian/openssh to a version that resolves this vulnerability.

    Fixed in 1:10.3p1-4

Event History

Dec 20, 2016
Data Sourced
via Red Hat·08:35 AM
DescriptionSeverityAffected Software
Jan 5, 2017
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·02:59 AM
RemedyDescriptionSeverityWeaknessAffected Software
May 29, 2026
Data Sourced
via Ubuntu·09:05 PM
RemedyDescriptionSeverityAffected Software
Data Sourced
via Launchpad·09:06 PM
Description
Jun 6, 2026
Data Sourced
via Debian·09:14 PM
DescriptionAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2016-10012?

CVE-2016-10012 has a medium severity rating due to its potential to expose memory vulnerabilities.

2

How do I fix CVE-2016-10012?

To fix CVE-2016-10012, upgrade your OpenSSH package to at least version 7.4 for Red Hat and the specified versions for Ubuntu and Debian.

3

What vulnerability does CVE-2016-10012 address?

CVE-2016-10012 addresses a potential security flaw in the shared memory manager used by OpenSSH that could be exploited when pre-authentication compression is enabled.

4

Which versions of OpenSSH are affected by CVE-2016-10012?

CVE-2016-10012 affects OpenSSH versions prior to 7.4 for Red Hat and other corresponding versions for Ubuntu and Debian.

5

Is CVE-2016-10012 a critical vulnerability?

CVE-2016-10012 is not classified as critical but requires prompt attention due to its potential security implications.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203