PT-2026-35952

CVE-2026-42198

·

Published

2026-04-29

·

Updated

2026-10-08

Description by

CVSS 2.0
7.8
High
MetricsAV:N/AC:L/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions pgjdbc versions 42.2.0 through 42.7.10
Description A client-side denial of service occurs during SCRAM-SHA-256 (Salted Challenge Response Authentication Mechanism Secure Hash Algorithm 256) authentication. A malicious server can instruct the driver to perform authentication using an excessively large iteration count, forcing the client to spend an unbounded amount of CPU time performing PBKDF2 (Password-Based Key Derivation Function 2) computations. This can exhaust client CPU resources and wedge connection pools. In affected versions, the loginTimeout variable does not fully mitigate this issue because the worker thread continues the computation even after the caller stops waiting. This is particularly risky when applications accept connection details from untrusted sources or connect through untrusted proxies.
Recommendations Update pgjdbc to version 42.7.11 or later. Connect only to trusted PostgreSQL servers and verify server identity using TLS with sslmode=verify-full and a trusted CA. Avoid using SCRAM authentication on untrusted or interceptable connection paths. Limit parallel connection attempts and apply CPU or container limits to reduce the operational impact. Restrict the use of the loginTimeout variable as a primary mitigation measure on unpatched versions.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-98QH-XJC8-98PQ
ALSA-2026:22304
ALSA-2026:24348
ALSA-2026:25030
BIT-POSTGRESQL-JDBC-DRIVER-2026-42198
CLEANSTART-2026-BK55944
CLEANSTART-2026-FS84990
CLEANSTART-2026-GX01236
CLEANSTART-2026-KL03760
CLEANSTART-2026-NE94194
CLEANSTART-2026-PO27799
CLEANSTART-2026-VJ37814
CLEANSTART-2026-YH00671
CLEANSTART-2026-YY96069
CLSA-2026-1781092532
CLSA-2026-1781608329
ECHO-779F-F306-B07F
OESA-2026-2443
OESA-2026-2444
OESA-2026-2445
OESA-2026-2446
OESA-2026-2501
OPENSUSE-SU-2026:11001-1
OPENSUSE-SU-2026:20847-1
RHLW-2026-5920E9C5F3ADA010
RHLW-2026-B44D1F7DAC7A0D3D
RHSA-2026:22304
RHSA-2026:24348
RHSA-2026:25030
RHSA-2026:52928
RHSA-2026:52929
RHSA-2026:52930
RHSA-2026:52978
RHSA-2026:54532
RHSA-2026:59277
RHSA-2026:59278
SUSE-SU-2026:2028-1
SUSE-SU-2026:22000-1
SUSE-SU-2026:2774-1
Found an issue in the description? Have something to add? Feel free to write us 👾