CVE-2015-6564: OpenSSH - Use After Free
- Cve: CVE-2015-6564
- Name: OpenSSH - Use After Free
- 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.
- Impact: Local attackers can exploit this to escalate privileges and gain unauthorized root access.
- Remediation: Update to OpenSSH 7.0 or later.
- Vulnerability type: use_after_free
- Vulnerability impact: privilege_escalation
- Requirement type: logged_in
- Requirements: Attacker needs control of sshd uid to send early request
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7
- Cvss vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.00599
- Epss percentile: 0.49632
- Assignee: [email protected]
- Published at: 2015-08-24T01:59:01Z
- Age in days: 4110
- Modified at: 2026-06-17T00:31:03Z
- References total: 16
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2015-6564
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-264 | — |
| CWE-416 | Use After Free |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| openbsd:openssh | <= 6.9 | no | nvd | /v1/products/openbsd/openssh |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| openssh/openssh-portable | commit, fix | yes | /v1/repositories/openssh/openssh-portable |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Authentication required: yes
- Exposed hosts: 41150597
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports