CVE-2015-8325

Summary

CVECVE-2015-8325
StatePUBLISHED
Assignermitre
Source PriorityCVE Program / NVD first with legacy fallback
Published2016-05-01 01:59:00 UTC
Updated2026-05-06 22:30:45 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v3.0 7.8 HIGH from [email protected]

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

Problem Types: CWE-264 | n/a


VersionSourceTypeScoreSeverityVector
3.0[email protected]Primary7.8HIGHCVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
2.0[email protected]Primary7.2AV:L/AC:L/Au:N/C:C/I:C/A:C

CVSS v3.0 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

CVSS v2.0 Breakdown

Access Vector
Local
Access Complexity
Low
Authentication
None
Confidentiality
Complete
Integrity
Complete
Availability
Complete

AV:L/AC:L/Au:N/C:C/I:C/A:C

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Core 15.04 All All All
Operating System Canonical Ubuntu Linux 12.04 All All All
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 15.10 All All All
Operating System Canonical Ubuntu Touch 15.04 All All All
Operating System Debian Debian Linux 7.0 All All All
Operating System Debian Debian Linux 8.0 All All All
Application Openbsd Openssh All p2 All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
CVE-2015-8325 in Ubuntu af854a3a-2127-422b-91ae-364da2661108 people.canonical.com
OpenSSH 'session.c' Local Security Bypass Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
1328012 – (CVE-2015-8325) CVE-2015-8325 openssh: privilege escalation via user's PAM environment and UseLogin=yes af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
CVE-2015-8325 OpenSSH Vulnerability in NetApp Products | NetApp Product Security af854a3a-2127-422b-91ae-364da2661108 security.netapp.com
Debian -- Security Information -- DSA-3550-1 openssh af854a3a-2127-422b-91ae-364da2661108 www.debian.org
openssh.git - Portable OpenSSH af854a3a-2127-422b-91ae-364da2661108 anongit.mindrot.org
OpenSSH Bugs Let Remote Users Deny Service and Obtain Potentially Sensitive Timing Information and Let Local Users Gain Elevated Privileges - SecurityTracker af854a3a-2127-422b-91ae-364da2661108 www.securitytracker.com
cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf af854a3a-2127-422b-91ae-364da2661108 cert-portal.siemens.com
OpenSSH: Multiple vulnerabilities (GLSA 201612-18) — Gentoo security af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org
CVE-2015-8325 af854a3a-2127-422b-91ae-364da2661108 security-tracker.debian.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 591280 Siemens SCALANCE X-200RNA Switch Devices Denial of Service (DoS) Multiple Vulnerabilities (ICSA-22-349-21, SSA-412672)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report