CVE-2015-6564
No exploitation reported by the sources we read.
- Published2015-08-24
- WeaknessCWE-264 · CWE-416
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « 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- 2015-08-2401:59CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 6.9 | ≤ 6.9 | no fix published | NVD |
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
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
Red Hat Security Advisory: openssh security, bug fix, and enhancement update
Red Hat Security Advisory: openssh security, bug fix, and enhancement update
Fix
- 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.
- 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
- No fix planned, says the vendor Red Hat Product Security CVE-2015-6564 · 2 productsWill not fix
Advisories and patches
- www.openssh.comVendor Advisory
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHubno public repository identifiedread 2026-11-19
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2026-05-27
- CISA-ADPCVSS 3.172026-05-27
- NVDCVSS 2.06.9read 2026-10-23
- CISA-ADPweakness (CWE)CWE-4162026-05-27
- NVDweakness (CWE)CWE-264read 2026-10-23
- FIRST EPSSEPSS score0.6 %2026-11-18
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- EUVD-2015-6503same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-cm6p-9f8w-c878same flawGitHub Advisory Database · CC-BY-4.0
- DLA-1500-1advisory covering several CVEsDebian · LicenseRef-unstated
- RHSA-2015:2088advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2016:0741advisory covering several CVEsRed Hat · CC-BY-4.0
- SUSE-SU-2015:1544-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2015:1581-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2015:1695-1advisory covering several CVEsSUSE · LicenseRef-unstated
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?
Is CVE-2015-6564 actively exploited?
What is the CVSS score for CVE-2015-6564?
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
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-cm6p-9f8w-c878
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0