Description
A flaw was found in pam. When built with libeconf and an unconfigured vendor directory, the pam_econf configuration handler misinterprets the search path, causing it to look for configuration files in a relative directory within the current working directory. A local attacker can exploit this by placing crafted environment configuration files in a world-writable location. If an administrator executes a privileged command from that directory, the malicious variables are loaded into the privileged process, resulting in local privilege escalation.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Red Hat | Red Hat Enterprise Linux 10 | — | — |
| Red Hat | Red Hat Enterprise Linux 6 | — | — |
| Red Hat | Red Hat Enterprise Linux 7 | — | — |
| Red Hat | Red Hat Enterprise Linux 8 | — | — |
| Red Hat | Red Hat Enterprise Linux 9 | — | — |
| Red Hat | Red Hat Hardened Images | — | — |
| Red Hat | Red Hat OpenShift Container Platform 4 | — | — |
| Red Hat | Red Hat OpenShift Container Platform 5 | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | pam | No fix yet | — |
| Debian 13 | pam | No fix yet | — |
| Debian 12 | pam | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | pam | No fix yet | — |
| Ubuntu 26.04 LTS | pam | No fix yet | — |
| Ubuntu 24.04 LTS | pam | No fix yet | — |
| Ubuntu 22.04 LTS | pam | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | pam | No fix yet | — |
| Ubuntu Pro 18.04 LTS | pam | No fix yet | — |
| Ubuntu Pro 16.04 LTS | pam | No fix yet | — |
| Ubuntu Pro 14.04 LTS | pam | No fix yet | — |
Advisories 1
- WID-SEC-2026-4860 PAM: Schwachstelle ermöglicht Privilegieneskalation BSI CERT-Bund (WID) · Nov 29, 2026