SecurityContext

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

IdName
CWE-264—
CWE-416Use After Free

References

Same in every row:

  • Source: nvd
UrlTags
http://www.openssh.com/txt/release-7.0Vendor Advisory
http://lists.fedoraproject.org/pipermail/package-announce/2015-August/165170.html
http://lists.opensuse.org/opensuse-security-announce/2015-09/msg00017.html
http://rhn.redhat.com/errata/RHSA-2016-0741.html
http://seclists.org/fulldisclosure/2015/Aug/54
http://www.openwall.com/lists/oss-security/2015/08/22/1
http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html
http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html
http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html
http://www.securityfocus.com/bid/76317

Products

ProductAffectedPlatform boundSourcesUrl
openbsd:openssh<= 6.9nonvd/v1/products/openbsd/openssh

Projects

RepositoryLink kindsIndexedUrl
openssh/openssh-portablecommit, fixyes/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