cve.bz

CVE-2016-10012 openbsd openssh

7.8 highEPSS 1.3%Fix available

High (7.8) in openbsd openssh. EPSS 1.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
1.3% (unchanged from 1.3% a week ago; 1.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 71st percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2024-01-30. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2016-10012 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2016-10012?via=ask-ai-copy and https://cve.bz/cve/CVE-2016-10012?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2016-10012 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
openbsd:opensshthrough 7.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8openssh1:6.7p1-5+deb8u6DLA-1500-1
Debian12, 13, 14openssh1:7.4p1-1DEBIAN-CVE-2016-10012
Ubuntu14.04:LTSopenssh1:6.6p1-2ubuntu2.10UBUNTU-CVE-2016-10012 USN-3538-1
Ubuntu16.04:LTSopenssh1:7.2p2-4ubuntu2.4UBUNTU-CVE-2016-10012 USN-3538-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreopenssh, openssh-cavs, openssh-ldap and 6 more0:7.4p1-11.el7RHSA-2017:2029
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morepam_ssh_agent_auth0:0.10.3-1.11.el7RHSA-2017:2029
SUSELinux Enterprise Desktop 12 SP2, Linux Enterprise Server 12 SP2, Linux Enterprise Server for Raspberry Pi 12 SP2 and 1 moreopenssh7.2p2-66.1SUSE-SU-2017:0264-1
SUSELinux Enterprise Desktop 12 SP2, Linux Enterprise Server 12 SP2, Linux Enterprise Server for Raspberry Pi 12 SP2 and 1 moreopenssh-askpass-gnome7.2p2-66.3SUSE-SU-2017:0264-1
SUSELinux Enterprise Point of Sale 11 SP3, Linux Enterprise Server 11 SP3-LTSS, Linux Enterprise Server 11 SP3-TERADATAopenssh, openssh-askpass-gnome6.2p2-0.41.5.1SUSE-SU-2018:3540-1
SUSELinux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4openssh, openssh-askpass-gnome6.6p1-36.3.1SUSE-SU-2018:2275-1
SUSELinux Enterprise Server 11-SECURITYopenssh-openssl16.6p1-19.3.1SUSE-SU-2018:2719-1
SUSELinux Enterprise Server 12 SP1-LTSS, Linux Enterprise Server 12-LTSS, Linux Enterprise Server for SAP Applications 12 SP1openssh6.6p1-54.15.2SUSE-SU-2018:2685-1
SUSELinux Enterprise Server 12 SP1-LTSS, Linux Enterprise Server 12-LTSS, Linux Enterprise Server for SAP Applications 12 SP1openssh-askpass-gnome6.6p1-54.15.1SUSE-SU-2018:2685-1
openSUSETumbleweedopenssh8.4p1-7.4openSUSE-SU-2024:11124-1
Alpinev3.3openssh7.2_p2-r3ALPINE-CVE-2016-10012
Alpinev3.4openssh7.2_p2-r4ALPINE-CVE-2016-10012
Alpinev3.5, v3.6, v3.8 and 16 moreopenssh7.4_p1-r0ALPINE-CVE-2016-10012
Alpinev3.7openssh7.5_p1-r8ALPINE-CVE-2016-10012

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's statement

In order to exploit this flaw, the attacker needs to first compromise the sandboxed privilege-separation process by using another security flaw. Because of this restriction for successful exploitation, this issue has been rated as having Low security impact.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7openssh-0:7.4p1-11.el7Fixed 2017-08-01RHSA-2017:2029
Red Hat Enterprise Linux 4opensshWill not fix
Red Hat Enterprise Linux 5opensshWill not fix
Red Hat Enterprise Linux 6opensshFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2016-10012.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-22-349-21Siemens SCALANCE X-200RNA Switch Devices2022-12-13MultipleSCALANCE X204RNA (HSR) (6GK5204-0BA00-2MB2), SCALANCE X204RNA (PRP) (6GK5204-0BA00-2KB2), SCALANCE X204RNA EEC (HSR) (6GK5204-0BS00-2NA3) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON