Skip to main content
No exploitation reportedFix available

CVE-2015-6564

No exploitation reported by the sources we read.

  • Published2015-08-24
  • WeaknessCWE-264 · CWE-416

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2015-08-2401:59CVE publishedNVD

Versions per branch

NVD
OpenSSH
BranchAffectedFixed in
6.9≤ 6.9no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • opensshUbuntu:14.04:LTSall versions · fixed in 1:6.6p1-2ubuntu2.2
  • opensshSUSE:Linux Enterprise Server for SAP Applications 12all versions · fixed in 6.6p1-29.1and 1 other package
  • opensshSUSE:Linux Enterprise Server for SAP Applications 11 SP4all versions · fixed in 6.6p1-13.1
  • opensshSUSE:Linux Enterprise Server for SAP Applications 11 SP3all versions · fixed in 6.2p2-0.21.1
  • opensshSUSE:Linux Enterprise Server 12all versions · fixed in 6.6p1-29.1and 1 other package
  • opensshSUSE:Linux Enterprise Server 11 SP4all versions · fixed in 6.6p1-13.1
  • opensshSUSE:Linux Enterprise Server 11 SP3-TERADATAall versions · fixed in 6.2p2-0.21.1
  • opensshSUSE:Linux Enterprise Server 11 SP3all versions · fixed in 6.2p2-0.21.1

30 more package ranges on OSV.dev

Vendor advisories

  • CVE-2015-6564 Red Hat Product Security178 products fixed · 2 known affected

    openssh: Use-after-free bug related to PAM support

    openssh.src as a component of Red Hat Enterprise Linux 4 · openssh.src as a component of Red Hat Enterprise Linux 5

  • RHSA-2016:0741 Red Hat Product Security82 products fixed

    Red Hat Security Advisory: openssh security, bug fix, and enhancement update

  • RHSA-2015:2088 Red Hat Product Security96 products fixed

    Red Hat Security Advisory: openssh security, bug fix, and enhancement update

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2016:0741 · 82 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 After installing this update, the OpenSSH server daemon (sshd) will be restarted automatically.
  2. Vendor fix Red Hat Product Security RHSA-2015:2088 · 96 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
  3. No fix planned, says the vendor Red Hat Product Security CVE-2015-6564 · 2 productsWill not fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Published
2015-08-24
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-cm6p-9f8w-c878

Frequently asked questions

What is CVE-2015-6564?

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.

Is CVE-2015-6564 actively exploited?

Active exploitation of CVE-2015-6564 has not been confirmed. Its EPSS score was 0.6% on 2026-11-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2015-6564?

CVE-2015-6564 has a CVSS v3 base score of 7 (HIGH severity), with vector string CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.

Running OpenSSH? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record