Description
pam-python before 1.0.7-1 has an issue in regard to the default environment variable handling of Python, which could allow for local root escalation in certain PAM setups.
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-python | 1.0.7-1 | — |
| Debian 13 | pam-python | 1.0.7-1 | — |
| Debian 12 | pam-python | 1.0.7-1 | — |
| Debian 10 | pam-python | 1.0.6-1.1+deb10u1 | DSA-4555-1 |
| Debian 9 | pam-python | 1.0.6-1.1+deb9u1 | DSA-4555-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 8 | pam-python | 1.0.4-1.1+deb8u1 | DLA-2000-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | pam-python | 1.0.6-1.1+deb10u1build0.18.04.1 | USN-4552-3, USN-4552-1 |
| Ubuntu 16.04 LTS | pam-python | 1.0.4-1.1+deb8u1build0.16.04.1 | USN-4552-3, USN-4552-2 |
Advisories 5
- DSA-4555-1 pam-python - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-2000-1 pam-python - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-4552-1 pam-python vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
- USN-4552-2 pam-python vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
- USN-4552-3 pam-python regression Ubuntu Security Notices (USN) · Feb 10, 2026
References
- https://bugzilla.suse.com/show_bug.cgi?id=1150510#c1
- https://tracker.debian.org/news/1066790/accepted-pam-python-107-1-source-amd64-all-into-unstable/
- https://sourceforge.net/p/pam-python/code/ci/0247ab687b4347cc52859ca461fb0126dd7e2ebe/
- DSA-4555 vendor-advisory
- [debian-lts-announce] 20191123 [SECURITY] [DLA 2000-1] pam-python security update mailing-list
- USN-4552-1 vendor-advisory
- USN-4552-2 vendor-advisory