Skip to content
Fencer Intel
high 7.0

CVE-2015-6564 json

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 mig…

published 11y ago modified 4mo ago also EUVD-2015-6503

cvss
7.0
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.6%
EPSS 0.6% chance of exploitation in 30 days, percentile 48%
public exploits
0
none known

Summary

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.

Patch / fix

  • openssh Debian 14, Debian 13, Debian 12 1:6.9p1-1

debian advisories DEBIAN-CVE-2015-6564

  • openssh Ubuntu 14.04 LTS 1:6.6p1-2ubuntu2.2

ubuntu advisories UBUNTU-CVE-2015-6564

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • openssh RHEL 6 5.3p1-117.el6
  • openssh-ldap RHEL 6 5.3p1-117.el6
  • openssh-server RHEL 6 5.3p1-117.el6
  • openssh-askpass RHEL 6 5.3p1-117.el6
  • openssh-clients RHEL 6 5.3p1-117.el6
  • pam_ssh_agent_auth RHEL 6 0.9.3-117.el6
  • openssh RHEL 7 6.6.1p1-22.el7
  • openssh-ldap RHEL 7 6.6.1p1-22.el7

red hat advisories RHSA-2016:0741RHSA-2015:2088

  • openssh SLES for SAP 11 SP4, SLES 11 SP4, SLED 11 SP4 6.6p1-13.1
  • openssh-askpass-gnome SLES for SAP 11 SP4, SLES 11 SP4, SLED 11 SP4 6.6p1-13.3
  • openssh SLES for SAP 11 SP3, SLES 11 SP3-TERADATA, SLES 11 SP3 +1 more 6.2p2-0.21.1
  • openssh-askpass-gnome SLES for SAP 11 SP3, SLES 11 SP3-TERADATA, SLES 11 SP3 +1 more 6.2p2-0.21.3
  • openssh SLES for SAP 12, SLES 12, SLED 12 6.6p1-29.1
  • openssh-askpass-gnome SLES for SAP 12, SLES 12, SLED 12 6.6p1-29.1

suse advisories SUSE-SU-2015:1695-1SUSE-SU-2015:1581-1SUSE-SU-2015:1544-1

Is CVE-2015-6564 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2015-6564 updated cvss 4.0

