{"id":"CVE-2015-6564","state":"PUBLISHED","title":"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 b","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.","publishedAt":"2015-08-24T00:00:00.000Z","updatedAt":"2026-05-27T16:18:06.617Z","severity":{"score":7,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"CISA-ADP"},"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://www.openwall.com/lists/oss-security/2015/08/22/1","http://lists.fedoraproject.org/pipermail/package-announce/2015-August/165170.html","http://www.securityfocus.com/bid/76317","http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html","https://security.gentoo.org/glsa/201512-04","https://kc.mcafee.com/corporate/index?page=content&id=SB10136","http://www.openssh.com/txt/release-7.0","http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html","https://github.com/openssh/openssh-portable/commit/5e75f5198769056089fb06c4d738ab0e5abc66f7","http://rhn.redhat.com/errata/RHSA-2016-0741.html","http://seclists.org/fulldisclosure/2015/Aug/54","http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html","http://lists.opensuse.org/opensuse-security-announce/2015-09/msg00017.html","https://lists.debian.org/debian-lts-announce/2018/09/msg00010.html","https://www.broadcom.com/support/fibre-channel-networking/security-advisories/brocade-security-advisory-2019-764","https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf"],"weaknesses":["CWE-416"],"ingestedAt":"2026-10-29T19:42:12.437Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2015/6xxx/CVE-2015-6564.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2015-6564","state":"PUBLISHED","datePublished":"2015-08-24T00:00:00.000Z","dateUpdated":"2026-05-27T16:18:06.617Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2015-08-21T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://www.openwall.com/lists/oss-security/2015/08/22/1","name":"[oss-security] 20150821 Re: CVE request - OpenSSH 6.9 PAM privilege separation vulnerabilities","tags":["mailing-list"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-August/165170.html","name":"FEDORA-2015-13469","tags":["vendor-advisory"]},{"url":"http://www.securityfocus.com/bid/76317","name":"76317","tags":["vdb-entry"]},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html"},{"url":"https://security.gentoo.org/glsa/201512-04","name":"GLSA-201512-04","tags":["vendor-advisory"]},{"url":"https://kc.mcafee.com/corporate/index?page=content&id=SB10136"},{"url":"http://www.openssh.com/txt/release-7.0"},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html"},{"url":"https://github.com/openssh/openssh-portable/commit/5e75f5198769056089fb06c4d738ab0e5abc66f7"},{"url":"http://rhn.redhat.com/errata/RHSA-2016-0741.html","name":"RHSA-2016:0741","tags":["vendor-advisory"]},{"url":"http://seclists.org/fulldisclosure/2015/Aug/54","name":"20150813 BFS-SA-2015-002: OpenSSH PAM Privilege Separation Vulnerabilities","tags":["mailing-list"]},{"url":"http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2015-09/msg00017.html","name":"SUSE-SU-2015:1581","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/09/msg00010.html","name":"[debian-lts-announce] 20180910 [SECURITY] [DLA 1500-1] openssh security update","tags":["mailing-list"]},{"url":"https://www.broadcom.com/support/fibre-channel-networking/security-advisories/brocade-security-advisory-2019-764"},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf"}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"n/a"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2022-12-13T00:00:00.000Z"},"datePublic":"2015-08-01T00:00:00.000Z"},"adp":[{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2015/08/22/1","name":"[oss-security] 20150821 Re: CVE request - OpenSSH 6.9 PAM privilege separation vulnerabilities","tags":["mailing-list","x_transferred"]},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-August/165170.html","name":"FEDORA-2015-13469","tags":["vendor-advisory","x_transferred"]},{"url":"http://www.securityfocus.com/bid/76317","name":"76317","tags":["vdb-entry","x_transferred"]},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html","tags":["x_transferred"]},{"url":"https://security.gentoo.org/glsa/201512-04","name":"GLSA-201512-04","tags":["vendor-advisory","x_transferred"]},{"url":"https://kc.mcafee.com/corporate/index?page=content&id=SB10136","tags":["x_transferred"]},{"url":"http://www.openssh.com/txt/release-7.0","tags":["x_transferred"]},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html","tags":["x_transferred"]},{"url":"https://github.com/openssh/openssh-portable/commit/5e75f5198769056089fb06c4d738ab0e5abc66f7","tags":["x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2016-0741.html","name":"RHSA-2016:0741","tags":["vendor-advisory","x_transferred"]},{"url":"http://seclists.org/fulldisclosure/2015/Aug/54","name":"20150813 BFS-SA-2015-002: OpenSSH PAM Privilege Separation Vulnerabilities","tags":["mailing-list","x_transferred"]},{"url":"http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html","tags":["x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2015-09/msg00017.html","name":"SUSE-SU-2015:1581","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/09/msg00010.html","name":"[debian-lts-announce] 20180910 [SECURITY] [DLA 1500-1] openssh security update","tags":["mailing-list","x_transferred"]},{"url":"https://www.broadcom.com/support/fibre-channel-networking/security-advisories/brocade-security-advisory-2019-764","tags":["x_transferred"]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T07:22:22.183Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7,"attackVector":"LOCAL","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"HIGH","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"HIGH"}},{"other":{"type":"ssvc","content":{"timestamp":"2026-05-27T16:18:01.378706Z","id":"CVE-2015-6564","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-416","type":"CWE","lang":"en","description":"CWE-416 Use After Free"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-05-27T16:18:06.617Z"}}]}}}