Skip to content
Fencer Intel
high 7.8

CVE-2015-8325 json

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…

published 2016-05-01 10 y ago modified 2026-06-17 4 mo ago also EUVD-2015-8209

cvss
7.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.6%
EPSS 0.6% chance of exploitation in 30 days, percentile 49%
public exploits
0
none known

Summary

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.

Patch / fix

  • openssh Debian 14, Debian 13, Debian 12 1:7.2p2-3

debian advisories DEBIAN-CVE-2015-8325

  • openssh Ubuntu 14.04 LTS 1:6.6p1-2ubuntu2.7

ubuntu advisories UBUNTU-CVE-2015-8325

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • openssh RHEL 6 5.3p1-122.el6
  • openssh-ldap RHEL 6 5.3p1-122.el6
  • openssh-server RHEL 6 5.3p1-122.el6
  • openssh-askpass RHEL 6 5.3p1-122.el6
  • openssh-clients RHEL 6 5.3p1-122.el6
  • pam_ssh_agent_auth RHEL 6 0.9.3-122.el6
  • openssh RHEL 7 6.6.1p1-31.el7
  • openssh-ldap RHEL 7 6.6.1p1-31.el7

red hat advisories RHSA-2017:0641RHSA-2016:2588

  • openssh-openssl1 SLES 11-SECURITY 6.6p1-15.1
  • openssh SLES 11 SP3-TERADATA, SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3 +3 more 6.2p2-0.33.2
  • openssh-askpass-gnome SLES 11 SP3-TERADATA, SLES 11 SP3-LTSS, SLE Point of Sale 11 SP3 +3 more 6.2p2-0.33.5
  • openssh SLES for SAP 11 SP4, SLES 11 SP4 6.6p1-21.1
  • openssh-askpass-gnome SLES for SAP 11 SP4, SLES 11 SP4 6.6p1-21.3
  • openssh SLES for SAP 12 SP1, SLES for SAP 12, SLES 12 SP1 +3 more 6.6p1-42.1
  • openssh-askpass-gnome SLES for SAP 12 SP1, SLES for SAP 12, SLES 12 SP1 +3 more 6.6p1-42.1

suse advisories SUSE-SU-2016:2555-1SUSE-SU-2016:2388-1SUSE-SU-2016:1528-1SUSE-SU-2016:1386-1

  • openssh openSUSE Tumbleweed 7.2p2-3.1

opensuse advisories openSUSE-SU-2024:10174-1

  • openssh Alpine 3.2 6.8_p1-r10

