CVEfocus › CVE database › CVE-2015-8325

CVE-2015-8325

CVSS 7.8 HighEPSS 0.6% (higher than 50% of CVEs)Published 2016-05-01Updated 2026-05-22Assigner: mitre

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.

CWE-1262

What to do

Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

19Fixed
1Will not fix
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04opensshNot affected
vulnerable_code_not_present
Ubuntu 14.04opensshFixed1:6.6p1-2ubuntu2.7UBUNTU-CVE-2015-8325
Debian 14opensshFixed1:7.2p2-3DEBIAN-CVE-2015-8325
Debian 13opensshFixed1:7.2p2-3DEBIAN-CVE-2015-8325
Debian 12opensshFixed1:7.2p2-3DEBIAN-CVE-2015-8325
Red Hat Enterprise Linux 7opensshFixed0:6.6.1p1-31.el7RHSA-2016:2588
Red Hat Enterprise Linux 7openssh-askpassFixed0:6.6.1p1-31.el7RHSA-2016:2588
Red Hat Enterprise Linux 7openssh-clientsFixed0:6.6.1p1-31.el7RHSA-2016:2588
Red Hat Enterprise Linux 7openssh-keycatFixed0:6.6.1p1-31.el7RHSA-2016:2588
Red Hat Enterprise Linux 7openssh-ldapFixed0:6.6.1p1-31.el7RHSA-2016:2588
Red Hat Enterprise Linux 7openssh-serverFixed0:6.6.1p1-31.el7RHSA-2016:2588
Red Hat Enterprise Linux 7openssh-server-sysvinitFixed0:6.6.1p1-31.el7RHSA-2016:2588
Red Hat Enterprise Linux 7pam_ssh_agent_authFixed0:0.9.3-9.31.el7RHSA-2016:2588
Red Hat Enterprise Linux 6opensshFixed0:5.3p1-122.el6RHSA-2017:0641
Red Hat Enterprise Linux 6openssh-askpassFixed0:5.3p1-122.el6RHSA-2017:0641
Red Hat Enterprise Linux 6openssh-clientsFixed0:5.3p1-122.el6RHSA-2017:0641
Red Hat Enterprise Linux 6openssh-ldapFixed0:5.3p1-122.el6RHSA-2017:0641
Red Hat Enterprise Linux 6openssh-serverFixed0:5.3p1-122.el6RHSA-2017:0641
Red Hat Enterprise Linux 6pam_ssh_agent_authFixed0:0.9.3-122.el6RHSA-2017:0641
Red Hat Enterprise Linux 5opensshWill not fix
Will not fix
Alpine Linux 3.2opensshFixed6.8_p1-r10ALPINE-CVE-2015-8325

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.