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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | openssh | 1:6.9p1-1 | — |
| Debian 13 | openssh | 1:6.9p1-1 | — |
| Debian 12 | openssh | 1:6.9p1-1 | — |
| Debian 8 | openssh | 1:6.7p1-5+deb8u6 | DLA-1500-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | openssh | 1:6.6p1-2ubuntu2.2 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | openssh +6 | 6.6.1p1-22.el7 | RHSA-2015:2088 |
| RHEL 7 | pam_ssh_agent_auth | 0.9.3-9.22.el7 | RHSA-2015:2088 |
| RHEL 6 | openssh +4 | 5.3p1-117.el6 | RHSA-2016:0741 |
| RHEL 6 | pam_ssh_agent_auth | 0.9.3-117.el6 | RHSA-2016:0741 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 | openssh +1 | 6.6p1-29.1 | SUSE-SU-2015:1544-1 |
| SLES 11 SP4 | openssh | 6.6p1-13.1 | SUSE-SU-2015:1695-1 |
| SLES 11 SP4 | openssh-askpass-gnome | 6.6p1-13.3 | SUSE-SU-2015:1695-1 |
| SLES 11 SP3 | openssh | 6.2p2-0.21.1 | SUSE-SU-2015:1581-1 |
| SLES 11 SP3 | openssh-askpass-gnome | 6.2p2-0.21.3 | SUSE-SU-2015:1581-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 12 | openssh +1 | 6.6p1-29.1 | SUSE-SU-2015:1544-1 |
| SLES for SAP 11 SP4 | openssh | 6.6p1-13.1 | SUSE-SU-2015:1695-1 |
| SLES for SAP 11 SP4 | openssh-askpass-gnome | 6.6p1-13.3 | SUSE-SU-2015:1695-1 |
| SLES for SAP 11 SP3 | openssh | 6.2p2-0.21.1 | SUSE-SU-2015:1581-1 |
| SLES for SAP 11 SP3 | openssh-askpass-gnome | 6.2p2-0.21.3 | SUSE-SU-2015:1581-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | openssh +6 | 6.6.1p1-22.el7 | ELSA-2015-2088 |
| Oracle Linux 7 | pam_ssh_agent_auth | 0.9.3-9.22.el7 | ELSA-2015-2088 |
Advisories 9
- RHSA-2016:0741 Red Hat Security Advisory: openssh security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- RHSA-2015:2088 Red Hat Security Advisory: openssh security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DLA-1500-1 openssh - security update Debian Security (DSA / DLA) · Mar 9, 2026
- SUSE-SU-2015:1581-1 Security update for openssh SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2015:1695-1 Security update for openssh SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2015:1544-1 Security update for openssh SUSE / openSUSE Security Updates · May 2, 2025
- SSA-412672 SSA-412672: Multiple OpenSSL and OpenSSH Vulnerabilities in SCALANCE X-200RNA Switch Devices before V3.2.7 Siemens ProductCERT · Dec 13, 2022
- ICSA-22-349-21 Siemens SCALANCE X-200RNA Switch Devices CISA ICS & IT advisories · Dec 13, 2022
- ELSA-2015-2088 Moderate: openssh security, bug fix, and enhancement update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Nov 23, 2015
References
- [oss-security] 20150821 Re: CVE request - OpenSSH 6.9 PAM privilege separation vulnerabilities mailing-list
- FEDORA-2015-13469 vendor-advisory
- 76317 vdb-entry
- http://www.oracle.com/technetwork/topics/security/linuxbulletinapr2016-2952096.html
- GLSA-201512-04 vendor-advisory
- https://kc.mcafee.com/corporate/index?page=content&id=SB10136
- http://www.openssh.com/txt/release-7.0
- http://www.oracle.com/technetwork/topics/security/linuxbulletinoct2015-2719645.html
- https://github.com/openssh/openssh-portable/commit/5e75f5198769056089fb06c4d738ab0e5abc66f7
- RHSA-2016:0741 vendor-advisory
- 20150813 BFS-SA-2015-002: OpenSSH PAM Privilege Separation Vulnerabilities mailing-list
- http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html
- SUSE-SU-2015:1581 vendor-advisory
- [debian-lts-announce] 20180910 [SECURITY] [DLA 1500-1] openssh security update mailing-list
- https://www.broadcom.com/support/fibre-channel-networking/security-advisories/brocade-security-advisory-2019-764
- https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf