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
02 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
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 0.59% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 48.0% of scored records. A rank, not a probability.
- NVD base score
- 7.0 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2015-08-24 00:00Z11 YR AGO
- Last updated
- 2026-05-27 16:18Z5 MO AGO
- Reserved
- 2015-08-21
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- High (CVSS 7.0)
- CNA CVSS vector
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- Data version
- 5.2
- Document digest
- 7b574416dbd4ee253f44888d6444b3235409577dbdc44ab21e7561176c607372
05 Affected products
06 References
- www.openwall.com[oss-security] 20150821 Re: CVE request - OpenSSH 6.9 PAM privilege separation vulnerabilitieshttp://www.openwall.com/lists/oss-security/2015/08/22/1
- lists.fedoraproject.orgFEDORA-2015-13469http://lists.fedoraproject.org/pipermail/package-announce/2015-August/165170.html
- www.securityfocus.com76317http://www.securityfocus.com/bid/76317
- www.oracle.comhttp://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html
- security.gentoo.orgGLSA-201512-04https://security.gentoo.org/glsa/201512-04
- kc.mcafee.comhttps://kc.mcafee.com/corporate/index?page=content&id=SB10136
- www.openssh.comhttp://www.openssh.com/txt/release-7.0
- www.oracle.comhttp://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html
- github.comhttps://github.com/openssh/openssh-portable/commit/5e75f5198769056089fb06c4d738ab0e5abc66f7
- rhn.redhat.comRHSA-2016:0741http://rhn.redhat.com/errata/RHSA-2016-0741.html
- seclists.org20150813 BFS-SA-2015-002: OpenSSH PAM Privilege Separation Vulnerabilitieshttp://seclists.org/fulldisclosure/2015/Aug/54
- www.oracle.comhttp://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html
- lists.opensuse.orgSUSE-SU-2015:1581http://lists.opensuse.org/opensuse-security-announce/2015-09/msg00017.html
- lists.debian.org[debian-lts-announce] 20180910 [SECURITY] [DLA 1500-1] openssh security updatehttps://lists.debian.org/debian-lts-announce/2018/09/msg00010.html
- www.broadcom.comhttps://www.broadcom.com/support/fibre-channel-networking/security-advisories/brocade-security-advisory-2019-764
- cert-portal.siemens.comhttps://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf
07 Fixed in
Debian 12
- openssh Fixed in 1:6.9p1-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- openssh Fixed in 1:6.9p1-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- openssh Fixed in 1:6.9p1-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 14.04 LTS
- openssh Fixed in 1:6.6p1-2ubuntu2.2
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.