CVE-2026-42198: high-severity vulnerability in pgjdbc
pgjdbc: Unbounded PBKDF2 iterations in SCRAM authentication allows CPU exhaustion DoS
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7.5epss 3.3%
pgjdbc is an open source postgresql JDBC Driver. From version 42.2.0 to before version 42.7.11, pgjdbc is vulnerable to a client-side denial of service during SCRAM-SHA-256 authentication. A malicious server can instruct the driver to perform SCRAM authentication with a very large iteration count. With a large enough value, the client spends an unbounded amount of CPU time inside PBKDF2 before authentication can fail. A single attempt ties up a CPU core. Repeated or concurrent attempts exhaust client CPU and can wedge connection pools. In affected versions, loginTimeout did not fully mitigate this problem. When loginTimeout expired, the caller could stop waiting, but the worker thread performing the connection attempt could continue running and burning CPU inside the SCRAM PBKDF2 computation. This issue has been patched in version 42.7.11.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Affected products
pgjdbc · pgjdbcRelated CVEs — pgjdbc
In the same product, most dangerous first.
CVE-2024-1597CRITICALpgjdbc SQL Injection via line comment generationEPSS 4.8%CVE-2022-31197HIGHSQL Injection in ResultSet.refreshRow() with malicious column names in pgjdbcEPSS 2.4%CVE-2022-41946MEDIUMTemporaryFolder on unix-like systems does not limit access to created files in pgjdbcEPSS 0.6%CVE-2025-49146HIGHpgjdbc Client Allows Fallback to Insecure Authentication Despite channelBinding=require ConfigurationEPSS 0.5%CVE-2026-107314MEDIUMpgjdbc does not enforce requireAuth when the value excludes every authentication methodEPSS 0.3%CVE-2026-54291HIGHSilent channel-binding authentication downgrade via unsupported certificate algorithmsEPSS 0.2%
References
https://access.redhat.com/errata/RHSA-2026:19098https://access.redhat.com/errata/RHSA-2026:22304https://access.redhat.com/errata/RHSA-2026:24348https://access.redhat.com/errata/RHSA-2026:25030https://access.redhat.com/errata/RHSA-2026:52928https://access.redhat.com/errata/RHSA-2026:52929https://access.redhat.com/errata/RHSA-2026:52930https://access.redhat.com/errata/RHSA-2026:52978https://access.redhat.com/errata/RHSA-2026:54532https://access.redhat.com/errata/RHSA-2026:59277https://access.redhat.com/errata/RHSA-2026:59278https://access.redhat.com/errata/RHSA-2026:66488