alpine advisories ALPINE-CVE-2015-8325

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2015-8325 updated cvss 7.0

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

  • Red Hat Enterprise Linux 5 openssh
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux Client (v. 7) openssh 6.6.1p1-31.el7, openssh-keycat 6.6.1p1-31.el7, openssh-server 6.6.1p1-31.el7, openssh-askpass 6.6.1p1-31.el7, openssh-clients 6.6.1p1-31.el7 Red Hat Enterprise Linux Client Optional (v. 7) openssh-ldap 6.6.1p1-31.el7, pam_ssh_agent_auth 0.9.3-9.31.el7, openssh-server-sysvinit 6.6.1p1-31.el7 Red Hat Enterprise Linux ComputeNode (v. 7) openssh 6.6.1p1-31.el7, openssh-keycat 6.6.1p1-31.el7, openssh-server 6.6.1p1-31.el7, openssh-clients 6.6.1p1-31.el7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) openssh-ldap 6.6.1p1-31.el7, openssh-askpass 6.6.1p1-31.el7, pam_ssh_agent_auth 0.9.3-9.31.el7, openssh-server-sysvinit 6.6.1p1-31.el7
    fixed: vendor fix RHSA-2016:2588
  • Red Hat Enterprise Linux Desktop (v. 6) openssh 5.3p1-122.el6, openssh-server 5.3p1-122.el6, openssh-askpass 5.3p1-122.el6, openssh-clients 5.3p1-122.el6 Red Hat Enterprise Linux Desktop Optional (v. 6) openssh-ldap 5.3p1-122.el6, pam_ssh_agent_auth 0.9.3-122.el6 Red Hat Enterprise Linux HPC Node (v. 6) openssh 5.3p1-122.el6, openssh-server 5.3p1-122.el6, openssh-clients 5.3p1-122.el6 Red Hat Enterprise Linux HPC Node Optional (v. 6) openssh-ldap 5.3p1-122.el6, openssh-askpass 5.3p1-122.el6, pam_ssh_agent_auth 0.9.3-122.el6 Red Hat Enterprise Linux Server (v. 6) openssh 5.3p1-122.el6, openssh-server 5.3p1-122.el6, openssh-askpass 5.3p1-122.el6, openssh-clients 5.3p1-122.el6
    fixed: vendor fix RHSA-2017:0641
  • Red Hat Enterprise Linux Server (v. 7) openssh 6.6.1p1-31.el7, openssh-keycat 6.6.1p1-31.el7, openssh-server 6.6.1p1-31.el7, openssh-askpass 6.6.1p1-31.el7, openssh-clients 6.6.1p1-31.el7
    fixed: vendor fix RHSA-2016:2588
  • Red Hat Enterprise Linux Server Optional (v. 6) openssh-ldap 5.3p1-122.el6, pam_ssh_agent_auth 0.9.3-122.el6
    fixed: vendor fix RHSA-2017:0641
  • Red Hat Enterprise Linux Server Optional (v. 7) openssh-ldap 6.6.1p1-31.el7, pam_ssh_agent_auth 0.9.3-9.31.el7, openssh-server-sysvinit 6.6.1p1-31.el7
    fixed: vendor fix RHSA-2016:2588
  • Red Hat Enterprise Linux Workstation (v. 6) openssh 5.3p1-122.el6, openssh-server 5.3p1-122.el6, openssh-askpass 5.3p1-122.el6, openssh-clients 5.3p1-122.el6
    fixed: vendor fix RHSA-2017:0641
  • Red Hat Enterprise Linux Workstation (v. 7) openssh 6.6.1p1-31.el7, openssh-keycat 6.6.1p1-31.el7, openssh-server 6.6.1p1-31.el7, openssh-askpass 6.6.1p1-31.el7, openssh-clients 6.6.1p1-31.el7
    fixed: vendor fix RHSA-2016:2588
show 2 more
  • Red Hat Enterprise Linux Workstation Optional (v. 6) openssh-ldap 5.3p1-122.el6, pam_ssh_agent_auth 0.9.3-122.el6
    fixed: vendor fix RHSA-2017:0641
  • Red Hat Enterprise Linux Workstation Optional (v. 7) openssh-ldap 6.6.1p1-31.el7, pam_ssh_agent_auth 0.9.3-9.31.el7, openssh-server-sysvinit 6.6.1p1-31.el7
    fixed: vendor fix RHSA-2016:2588

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-22-349-21 updated cvss 7.8

Siemens SCALANCE X-200RNA Switch Devices

  • Siemens SCALANCE X204RNA (HSR) (6GK5204-0BA00-2MB2) <V3.2.7 Siemens SCALANCE X204RNA (PRP) (6GK5204-0BA00-2KB2) <V3.2.7 Siemens SCALANCE X204RNA EEC (HSR) (6GK5204-0BS00-2NA3) <V3.2.7 Siemens SCALANCE X204RNA EEC (PRP) (6GK5204-0BS00-3LA3) <V3.2.7 Siemens SCALANCE X204RNA EEC (PRP/HSR) (6GK5204-0BS00-3PA3) <V3.2.7
    affected: fixed in V3.2.7, mitigation support.industry.siemens.com

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
total
Assessed
5 mo ago

Exploit prediction

0.60% chance of exploitation in the next 30 days, higher than 49% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
CISA ADP 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CNA 3.1 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 3.0 7.8 CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.2 AV:L/AC:L/Au:N/C:C/I:C/A:C

Classification

Weakness
  • CWE-1262 Improper Access Control for Register Interface
  • CWE-264 Permissions, Privileges, and Access Controls

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.