Skip to content
Noroxi
CVE-2015-8325· NVD / CVE Program· CNA 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

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.

HighCVSS 7.8 · v3.1—No exploit Fix available
Published
Apr 30, 2016
Updated
Jun 16, 2026
EPSS
0.6% · 47th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

31

Monitor

Low priority for now.

CVSS
31 / 40 · 7.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.6%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
total

Vulnrichment: CISA's decision-tree inputs.

Affected systems

VendorProduct
debiandebian linux
openbsdopenssh
canonicalubuntu core
canonicalubuntu linux
canonicalubuntu touch

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • canonical ubuntu core15.04
  • canonical ubuntu linux12.04
  • canonical ubuntu linux14.04
  • canonical ubuntu linux15.10
  • canonical ubuntu touch15.04
  • debian debian linux7.0
  • debian debian linux8.0
  • openbsd opensshup to 7.2 inclusive

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Alpine:v3.2opensshbefore 6.8_p1-r106.8_p1-r10
Debian:12opensshbefore 1:7.2p2-31:7.2p2-3
Debian:7opensshbefore 1:6.0p1-4+deb7u41:6.0p1-4+deb7u4
Debian:8opensshbefore 1:6.7p1-5+deb8u21:6.7p1-5+deb8u2
openSUSE:Tumbleweedopensshbefore 7.2p2-3.17.2p2-3.1
Red Hat:enterprise_linux:6::clientopensshbefore 0:5.3p1-122.el60:5.3p1-122.el6
Red Hat:enterprise_linux:6::clientopenssh-askpassbefore 0:5.3p1-122.el60:5.3p1-122.el6
Red Hat:enterprise_linux:6::clientopenssh-clientsbefore 0:5.3p1-122.el60:5.3p1-122.el6
Red Hat:enterprise_linux:6::clientopenssh-debuginfobefore 0:5.3p1-122.el60:5.3p1-122.el6
Red Hat:enterprise_linux:6::clientopenssh-ldapbefore 0:5.3p1-122.el60:5.3p1-122.el6
Red Hat:enterprise_linux:6::clientopenssh-serverbefore 0:5.3p1-122.el60:5.3p1-122.el6
Red Hat:enterprise_linux:6::clientpam_ssh_agent_authbefore 0:0.9.3-122.el60:0.9.3-122.el6
Red Hat:enterprise_linux:7::clientopensshbefore 0:6.6.1p1-31.el70:6.6.1p1-31.el7
Red Hat:enterprise_linux:7::clientopenssh-askpassbefore 0:6.6.1p1-31.el70:6.6.1p1-31.el7
Red Hat:enterprise_linux:7::clientopenssh-clientsbefore 0:6.6.1p1-31.el70:6.6.1p1-31.el7
Red Hat:enterprise_linux:7::clientopenssh-debuginfobefore 0:6.6.1p1-31.el70:6.6.1p1-31.el7
Red Hat:enterprise_linux:7::clientopenssh-keycatbefore 0:6.6.1p1-31.el70:6.6.1p1-31.el7
Red Hat:enterprise_linux:7::clientopenssh-ldapbefore 0:6.6.1p1-31.el70:6.6.1p1-31.el7
Red Hat:enterprise_linux:7::clientopenssh-serverbefore 0:6.6.1p1-31.el70:6.6.1p1-31.el7
Red Hat:enterprise_linux:7::clientopenssh-server-sysvinitbefore 0:6.6.1p1-31.el70:6.6.1p1-31.el7
Red Hat:enterprise_linux:7::clientpam_ssh_agent_authbefore 0:0.9.3-9.31.el70:0.9.3-9.31.el7
SUSE:Linux Enterprise Desktop 12opensshbefore 6.6p1-42.16.6p1-42.1
SUSE:Linux Enterprise Desktop 12openssh-askpass-gnomebefore 6.6p1-42.16.6p1-42.1
SUSE:Linux Enterprise Server 11 SP4opensshbefore 6.6p1-21.16.6p1-21.1

+4

Other highest-scoring records for the same primary product.

  • CVE-2016-9079A use-after-free vulnerability in SVG Animation has been discovered.KEV
    86Now
  • CVE-2024-44308The issue was addressed with improved checks.KEV
    68This week
  • CVE-2021-25216A second vulnerability in BIND's GSSAPI security policy negotiation can be targeted by a buffer overflow attack
    64This week
  • CVE-2024-44309A cookie management issue was addressed with improved state management.KEV
    62This week
  • CVE-2016-2098Action Pack in Ruby on Rails before 3.2.22.2, 4.x before 4.1.14.2, and 4.2.x before 4.2.5.2 allows remote attackers to execute arbitrary Rub
    53Plan
  • CVE-2015-1592Movable Type Pro, Open Source, and Advanced before 5.2.12 and Pro and Advanced 6.0.x before 6.0.7 does not properly use the Perl Storable::t
    53Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
alpine:openssh6.8_p1-r10 · Alpine:v3.2Package registry (OSV)
debian:openssh1:7.2p2-3 · Debian:12Package registry (OSV)
opensuse:openssh7.2p2-3.1 · openSUSE:TumbleweedPackage registry (OSV)
red hat:openssh0:6.6.1p1-31.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:openssh-askpass0:6.6.1p1-31.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:openssh-clients0:6.6.1p1-31.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:openssh-debuginfo0:6.6.1p1-31.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:openssh-keycat0:6.6.1p1-31.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:openssh-ldap0:6.6.1p1-31.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:openssh-server0:6.6.1p1-31.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:openssh-server-sysvinit0:6.6.1p1-31.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
red hat:pam_ssh_agent_auth0:0.9.3-9.31.el7 · Red Hat:enterprise_linux:7::clientPackage registry (OSV)
suse:openssh6.6p1-42.1 · SUSE:Linux Enterprise Desktop 12Package registry (OSV)
suse:openssh-askpass-gnome6.6p1-42.1 · SUSE:Linux Enterprise Desktop 12Package registry (OSV)
suse:openssh-openssl16.6p1-15.1 · SUSE:Linux Enterprise Server 11-SECURITYPackage registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

nvd-secondary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records