{"api_version":"1","generated_at":"2026-04-23T04:21:08+00:00","cve":"CVE-2015-6564","urls":{"html":"https://cve.report/CVE-2015-6564","api":"https://cve.report/api/cve/CVE-2015-6564.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2015-6564","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2015-6564"},"summary":{"title":"CVE-2015-6564","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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2015-08-24 01:59:00","updated_at":"2022-12-13 12:15:00"},"problem_types":["CWE-264"],"metrics":[],"references":[{"url":"https://security.gentoo.org/glsa/201512-04","name":"GLSA-201512-04","refsource":"GENTOO","tags":[],"title":"OpenSSH: Multiple vulnerabilities (GLSA 201512-04) — Gentoo Security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.debian.org/debian-lts-announce/2018/09/msg00010.html","name":"[debian-lts-announce] 20180910 [SECURITY] [DLA 1500-1] openssh security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 1500-1] openssh security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.broadcom.com/support/fibre-channel-networking/security-advisories/brocade-security-advisory-2019-764","name":"https://www.broadcom.com/support/fibre-channel-networking/security-advisories/brocade-security-advisory-2019-764","refsource":"CONFIRM","tags":[],"title":"Broadcom Inc. | Connecting Everything","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://rhn.redhat.com/errata/RHSA-2016-0741.html","name":"RHSA-2016:0741","refsource":"REDHAT","tags":[],"title":"Red Hat Customer Portal","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"http://www.openssh.com/txt/release-7.0","name":"http://www.openssh.com/txt/release-7.0","refsource":"CONFIRM","tags":["Vendor Advisory"],"title":"","mime":"text/plain","httpstatus":"200","archivestatus":"200"},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html","name":"http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html","refsource":"CONFIRM","tags":[],"title":"Oracle Linux Bulletin - April 2016","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://lists.opensuse.org/opensuse-security-announce/2015-09/msg00017.html","name":"SUSE-SU-2015:1581","refsource":"SUSE","tags":[],"title":"[security-announce] SUSE-SU-2015:1581-1: important: Security update for","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/openssh/openssh-portable/commit/5e75f5198769056089fb06c4d738ab0e5abc66f7","name":"https://github.com/openssh/openssh-portable/commit/5e75f5198769056089fb06c4d738ab0e5abc66f7","refsource":"CONFIRM","tags":[],"title":"set sshpam_ctxt to NULL after free · openssh/openssh-portable@5e75f51 · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html","name":"http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html","refsource":"CONFIRM","tags":[],"title":"Oracle Linux Bulletin - October 2015","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf","name":"https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf","refsource":"CONFIRM","tags":[],"title":"","mime":"application/pdf","httpstatus":"200","archivestatus":"404"},{"url":"https://kc.mcafee.com/corporate/index?page=content&id=SB10136","name":"https://kc.mcafee.com/corporate/index?page=content&id=SB10136","refsource":"CONFIRM","tags":[],"title":"McAfee KnowledgeBase - Intel Security - Security Bulletin: Firewall Enterprise update fixes OpenSSH CVE-2015-5600 and CVE-2015-6564 vulnerabilities","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://seclists.org/fulldisclosure/2015/Aug/54","name":"20150813 BFS-SA-2015-002: OpenSSH PAM Privilege Separation Vulnerabilities","refsource":"FULLDISC","tags":[],"title":"Full Disclosure: BFS-SA-2015-002: OpenSSH PAM Privilege Separation\tVulnerabilities","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-August/165170.html","name":"FEDORA-2015-13469","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 21 Update: openssh-6.6.1p1-16.fc21","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"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","refsource":"MLIST","tags":[],"title":"oss-security - Re: CVE request - OpenSSH 6.9 PAM privilege separation vulnerabilities","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/76317","name":"76317","refsource":"BID","tags":[],"title":"OpenSSH PAM Support Multiple Remote Code Execution Vulnerabilities","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html","name":"http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html","refsource":"CONFIRM","tags":[],"title":"Oracle Solaris Bulletin - January 2016","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2015-6564","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2015-6564","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2015","cve_id":"6564","vulnerable":"1","versionEndIncluding":"6.9","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"openbsd","cpe5":"openssh","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2015-6564","qid":"591280","title":"Siemens SCALANCE X-200RNA Switch Devices Denial of Service (DoS) Multiple Vulnerabilities (ICSA-22-349-21, SSA-412672)"},{"cve":"CVE-2015-6564","qid":"690300","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for openssh (2920c449-4850-11e5-825f-c80aa9043978)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2015-6564","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"[oss-security] 20150821 Re: CVE request - OpenSSH 6.9 PAM privilege separation vulnerabilities","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2015/08/22/1"},{"name":"FEDORA-2015-13469","refsource":"FEDORA","url":"http://lists.fedoraproject.org/pipermail/package-announce/2015-August/165170.html"},{"name":"76317","refsource":"BID","url":"http://www.securityfocus.com/bid/76317"},{"name":"http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html","refsource":"CONFIRM","url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html"},{"name":"GLSA-201512-04","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/201512-04"},{"name":"https://kc.mcafee.com/corporate/index?page=content&id=SB10136","refsource":"CONFIRM","url":"https://kc.mcafee.com/corporate/index?page=content&id=SB10136"},{"name":"http://www.openssh.com/txt/release-7.0","refsource":"CONFIRM","url":"http://www.openssh.com/txt/release-7.0"},{"name":"http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html","refsource":"CONFIRM","url":"http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html"},{"name":"https://github.com/openssh/openssh-portable/commit/5e75f5198769056089fb06c4d738ab0e5abc66f7","refsource":"CONFIRM","url":"https://github.com/openssh/openssh-portable/commit/5e75f5198769056089fb06c4d738ab0e5abc66f7"},{"name":"RHSA-2016:0741","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2016-0741.html"},{"name":"20150813 BFS-SA-2015-002: OpenSSH PAM Privilege Separation Vulnerabilities","refsource":"FULLDISC","url":"http://seclists.org/fulldisclosure/2015/Aug/54"},{"name":"http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html","refsource":"CONFIRM","url":"http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html"},{"name":"SUSE-SU-2015:1581","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2015-09/msg00017.html"},{"name":"[debian-lts-announce] 20180910 [SECURITY] [DLA 1500-1] openssh security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2018/09/msg00010.html"},{"refsource":"CONFIRM","name":"https://www.broadcom.com/support/fibre-channel-networking/security-advisories/brocade-security-advisory-2019-764","url":"https://www.broadcom.com/support/fibre-channel-networking/security-advisories/brocade-security-advisory-2019-764"},{"refsource":"CONFIRM","name":"https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf","url":"https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf"}]}},"nvd":{"publishedDate":"2015-08-24 01:59:00","lastModifiedDate":"2022-12-13 12:15:00","problem_types":["CWE-264"],"metrics":{"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:L/AC:M/Au:N/C:C/I:C/A:C","accessVector":"LOCAL","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE","baseScore":6.9},"severity":"MEDIUM","exploitabilityScore":3.4,"impactScore":10,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:openbsd:openssh:*:*:*:*:*:*:*:*","versionEndIncluding":"6.9","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2015","CveId":"6564","Ordinal":"83565","Title":"CVE-2015-6564","CVE":"CVE-2015-6564","Year":"2015"},"notes":[{"CveYear":"2015","CveId":"6564","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2015","CveId":"6564","Ordinal":"2","NoteData":"2015-08-23","Type":"Other","Title":"Published"},{"CveYear":"2015","CveId":"6564","Ordinal":"3","NoteData":"2019-03-26","Type":"Other","Title":"Modified"}]}}}