Description
It was found that libpam4j up to and including 1.8 did not properly validate user accounts when authenticating. A user with a valid password for a disabled account would be able to bypass security restrictions and possibly access sensitive information.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Red Hat | libpam4j | up to and including 1.8 | — |
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 9 | libpam4j | 1.4-2+deb9u1 | DSA-4025-1 |
| Debian 8 | libpam4j | 1.4-2+deb8u1 | DSA-4025-1 |
| Debian 7 | libpam4j | 1.4-2+deb7u1 | DLA-1165-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | libpam4j | 1.4-2+deb8u1build0.16.04.1 | — |
| Ubuntu 14.04 LTS | libpam4j | 1.4-2+deb8u1build0.14.04.1 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Single Sign On 7 | rh-sso7-keycloak +1 | 2.5.14-1.Final_redhat_1.1.jbcs.el6 | RHSA-2017:2905, RHSA-2017:2904 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.kohsuke:libpam4j | < 1.10 | 1.10 | GHSA-x9rg-q5fx-fx66 |
Advisories 4
- RHSA-2017:2904 Red Hat Security Advisory: rh-sso7-keycloak security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- RHSA-2017:2905 Red Hat Security Advisory: rh-sso7-keycloak security update Red Hat Security Advisories (RHSA) · Aug 5, 2026
- DSA-4025-1 libpam4j - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1165-1 libpam4j - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- [debian-lts-announce] 20171107 [SECURITY] [DLA 1165-1] libpam4j security update mailing-list
- RHSA-2017:2904 vendor-advisory
- RHSA-2017:2905 vendor-advisory
- RHSA-2017:2906 vendor-advisory
- DSA-4025 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1503103