CVE-2026-42198
published 2026-04-29CVE-2026-42198: 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…
PriorityP347high7.5CVSS 3.1
AVNACLPRNUINSUCNINAH
EPSS
0.77%
51.0th percentile
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.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| pgjdbc | pgjdbc | — | — |
| postgresql | postgresql_jdbc_driver | >= 42.2.0 < 42.7.11 | 42.7.11 |
CVSS provenance
nvdv3.17.5HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vendor_redhat7.5HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
pgjdbc: Unbounded PBKDF2 iterations in SCRAM authentication allows CPU exhaustion DoS
ghsa·2026-05-05
CVE-2026-42198 [HIGH] CWE-770 pgjdbc: Unbounded PBKDF2 iterations in SCRAM authentication allows CPU exhaustion DoS
pgjdbc: Unbounded PBKDF2 iterations in SCRAM authentication allows CPU exhaustion DoS
## Summary
pgjdbc is vulnerable to a client-side denial of service during SCRAM-SHA-256 authentication.
### Impact
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 SCR
VulDB
pgjdbc up to 42.7.10 allocation of resources (GHSA-98qh-xjc8-98pq / EUVD-2026-26247)
vuldb·2026-04-29·CVSS 7.5
CVE-2026-42198 [HIGH] pgjdbc up to 42.7.10 allocation of resources (GHSA-98qh-xjc8-98pq / EUVD-2026-26247)
A vulnerability was found in pgjdbc up to 42.7.10. It has been rated as problematic. This impacts an unknown function. Performing a manipulation results in allocation of resources.
This vulnerability is identified as CVE-2026-42198. The attack can be initiated remotely. There is not any exploit available.
Upgrading the affected component is advised.
Red Hat
jdbc.postgresql.org: pgjdbc: Client-side Denial of Service via malicious SCRAM-SHA-256 authentication
vendor_redhat·2026-04-29·CVSS 7.5
CVE-2026-42198 [HIGH] CWE-770 jdbc.postgresql.org: pgjdbc: Client-side Denial of Service via malicious SCRAM-SHA-256 authentication
jdbc.postgresql.org: pgjdbc: Client-side Denial of Service via malicious SCRAM-SHA-256 authentication
A flaw was found in pgjdbc, an open-source PostgreSQL JDBC Driver. A malicious server can exploit this vulnerability by instructing the driver to perform SCRAM-SHA-256 (Salted Challenge Response Authentication Mechanism Secure Hash Algorithm 256) authentication with an excessively large iteration count. This causes the client to spend an unbounded amount of CPU time performing PBKDF2 (Password-Based Key Derivation Function 2) computations, leading to a client-side Denial of Service (DoS). This can exhaust client CPU resources and wedge connection pools.
Package: postgresql-jdbc (Red Hat Enterprise Linux 10) - Affected
Package: postgresql-jdbc (Red Hat Enterprise Linux 6) - Affected
Pac
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2026-42198 postgresql-jdbc: pgjdbc: Client-side Denial of Service via malicious SCRAM-SHA-256 authentication [fedora-all]
bugzilla·2026-05-05·CVSS 7.5
CVE-2026-42198 [HIGH] CVE-2026-42198 postgresql-jdbc: pgjdbc: Client-side Denial of Service via malicious SCRAM-SHA-256 authentication [fedora-all]
CVE-2026-42198 postgresql-jdbc: pgjdbc: Client-side Denial of Service via malicious SCRAM-SHA-256 authentication [fedora-all]
Disclaimer: Community trackers are created by Red Hat Product Security team on a best effort basis. Package maintainers are required to ascertain if the flaw indeed affects their package, before starting the update process.
Bugzilla
CVE-2026-42198 jdbc.postgresql.org: pgjdbc: Client-side Denial of Service via malicious SCRAM-SHA-256 authentication
bugzilla·2026-04-29·CVSS 7.5
CVE-2026-42198 [HIGH] CVE-2026-42198 jdbc.postgresql.org: pgjdbc: Client-side Denial of Service via malicious SCRAM-SHA-256 authentication
CVE-2026-42198 jdbc.postgresql.org: pgjdbc: Client-side Denial of Service via malicious SCRAM-SHA-256 authentication
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 wo
https://github.com/pgjdbc/pgjdbc/releases/tag/REL42.7.11https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-98qh-xjc8-98pqhttps://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/security/cve/CVE-2026-42198https://bugzilla.redhat.com/show_bug.cgi?id=2463857https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42198.json
2026-04-29
Published