openssh: privilege escalation via user's PAM environment and UseLogin=yes
Published May 1, 2016
7.8
HIGHCVSS 3.1
EPSS 0.60%
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.
Affected products
No data.
Configuration 1
- 7.0
- 8.0
Configuration 3
- 15.04
- 12.04
- 14.04
- 15.10
- 15.04
No data.
Red Hat Enterprise Linux 6
openssh-0:5.3p1-122.el6
Fixed · RHSA-2017:0641
Red Hat Enterprise Linux 7
openssh-0:6.6.1p1-31.el7
Fixed · RHSA-2016:2588
Red Hat Enterprise Linux 5
openssh
Will not fix
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 6 | openssh-0:5.3p1-122.el6 | Fixed | RHSA-2017:0641 |
| Red Hat Enterprise Linux 7 | openssh-0:6.6.1p1-31.el7 | Fixed | RHSA-2016:2588 |
| Red Hat Enterprise Linux 5 | openssh | Will not fix | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
1 other source (Red Hat) ▾
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
AV:L/AC:L/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
TotalDecision
n/aAssessed May 22, 2026 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (9 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 0.60% (0.00602) | 46.86th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.63% (0.00627) | 45.11th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.08% (0.00083) | 21.89th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00042) | 5.07th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00042) | 5.63th | v3 (v2023.03.01) |
| Mar 6, 2023 | 1.28% (0.01282) | 68.34th | v2 (v2022.01.01) |
| Feb 22, 2023 | 1.28% (0.01282) | 68.05th | v2 (v2022.01.01) |
| Apr 1, 2022 | 1.28% (0.01282) | 65.91th | v2 (v2022.01.01) |
| Feb 4, 2022 | 1.28% (0.01282) | 41.72th | v2 (v2022.01.01) |
References (15)
- http://rhn.redhat.com/errata/RHSA-2016-2588.html vendor-advisory
- http://rhn.redhat.com/errata/RHSA-2017-0641.html vendor-advisory
- http://www.debian.org/security/2016/dsa-3550 vendor-advisory
- http://www.securityfocus.com/bid/86187 vdb-entry
- http://www.securitytracker.com/id/1036487 vdb-entry
- https://access.redhat.com/security/cve/CVE-2015-8325 Vendor Advisory
- https://anongit.mindrot.org/openssh.git/commit/?id=85bdcd7c92fe7ff133bbc4e10a65c91810f88755
- https://bugzilla.redhat.com/show_bug.cgi?id=1328012 Issue Tracking
- https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf
- https://nvd.nist.gov/vuln/detail/CVE-2015-8325
- https://people.canonical.com/~ubuntu-security/cve/2015/CVE-2015-8325.html
- https://security-tracker.debian.org/tracker/CVE-2015-8325
- https://security.gentoo.org/glsa/201612-18 vendor-advisory
- https://security.netapp.com/advisory/ntap-20180628-0001/
- https://www.cve.org/CVERecord?id=CVE-2015-8325
Change history (0)
No recorded changes yet.