openssh: Use-after-free bug related to PAM support

  • Red Hat Enterprise Linux 4 openssh Red Hat Enterprise Linux 5 openssh
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux Client (v. 7) openssh 6.6.1p1-22.el7, openssh-keycat 6.6.1p1-22.el7, openssh-server 6.6.1p1-22.el7, openssh-askpass 6.6.1p1-22.el7, openssh-clients 6.6.1p1-22.el7 Red Hat Enterprise Linux Client Optional (v. 7) openssh-ldap 6.6.1p1-22.el7, pam_ssh_agent_auth 0.9.3-9.22.el7, openssh-server-sysvinit 6.6.1p1-22.el7 Red Hat Enterprise Linux ComputeNode (v. 7) openssh 6.6.1p1-22.el7, openssh-keycat 6.6.1p1-22.el7, openssh-server 6.6.1p1-22.el7, openssh-clients 6.6.1p1-22.el7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) openssh-ldap 6.6.1p1-22.el7, openssh-askpass 6.6.1p1-22.el7, pam_ssh_agent_auth 0.9.3-9.22.el7, openssh-server-sysvinit 6.6.1p1-22.el7
    fixed: vendor fix RHSA-2015:2088
  • Red Hat Enterprise Linux Desktop (v. 6) openssh 5.3p1-117.el6, openssh-server 5.3p1-117.el6, openssh-askpass 5.3p1-117.el6, openssh-clients 5.3p1-117.el6 Red Hat Enterprise Linux Desktop Optional (v. 6) openssh-ldap 5.3p1-117.el6, pam_ssh_agent_auth 0.9.3-117.el6 Red Hat Enterprise Linux HPC Node (v. 6) openssh 5.3p1-117.el6, openssh-server 5.3p1-117.el6, openssh-clients 5.3p1-117.el6 Red Hat Enterprise Linux HPC Node Optional (v. 6) openssh-ldap 5.3p1-117.el6, openssh-askpass 5.3p1-117.el6, pam_ssh_agent_auth 0.9.3-117.el6 Red Hat Enterprise Linux Server (v. 6) openssh 5.3p1-117.el6, openssh-server 5.3p1-117.el6, openssh-askpass 5.3p1-117.el6, openssh-clients 5.3p1-117.el6
    fixed: vendor fix RHSA-2016:0741
  • Red Hat Enterprise Linux Server (v. 7) openssh 6.6.1p1-22.el7, openssh-keycat 6.6.1p1-22.el7, openssh-server 6.6.1p1-22.el7, openssh-askpass 6.6.1p1-22.el7, openssh-clients 6.6.1p1-22.el7
    fixed: vendor fix RHSA-2015:2088
  • Red Hat Enterprise Linux Server Optional (v. 6) openssh-ldap 5.3p1-117.el6, pam_ssh_agent_auth 0.9.3-117.el6
    fixed: vendor fix RHSA-2016:0741
  • Red Hat Enterprise Linux Server Optional (v. 7) openssh-ldap 6.6.1p1-22.el7, openssh-askpass 6.6.1p1-22.el7, pam_ssh_agent_auth 0.9.3-9.22.el7, openssh-server-sysvinit 6.6.1p1-22.el7
    fixed: vendor fix RHSA-2015:2088
  • Red Hat Enterprise Linux Workstation (v. 6) openssh 5.3p1-117.el6, openssh-server 5.3p1-117.el6, openssh-askpass 5.3p1-117.el6, openssh-clients 5.3p1-117.el6
    fixed: vendor fix RHSA-2016:0741
  • Red Hat Enterprise Linux Workstation (v. 7) openssh 6.6.1p1-22.el7, openssh-keycat 6.6.1p1-22.el7, openssh-server 6.6.1p1-22.el7, openssh-askpass 6.6.1p1-22.el7, openssh-clients 6.6.1p1-22.el7
    fixed: vendor fix RHSA-2015:2088
show 2 more
  • Red Hat Enterprise Linux Workstation Optional (v. 6) openssh-ldap 5.3p1-117.el6, pam_ssh_agent_auth 0.9.3-117.el6
    fixed: vendor fix RHSA-2016:0741
  • Red Hat Enterprise Linux Workstation Optional (v. 7) openssh-ldap 6.6.1p1-22.el7, pam_ssh_agent_auth 0.9.3-9.22.el7, openssh-server-sysvinit 6.6.1p1-22.el7
    fixed: vendor fix RHSA-2015:2088

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-22-349-21 updated cvss 7.4

Siemens SCALANCE X-200RNA Switch Devices

  • Siemens SCALANCE X204RNA (HSR) (6GK5204-0BA00-2MB2) <V3.2.7 Siemens SCALANCE X204RNA (PRP) (6GK5204-0BA00-2KB2) <V3.2.7 Siemens SCALANCE X204RNA EEC (HSR) (6GK5204-0BS00-2NA3) <V3.2.7 Siemens SCALANCE X204RNA EEC (PRP) (6GK5204-0BS00-3LA3) <V3.2.7 Siemens SCALANCE X204RNA EEC (PRP/HSR) (6GK5204-0BS00-3PA3) <V3.2.7
    affected: fixed in V3.2.7, mitigation support.industry.siemens.com

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
5mo ago

Exploit prediction

0.60% chance of exploitation in the next 30 days, higher than 48% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CISA ADP 3.1 7.0 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CNA 3.1 7.0 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 6.9 AV:L/AC:M/Au:N/C:C/I:C/A:C

Classification

Weakness
  • CWE-416 Use After Free
  • CWE-264 Permissions, Privileges, and Access Controls

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.