Postgresql Postgresql Jdbc Driver
CVE-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 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.
What this means for your business
- It affects Postgresql Jdbc Driver. It matters if your company, or a supplier that handles your data, runs it.
- An attacker can use it remotely, over a network, without a login, and without anyone at your company clicking anything.
- FIRST's prediction model gives it a 3% chance of attack attempts being seen in the next 30 days, ranking above 87% of all known flaws.
What to do
- 1Check whether your company or your suppliers run Postgresql Jdbc Driver, and which version. The affected versions are listed further down this page.
- 2If you do, apply the vendor's fix. A patch or vendor advisory has been published.
Not sure if your company is exposed?
Fastnexa’s certified penetration testers can check whether attackers could use this flaw, or others like it, against your websites, apps and network. The full test is free for our first 10 founding clients until 31 December 2026.
Scoring
- CVSS
- 7.5 (v3.1)
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Weakness
- CWE-770
- Assigned by
- security-advisories@github.com
Dates
- Published
- 2026-04-29
- Last modified
- 2026-09-11
- Sources
- NVD
Affected products
- Postgresql Postgresql Jdbc Driver42.2.0 - 42.7.11
As listed in the NVD configuration data. Not a statement about your estate.
References
- https://github.com/pgjdbc/pgjdbc/releases/tag/REL42.7.11
- https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-98qh-xjc8-98pq
- https://access.redhat.com/errata/RHSA-2026:19098
- https://access.redhat.com/errata/RHSA-2026:22304
- https://access.redhat.com/errata/RHSA-2026:24348
- https://access.redhat.com/errata/RHSA-2026:25030
- https://access.redhat.com/errata/RHSA-2026:52928
- https://access.redhat.com/errata/RHSA-2026:52929
- https://access.redhat.com/errata/RHSA-2026:52930
- https://access.redhat.com/errata/RHSA-2026:52978
- https://access.redhat.com/errata/RHSA-2026:54532
- https://access.redhat.com/errata/RHSA-2026:59277
- https://access.redhat.com/errata/RHSA-2026:59278
- https://access.redhat.com/errata/RHSA-2026:66488
- https://access.redhat.com/errata/RHSA-2026:66545