{"id":"UBUNTU-CVE-2015-6564","details":"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.","modified":"2026-01-31T02:44:01.987288Z","published":"2015-08-24T01:59:00Z","related":["USN-2710-1"],"upstream":["CVE-2015-6564"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2015-6564"},{"type":"REPORT","url":"https://anongit.mindrot.org/openssh.git/commit/?id=5e75f5198769056089fb06c4d738ab0e5abc66f7"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2015/08/11/9"},{"type":"REPORT","url":"https://github.com/openssh/openssh-portable/commit/5e75f5198769056089fb06c4d738ab0e5abc66f7"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2015/08/22/1"},{"type":"REPORT","url":"http://www.openssh.com/txt/release-7.0"},{"type":"REPORT","url":"http://seclists.org/fulldisclosure/2015/Aug/54"},{"type":"REPORT","url":"http://www.openwall.com/lists/oss-security/2015/08/22/1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-2710-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2015-6564"}],"affected":[{"package":{"name":"openssh","ecosystem":"Ubuntu:14.04:LTS","purl":"pkg:deb/ubuntu/openssh@1:6.6p1-2ubuntu2.2?arch=source&distro=trusty"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.6p1-2ubuntu2.2"}]}],"versions":["1:6.2p2-6","1:6.2p2-6ubuntu1","1:6.4p1-1","1:6.4p1-2","1:6.5p1-1","1:6.5p1-2","1:6.5p1-3","1:6.5p1-4","1:6.5p1-6","1:6.6p1-1","1:6.6p1-2","1:6.6p1-2ubuntu1","1:6.6p1-2ubuntu2"],"ecosystem_specific":{"binaries":[{"binary_version":"1:6.6p1-2ubuntu2.2","binary_name":"openssh-client"},{"binary_version":"1:6.6p1-2ubuntu2.2","binary_name":"openssh-server"},{"binary_version":"1:6.6p1-2ubuntu2.2","binary_name":"openssh-sftp-server"},{"binary_version":"1:6.6p1-2ubuntu2.2","binary_name":"ssh"},{"binary_version":"1:6.6p1-2ubuntu2.2","binary_name":"ssh-askpass-gnome"},{"binary_version":"1:6.6p1-2ubuntu2.2","binary_name":"ssh-krb5"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2015/UBUNTU-CVE-2015-6564.json"}}],"schema_version":"1.7.3","severity":[{"type":"Ubuntu","score":"medium"}]}