CVE-2015-8325
published high CVSS 3.1 · 7.8openssh: privilege escalation via user's PAM environment and UseLogin=yes
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Alpine Linux | v3.2 | openssh | Fixed | 6.8_p1-r10 | Package fix record |
| Debian | jessie | openssh | Advisory build | 1:6.7p1-5+deb8u2 | DSA-3550-1 |
| Oracle Linux | 6 | opensshi686 | Advisory build | 0:5.3p1-122.el6 | ELSA-2017-0641 |
| Red Hat Enterprise Linux | RHEL-6 | opensshi686 | Advisory build | 5.3p1-122.el6 | RHSA-2017:0641 |
| Debian | wheezy | openssh | Advisory build | 1:6.0p1-4+deb7u4 | DSA-3550-1 |
| Oracle Linux | 6 | opensshsparc64 | Advisory build | 0:5.3p1-122.el6 | ELSA-2017-0641 |
| Oracle Linux | 6 | opensshx86_64 | Advisory build | 0:5.3p1-122.el6 | ELSA-2017-0641 |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Oracle Linux | 6 | openssh-askpassi686 | Advisory build | 0:5.3p1-122.el6 | ELSA-2017-0641 |
| Oracle Linux | 6 | openssh-askpasssparc64 | Advisory build | 0:5.3p1-122.el6 | ELSA-2017-0641 |
| Oracle Linux | 6 | openssh-askpassx86_64 | Advisory build | 0:5.3p1-122.el6 | ELSA-2017-0641 |
| Oracle Linux | 6 | openssh-clientsi686 | Advisory build | 0:5.3p1-122.el6 | ELSA-2017-0641 |
| Oracle Linux | 6 | openssh-clientssparc64 | Advisory build | 0:5.3p1-122.el6 | ELSA-2017-0641 |
| Oracle Linux | 6 | openssh-clientsx86_64 | Advisory build | 0:5.3p1-122.el6 | ELSA-2017-0641 |
| Oracle Linux | 6 | openssh-ldapi686 | Advisory build | 0:5.3p1-122.el6 | ELSA-2017-0641 |
| Oracle Linux | 6 | openssh-ldapsparc64 | Advisory build | 0:5.3p1-122.el6 | ELSA-2017-0641 |
| Oracle Linux | 6 | openssh-ldapx86_64 | Advisory build | 0:5.3p1-122.el6 | ELSA-2017-0641 |
| Oracle Linux | 6 | openssh-serveri686 | Advisory build | 0:5.3p1-122.el6 | ELSA-2017-0641 |
| Oracle Linux | 6 | openssh-serversparc64 | Advisory build | 0:5.3p1-122.el6 | ELSA-2017-0641 |
| Oracle Linux | 6 | openssh-serverx86_64 | Advisory build | 0:5.3p1-122.el6 | ELSA-2017-0641 |
| Oracle Linux | 6 | pam_ssh_agent_authi686 | Advisory build | 0:0.9.3-122.el6 | ELSA-2017-0641 |
| Oracle Linux | 6 | pam_ssh_agent_authx86_64 | Advisory build | 0:0.9.3-122.el6 | ELSA-2017-0641 |
| Oracle Linux | 7 | opensshx86_64 | Advisory build | 0:6.6.1p1-31.el7 | ELSA-2016-2588 |
| Oracle Linux | 7 | openssh-askpassx86_64 | Advisory build | 0:6.6.1p1-31.el7 | ELSA-2016-2588 |
| Oracle Linux | 7 | openssh-clientsx86_64 | Advisory build | 0:6.6.1p1-31.el7 | ELSA-2016-2588 |
| Oracle Linux | 7 | openssh-keycatx86_64 | Advisory build | 0:6.6.1p1-31.el7 | ELSA-2016-2588 |
| Oracle Linux | 7 | openssh-ldapx86_64 | Advisory build | 0:6.6.1p1-31.el7 | ELSA-2016-2588 |
| Oracle Linux | 7 | openssh-serverx86_64 | Advisory build | 0:6.6.1p1-31.el7 | ELSA-2016-2588 |
| Oracle Linux | 7 | openssh-server-sysvinitx86_64 | Advisory build | 0:6.6.1p1-31.el7 | ELSA-2016-2588 |
| Oracle Linux | 7 | pam_ssh_agent_authx86_64 | Advisory build | 0:0.9.3-9.31.el7 | ELSA-2016-2588 |
| Red Hat Enterprise Linux | RHEL-6 | opensshppc64 | Advisory build | 5.3p1-122.el6 | RHSA-2017:0641 |
| Red Hat Enterprise Linux | RHEL-6 | opensshs390x | Advisory build | 5.3p1-122.el6 | RHSA-2017:0641 |
| Red Hat Enterprise Linux | RHEL-6 | opensshsrc | Advisory build | 5.3p1-122.el6 | RHSA-2017:0641 |
| Red Hat Enterprise Linux | RHEL-6 | opensshx86_64 | Advisory build | 5.3p1-122.el6 | RHSA-2017:0641 |
| Red Hat Enterprise Linux | RHEL-6 | openssh-askpassi686 | Advisory build | 5.3p1-122.el6 | RHSA-2017:0641 |
| Red Hat Enterprise Linux | RHEL-6 | openssh-askpassppc64 | Advisory build | 5.3p1-122.el6 | RHSA-2017:0641 |
| Red Hat Enterprise Linux | RHEL-6 | openssh-askpasss390x | Advisory build | 5.3p1-122.el6 | RHSA-2017:0641 |
| Red Hat Enterprise Linux | RHEL-6 | openssh-askpassx86_64 | Advisory build | 5.3p1-122.el6 | RHSA-2017:0641 |
| Red Hat Enterprise Linux | RHEL-6 | openssh-clientsi686 | Advisory build | 5.3p1-122.el6 | RHSA-2017:0641 |
| Red Hat Enterprise Linux | RHEL-6 | openssh-clientsppc64 | Advisory build | 5.3p1-122.el6 | RHSA-2017:0641 |
| Red Hat Enterprise Linux | RHEL-6 | openssh-clientss390x | Advisory build | 5.3p1-122.el6 | RHSA-2017:0641 |
| Red Hat Enterprise Linux | RHEL-6 | openssh-clientsx86_64 | Advisory build | 5.3p1-122.el6 | RHSA-2017:0641 |
| Red Hat Enterprise Linux | RHEL-6 | openssh-debuginfoi686 | Advisory build | 5.3p1-122.el6 | RHSA-2017:0641 |
| Red Hat Enterprise Linux | RHEL-6 | openssh-debuginfoppc | Advisory build | 5.3p1-122.el6 | RHSA-2017:0641 |
| Red Hat Enterprise Linux | RHEL-6 | openssh-debuginfoppc64 | Advisory build | 5.3p1-122.el6 | RHSA-2017:0641 |
| Red Hat Enterprise Linux | RHEL-6 | openssh-debuginfos390 | Advisory build | 5.3p1-122.el6 | RHSA-2017:0641 |
| Red Hat Enterprise Linux | RHEL-6 | openssh-debuginfos390x | Advisory build | 5.3p1-122.el6 | RHSA-2017:0641 |
| Red Hat Enterprise Linux | RHEL-6 | openssh-debuginfox86_64 | Advisory build | 5.3p1-122.el6 | RHSA-2017:0641 |
| Red Hat Enterprise Linux | RHEL-6 | openssh-ldapi686 | Advisory build | 5.3p1-122.el6 | RHSA-2017:0641 |
| Red Hat Enterprise Linux | RHEL-6 | openssh-ldapppc64 | Advisory build | 5.3p1-122.el6 | RHSA-2017:0641 |
| Red Hat Enterprise Linux | RHEL-6 | openssh-ldaps390x | Advisory build | 5.3p1-122.el6 | RHSA-2017:0641 |
| Red Hat Enterprise Linux | RHEL-6 | openssh-ldapx86_64 | Advisory build | 5.3p1-122.el6 | RHSA-2017:0641 |
| Red Hat Enterprise Linux | RHEL-6 | openssh-serveri686 | Advisory build | 5.3p1-122.el6 | RHSA-2017:0641 |
| Red Hat Enterprise Linux | RHEL-6 | openssh-serverppc64 | Advisory build | 5.3p1-122.el6 | RHSA-2017:0641 |
| Red Hat Enterprise Linux | RHEL-6 | openssh-servers390x | Advisory build | 5.3p1-122.el6 | RHSA-2017:0641 |
| Red Hat Enterprise Linux | RHEL-6 | openssh-serverx86_64 | Advisory build | 5.3p1-122.el6 | RHSA-2017:0641 |
| Red Hat Enterprise Linux | RHEL-6 | pam_ssh_agent_authi686 | Advisory build | 0.9.3-122.el6 | RHSA-2017:0641 |
| Red Hat Enterprise Linux | RHEL-6 | pam_ssh_agent_authppc | Advisory build | 0.9.3-122.el6 | RHSA-2017:0641 |
| Red Hat Enterprise Linux | RHEL-6 | pam_ssh_agent_authppc64 | Advisory build | 0.9.3-122.el6 | RHSA-2017:0641 |
| Red Hat Enterprise Linux | RHEL-6 | pam_ssh_agent_auths390 | Advisory build | 0.9.3-122.el6 | RHSA-2017:0641 |
| Red Hat Enterprise Linux | RHEL-6 | pam_ssh_agent_auths390x | Advisory build | 0.9.3-122.el6 | RHSA-2017:0641 |
| Red Hat Enterprise Linux | RHEL-6 | pam_ssh_agent_authx86_64 | Advisory build | 0.9.3-122.el6 | RHSA-2017:0641 |
| Red Hat Enterprise Linux | RHEL-7 | opensshaarch64 | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
| Red Hat Enterprise Linux | RHEL-7 | opensshppc64 | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
| Red Hat Enterprise Linux | RHEL-7 | opensshppc64le | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
| Red Hat Enterprise Linux | RHEL-7 | opensshs390x | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
| Red Hat Enterprise Linux | RHEL-7 | opensshsrc | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
| Red Hat Enterprise Linux | RHEL-7 | opensshx86_64 | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
| Red Hat Enterprise Linux | RHEL-7 | openssh-askpassaarch64 | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
| Red Hat Enterprise Linux | RHEL-7 | openssh-askpassppc64 | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
| Red Hat Enterprise Linux | RHEL-7 | openssh-askpassppc64le | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
| Red Hat Enterprise Linux | RHEL-7 | openssh-askpasss390x | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
| Red Hat Enterprise Linux | RHEL-7 | openssh-askpassx86_64 | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
| Red Hat Enterprise Linux | RHEL-7 | openssh-clientsaarch64 | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
| Red Hat Enterprise Linux | RHEL-7 | openssh-clientsppc64 | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
| Red Hat Enterprise Linux | RHEL-7 | openssh-clientsppc64le | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
| Red Hat Enterprise Linux | RHEL-7 | openssh-clientss390x | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
| Red Hat Enterprise Linux | RHEL-7 | openssh-clientsx86_64 | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
| Red Hat Enterprise Linux | RHEL-7 | openssh-debuginfoaarch64 | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
| Red Hat Enterprise Linux | RHEL-7 | openssh-debuginfoi686 | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
| Red Hat Enterprise Linux | RHEL-7 | openssh-debuginfoppc | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
| Red Hat Enterprise Linux | RHEL-7 | openssh-debuginfoppc64 | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
| Red Hat Enterprise Linux | RHEL-7 | openssh-debuginfoppc64le | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
| Red Hat Enterprise Linux | RHEL-7 | openssh-debuginfos390 | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
| Red Hat Enterprise Linux | RHEL-7 | openssh-debuginfos390x | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
| Red Hat Enterprise Linux | RHEL-7 | openssh-debuginfox86_64 | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
| Red Hat Enterprise Linux | RHEL-7 | openssh-keycataarch64 | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
| Red Hat Enterprise Linux | RHEL-7 | openssh-keycatppc64 | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
| Red Hat Enterprise Linux | RHEL-7 | openssh-keycatppc64le | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
| Red Hat Enterprise Linux | RHEL-7 | openssh-keycats390x | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
| Red Hat Enterprise Linux | RHEL-7 | openssh-keycatx86_64 | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
| Red Hat Enterprise Linux | RHEL-7 | openssh-ldapaarch64 | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
| Red Hat Enterprise Linux | RHEL-7 | openssh-ldapppc64 | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
| Red Hat Enterprise Linux | RHEL-7 | openssh-ldapppc64le | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
| Red Hat Enterprise Linux | RHEL-7 | openssh-ldaps390x | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
| Red Hat Enterprise Linux | RHEL-7 | openssh-ldapx86_64 | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
| Red Hat Enterprise Linux | RHEL-7 | openssh-serveraarch64 | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
| Red Hat Enterprise Linux | RHEL-7 | openssh-serverppc64 | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
| Red Hat Enterprise Linux | RHEL-7 | openssh-serverppc64le | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
| Red Hat Enterprise Linux | RHEL-7 | openssh-servers390x | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
| Red Hat Enterprise Linux | RHEL-7 | openssh-serverx86_64 | Advisory build | 6.6.1p1-31.el7 | RHSA-2016:2588 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
The do_setup_env function in session.c in sshd in OpenSSH through 7.2p2, when the UseLogin feature is enabled and PAM is configured to read .pam_environment files in user home directories, allows local users to gain privileges by triggering a crafted environment for the /bin/login program, as demonstrated by an LD_PRELOAD environment variable.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
2- n/a
- CWE-1262 CWE-1262 Improper Access Control for Register Interface
References
12- RHSA-2016:2588 http://rhn.redhat.com/errata/RHSA-2016-2588.html
- RHSA-2017:0641 http://rhn.redhat.com/errata/RHSA-2017-0641.html
- DSA-3550 http://www.debian.org/security/2016/dsa-3550
- 86187 http://www.securityfocus.com/bid/86187
- 1036487 http://www.securitytracker.com/id/1036487
- https://anongit.mindrot.org/openssh.git/commit/?id=85bdcd7c92fe7ff133bbc4e10a65c91810f88755
- https://bugzilla.redhat.com/show_bug.cgi?id=1328012
- https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf
- https://people.canonical.com/~ubuntu-security/cve/2015/CVE-2015-8325.html
- https://security-tracker.debian.org/tracker/CVE-2015-8325
- GLSA-201612-18 https://security.gentoo.org/glsa/201612-18
- https://security.netapp.com/advisory/ntap-20180628-0001/
Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 3ca7071004a06b822e4c031c2917680ad4f98531d13483d2856d934428ef9b95
- Ingested
- 23 Sep 2026, 07:40:52 UTC
- Source record
- Official CVE record