JLSEC-2026-1582: Medium severity julia/libpq_jll vulnerability
Observable response discrepancy in PostgreSQL SCRAM authentication allows an unauthenticated user to test the existence of a user via observing the SCRAM iteration count. This requires the probed user to have a non-default scramiterations count, because the authentication challenge for a nonexistent user reports the default scramiterations. Within major versions 16-18, minor versions before PostgreSQL 18.6, 17.11, and 16.15 are affected. Versions before PostgreSQL 16 are unaffected.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
PostgreSQLto a version that resolves this vulnerability.Fixed in 18.6 - Upgrade
Upgrade
PostgreSQLto a version that resolves this vulnerability.Fixed in 17.11 - Upgrade
Upgrade
PostgreSQLto a version that resolves this vulnerability.Fixed in 16.15
Event History
Frequently Asked Questions
Who can exploit this issue?
An unauthenticated remote user can probe SCRAM authentication responses. Exploitation is limited to determining whether a username exists; it does not disclose passwords or permit authentication.
Which accounts are exposed to enumeration?
Only users configured with a non-default scram_iterations value can be distinguished this way. Authentication challenges for nonexistent users report the default iteration count, creating the observable difference.
Are all PostgreSQL versions affected?
PostgreSQL versions before 16 are unaffected. Within major versions 16 through 18, affected releases are those before 16.15, 17.11, and 18.6.
What can be done before upgrading?
Ensure SCRAM-authenticated users use the default scram_iterations value where operationally feasible. This removes the iteration-count difference described for nonexistent users versus users with non-default settings.