CVE-2015-8325 in Canonical Ubuntu Linux and 18 more products
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.
Affects 19 products from 5 vendors. Description from NVD and MITRE.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 12.04 14.04 15.10 |
| Canonical | Ubuntu Touch | 15.04 |
| Canonical | Ubuntu Core | 15.04 |
| Debian | Debian Linux | 7.0 8.0 |
| Fujitsu-Siemens | — | — |
| Openbsd | Openssh | ≤ 7.2 |
| Siemens | 6GK5204-0BA00-2MB2 (device and firmware) | < 3.2.7 |
| Siemens | 6GK5204-0BA00-2KB2 (device and firmware) | < 3.2.7 |
| Siemens | 6GK5204-0BS00-2NA3 (device and firmware) | < 3.2.7 |
| Siemens | SCALANCE X204RNA Eec (device and firmware) | < 3.2.7 |
| Siemens | 6GK5204-0BS00-3LA3 (device and firmware) | < 3.2.7 |
| Siemens | 6GK5204-0BS00-3PA3 (device and firmware) | < 3.2.7 |
| Siemens | SCALANCE X204RNA (device and firmware) | < 3.2.7 |
Fix and vendor advisory
- Update to V3.2.7 or later version
Source: ICSA-22-349-21
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2015-8325 |
|---|---|
| BreachSpider ID | BS-2016-GLOBAL-106859-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2016-05-01 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Compensating controls AI-drafted, review before use
Ensure that the UseLogin feature is disabled and restrict access to user home directories to prevent unauthorized modifications to .pam_environment files.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Check devices from your own code or AI agent: free 14-day trial
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.