cve.bz

CVE-2015-6564 openbsd openssh: Use After Free

7.0 highEPSS 0.6%

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

On this page
Use-after-free vulnerability in the mm_answer_pam_free_ctx function in monitor.c in sshd in OpenSSH before 7.0 on non-OpenBSD platforms might allow local users to gain privileges by leveraging control of the sshd uid to send an unexpectedly early MONITOR_REQ_PAM_FREE_CTX request.

Severity

CVSS 3.1

7.0 high
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 50th 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 2026-05-27. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-264 Permissions, Privileges, and Access Controls
CWE-416 Use After Free
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-2015-6564 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2015-6564?via=ask-ai-copy and https://cve.bz/cve/CVE-2015-6564?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-2015-6564 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 6.9

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian8openssh1:6.7p1-5+deb8u6DLA-1500-1
Debian12, 13, 14openssh1:6.9p1-1DEBIAN-CVE-2015-6564
Ubuntu14.04:LTSopenssh1:6.6p1-2ubuntu2.2UBUNTU-CVE-2015-6564
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 moreopenssh, openssh-ldap, openssh-server and 3 more0:5.3p1-117.el6RHSA-2016:0741
Red Hatenterprise_linux:6::client, enterprise_linux:6::computenode, enterprise_linux:6::server and 1 morepam_ssh_agent_auth0:0.9.3-117.el6RHSA-2016:0741
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 moreopenssh, openssh-ldap, openssh-keycat and 5 more0:6.6.1p1-22.el7RHSA-2015:2088
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morepam_ssh_agent_auth0:0.9.3-9.22.el7RHSA-2015:2088
SUSELinux Enterprise Desktop 11 SP3, Linux Enterprise Server 11 SP3, Linux Enterprise Server 11 SP3-TERADATA and 1 moreopenssh6.2p2-0.21.1SUSE-SU-2015:1581-1
SUSELinux Enterprise Desktop 11 SP3, Linux Enterprise Server 11 SP3, Linux Enterprise Server 11 SP3-TERADATA and 1 moreopenssh-askpass-gnome6.2p2-0.21.3SUSE-SU-2015:1581-1
SUSELinux Enterprise Desktop 11 SP4, Linux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4openssh6.6p1-13.1SUSE-SU-2015:1695-1
SUSELinux Enterprise Desktop 11 SP4, Linux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4openssh-askpass-gnome6.6p1-13.3SUSE-SU-2015:1695-1
SUSELinux Enterprise Desktop 12, Linux Enterprise Server 12, Linux Enterprise Server for SAP Applications 12openssh, openssh-askpass-gnome6.6p1-29.1SUSE-SU-2015:1544-1

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. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6openssh-0:5.3p1-117.el6Fixed 2016-05-10RHSA-2016:0741
Red Hat Enterprise Linux 7openssh-0:6.6.1p1-22.el7Fixed 2015-11-19RHSA-2015:2088
Red Hat Enterprise Linux 4opensshWill not fix
Red Hat Enterprise Linux 5opensshWill not fix

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-2015-6564.

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.

References

Check your stackJSON