CVE-2015-8325

openssh: privilege escalation via user's PAM environment and UseLogin=yes

Published May 1, 2016 CVSS 3.1 · 7.8 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-3550-1 openssh security update
EUVD EUVD EUVD-2015-8209 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.
Ubuntu USN Ubuntu USN USN-2966-1 OpenSSH vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-1262
Metrics cvssV3_1

{'score': 7.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
May 22, 2026, 2:29 PM
Reserved
Nov 24, 2015, 12:00 AM
Status
Modified
Published
May 1, 2016, 1:59 AM
Modified
Jun 17, 2026, 12:34 AM
Severity
Moderate
Public date
Apr 13, 2016, 12:00 AM