Read the docs
TI-2015-06852 Aliases CVE-2015-8325GHSA-729x-x825-x8jf

The do_setup_env function in session.c in sshd in OpenSSH through 7.2p2, when the…

Priority LOW 37CWE-1262Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 16 fixed, 1 without a fix

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat. Impact type from CWE-264.

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00602 49th percentileScored 2026-11-07
Fix Partial Red Hat: 2 advisoriesRed Hat: 16 fixed, 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
  • — Vendor— Affected all versions Fixed in — No fix listed CNA

CPE configurations NVD · 8

CPEVersionsRoleVendor
cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*7.0VulnerableDebian
cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*8.0VulnerableDebian
cpe:2.3:a:openbsd:openssh:*:p2:*:*:*:*:*:*up to 7.2VulnerableOpenBSD
cpe:2.3:o:canonical:ubuntu_core:15.04:*:*:*:*:*:*:*15.04VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:*12.04VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*14.04VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:*15.10VulnerableCanonical
cpe:2.3:o:canonical:ubuntu_touch:15.04:*:*:*:*:*:*:*15.04VulnerableCanonical
  • cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Debian
  • cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
  • cpe:2.3:a:openbsd:openssh:*:p2:*:*:*:*:*:* Versions up to 7.2 Vulnerable ·OpenBSD
  • cpe:2.3:o:canonical:ubuntu_core:15.04:*:*:*:*:*:*:* Versions 15.04 Vulnerable ·Canonical
  • cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:* Versions 12.04 Vulnerable ·Canonical
  • cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* Versions 14.04 Vulnerable ·Canonical
  • cpe:2.3:o:canonical:ubuntu_linux:15.10:*:*:*:*:*:*:* Versions 15.10 Vulnerable ·Canonical
  • cpe:2.3:o:canonical:ubuntu_touch:15.04:*:*:*:*:*:*:* Versions 15.04 Vulnerable ·Canonical

Remediation

Red Hat 2 advisories

  • RHSA-2017:0641 Released 2017-03-21 · Red Hat rating Moderate
    openssh security and bug fix update
    • Red Hat Enterprise Linux Desktop (v. 6) openssh-5.3p1-122.el6, openssh-askpass-5.3p1-122.el6, openssh-clients-5.3p1-122.el6 +1
    • 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-clients-5.3p1-122.el6, openssh-server-5.3p1-122.el6
    • Red Hat Enterprise Linux HPC Node Optional (v. 6) openssh-askpass-5.3p1-122.el6, openssh-ldap-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-askpass-5.3p1-122.el6, openssh-clients-5.3p1-122.el6 +1
    • Red Hat Enterprise Linux Server Optional (v. 6) openssh-ldap-5.3p1-122.el6, pam_ssh_agent_auth-0.9.3-122.el6, pam_ssh_agent_auth-0.9.3-122.el6.ppc
    • Red Hat Enterprise Linux Workstation (v. 6) openssh-5.3p1-122.el6, openssh-askpass-5.3p1-122.el6, openssh-clients-5.3p1-122.el6 +1
    • Red Hat Enterprise Linux Workstation Optional (v. 6) openssh-ldap-5.3p1-122.el6, pam_ssh_agent_auth-0.9.3-122.el6
  • RHSA-2016:2588 Released 2016-11-03 · Red Hat rating Moderate
    openssh security, bug fix, and enhancement update
    • Red Hat Enterprise Linux Client (v. 7) openssh-6.6.1p1-31.el7, openssh-askpass-6.6.1p1-31.el7, openssh-clients-6.6.1p1-31.el7 +2
    • Red Hat Enterprise Linux Client Optional (v. 7) openssh-ldap-6.6.1p1-31.el7, openssh-server-sysvinit-6.6.1p1-31.el7, pam_ssh_agent_auth-0.9.3-9.31.el7
    • Red Hat Enterprise Linux ComputeNode (v. 7) openssh-6.6.1p1-31.el7, openssh-clients-6.6.1p1-31.el7, openssh-keycat-6.6.1p1-31.el7 +1
    • Red Hat Enterprise Linux ComputeNode Optional (v. 7) openssh-askpass-6.6.1p1-31.el7, openssh-ldap-6.6.1p1-31.el7, openssh-server-sysvinit-6.6.1p1-31.el7 +1
    • Red Hat Enterprise Linux Server (v. 7) openssh-6.6.1p1-31.el7, openssh-askpass-6.6.1p1-31.el7, openssh-clients-6.6.1p1-31.el7 +2
    • Red Hat Enterprise Linux Server Optional (v. 7) openssh-ldap-6.6.1p1-31.el7, openssh-server-sysvinit-6.6.1p1-31.el7, pam_ssh_agent_auth-0.9.3-9.31.el7 +1
    • Red Hat Enterprise Linux Workstation (v. 7) openssh-6.6.1p1-31.el7, openssh-askpass-6.6.1p1-31.el7, openssh-clients-6.6.1p1-31.el7 +2
    • Red Hat Enterprise Linux Workstation Optional (v. 7) openssh-ldap-6.6.1p1-31.el7, openssh-server-sysvinit-6.6.1p1-31.el7, pam_ssh_agent_auth-0.9.3-9.31.el7

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 5AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux Client (v. 7)Fixed RHSA-2016:2588
Red Hat Enterprise Linux Client Optional (v. 7)Fixed RHSA-2016:2588
Red Hat Enterprise Linux ComputeNode (v. 7)Fixed RHSA-2016:2588
Red Hat Enterprise Linux ComputeNode Optional (v. 7)Fixed RHSA-2016:2588
Red Hat Enterprise Linux Desktop (v. 6)Fixed RHSA-2017:0641
Red Hat Enterprise Linux Desktop Optional (v. 6)Fixed RHSA-2017:0641
Red Hat Enterprise Linux HPC Node (v. 6)Fixed RHSA-2017:0641
Red Hat Enterprise Linux HPC Node Optional (v. 6)Fixed RHSA-2017:0641
Red Hat Enterprise Linux Server (v. 6)Fixed RHSA-2017:0641
Red Hat Enterprise Linux Server (v. 7)Fixed RHSA-2016:2588
Red Hat Enterprise Linux Server Optional (v. 6)Fixed RHSA-2017:0641
Red Hat Enterprise Linux Server Optional (v. 7)Fixed RHSA-2016:2588
Red Hat Enterprise Linux Workstation (v. 6)Fixed RHSA-2017:0641
Red Hat Enterprise Linux Workstation (v. 7)Fixed RHSA-2016:2588
Red Hat Enterprise Linux Workstation Optional (v. 6)Fixed RHSA-2017:0641
Red Hat Enterprise Linux Workstation Optional (v. 7)Fixed RHSA-2016:2588

Timeline

  1. 2026-10-02 Threatist record created from CVE-2015-8325
  2. 2026-10-03 Alias added: GHSA-729x-x825-x8jf

References

Sources