PT-2026-35952 · Pgjdbc+3 · Pgjdbc+3

·

CVE-2026-42198

·

Published

2026-04-29

·

Updated

2026-08-18

CVSS v2.0

7.8

High

VectorAV: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.

Exploit

Fix

DoS

Allocation of Resources Without Limits

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2026:22304
ALSA-2026:24348
ALSA-2026:25030
BDU:2026-10803
BIT-POSTGRESQL-JDBC-DRIVER-2026-42198
CLEANSTART-2026-BK55944
CLEANSTART-2026-GX01236
CLEANSTART-2026-KL03760
CLEANSTART-2026-NE94194
CLEANSTART-2026-PO27799
CLEANSTART-2026-VJ37814
CLEANSTART-2026-YY96069
CVE-2026-42198
GHSA-98QH-XJC8-98PQ
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
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

Affected Products

Confluence
Red Os
Rocky Linux
Pgjdbc