Skip to content
Fencer Vulns
high 7.5

CVE-2026-42198 json

pgjdbc: Unbounded PBKDF2 iterations in SCRAM authentication allows CPU exhaustion DoS

published 2026-04-29 6 mo ago modified 2026-09-12 58 d ago also BIT-postgresql-jdbc-driver-2026-42198 , EUVD-2026-26247 , GHSA-98qh-xjc8-98pq

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
3.3%
EPSS 3.3% chance of exploitation in 30 days, percentile 88%
public exploits
0
none known

Summary

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.

Patch / fix

  • maven org.postgresql:postgresql 42.7.11
  • bitnami postgresql-jdbc-driver 42.7.11
  • Red Hat Red Hat Enterprise Linux 10 0:42.7.2-1.el10_2.2
  • Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support 0:42.7.1-7.el10_0.1
  • Red Hat Red Hat Enterprise Linux 8 0:42.2.14-4.el8_10
  • Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support 0:42.2.3-7.el8_4.1
  • Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On 0:42.2.3-7.el8_4.1
  • Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support 0:42.2.3-5.el8_6.1
  • Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On 0:42.2.3-5.el8_6.1
  • Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service 0:42.2.14-5.el8_8.1
  • Red Hat Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions 0:42.2.14-5.el8_8.1
  • Red Hat Red Hat Enterprise Linux 9 0:42.2.28-2.el9_8.2
  • Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions 0:42.2.28-1.el9_2.1
  • Red Hat Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions 0:42.2.28-1.el9_4.1
  • Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support 0:42.2.28-1.el9_6.1
  • libpgjava Debian 14 42.7.11-1

debian advisories DEBIAN-CVE-2026-42198

  • postgresql-jdbc RHEL 8 42.2.14-4.el8_10
  • postgresql-jdbc-javadoc RHEL 8 42.2.14-4.el8_10
  • postgresql-jdbc RHEL 10.2 42.7.2-1.el10_2.2
  • postgresql-jdbc RHEL 9 42.2.28-2.el9_8.2
  • postgresql-jdbc RHEL 8.4 EUS_LONG_LIFE, RHEL 8.4 AUS 42.2.3-7.el8_4.1
  • postgresql-jdbc-javadoc RHEL 8.4 EUS_LONG_LIFE, RHEL 8.4 AUS 42.2.3-7.el8_4.1
  • postgresql-jdbc RHEL 8.6 EUS_LONG_LIFE, RHEL 8.6 AUS 42.2.3-5.el8_6.1
  • postgresql-jdbc-javadoc RHEL 8.6 EUS_LONG_LIFE, RHEL 8.6 AUS 42.2.3-5.el8_6.1

red hat advisories RHSA-2026:59278RHSA-2026:59277RHSA-2026:54532RHSA-2026:52978RHSA-2026:52930RHSA-2026:52928

  • uyuni-tools Multi-Linux Manager Server Extension for SLE 5.1, Multi-Linux Manager Proxy Extension for SLE 5.1 5.1.29-150700.3.26.1
  • suse-multi-linux-manager-5.1-s390x-server-image Multi-Linux Manager Server Extension for SLE 5.1 5.1.4-8.20.34
  • suse-multi-linux-manager-5.1-x86_64-server-image Multi-Linux Manager Server Extension for SLE 5.1 5.1.4-8.20.34
  • suse-multi-linux-manager-5.1-aarch64-server-image Multi-Linux Manager Server Extension for SLE 5.1 5.1.4-8.20.34
  • suse-multi-linux-manager-5.1-ppc64le-server-image Multi-Linux Manager Server Extension for SLE 5.1 5.1.4-8.20.34
  • suse-multi-linux-manager-5.1-s390x-proxy-ssh-image Multi-Linux Manager Proxy Extension for SLE 5.1 5.1.4-8.20.12
  • suse-multi-linux-manager-5.1-x86_64-proxy-ssh-image Multi-Linux Manager Proxy Extension for SLE 5.1 5.1.4-8.20.12
  • suse-multi-linux-manager-5.1-aarch64-proxy-ssh-image Multi-Linux Manager Proxy Extension for SLE 5.1 5.1.4-8.20.12

suse advisories SUSE-SU-2026:2774-1SUSE-SU-2026:22000-1

  • postgresql-jdbc openSUSE Tumbleweed 42.7.11-1.1

opensuse advisories openSUSE-SU-2026:11001-1

  • postgresql-jdbc AlmaLinux 8 42.2.14-4.el8_10
  • postgresql-jdbc-javadoc AlmaLinux 8 42.2.14-4.el8_10
  • postgresql-jdbc AlmaLinux 10 42.7.2-1.el10_2.2
  • postgresql-jdbc AlmaLinux 9 42.2.28-2.el9_8.2

almalinux advisories ALSA-2026:25030ALSA-2026:24348ALSA-2026:22304

  • postgresql-jdbc Rocky Linux 10 42.7.2-1.el10_2.2
  • postgresql-jdbc Rocky Linux 8 42.2.14-4.el8_10
  • postgresql-jdbc Rocky Linux 9 42.2.28-2.el9_8.2

rocky linux advisories RLSA-2026:24348RLSA-2026:25030RLSA-2026:22304

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-42198 updated cvss 7.5

jdbc.postgresql.org: pgjdbc: Client-side Denial of Service via malicious SCRAM-SHA-256 authentication

  • Red Hat Enterprise Linux 6 postgresql-jdbc
    affected: no fix planned “Will not fix”
  • Red Hat AMQ Broker 7.13.6
    fixed: vendor fix RHSA-2026:66545
  • Red Hat AMQ Broker 7.14.1
    fixed: vendor fix RHSA-2026:66488
  • Red Hat build of Quarkus 3.27.3.SP2 postgresql 42.7.11.redhat-00001
    fixed: vendor fix RHSA-2026:19098
  • Red Hat Enterprise Linux AppStream (v. 8) postgresql-jdbc 42.2.14-4.el8_10, postgresql-jdbc-javadoc 42.2.14-4.el8_10
    fixed: vendor fix RHSA-2026:25030
  • Red Hat Enterprise Linux AppStream (v. 9) postgresql-jdbc 42.2.28-2.el9_8.2
    fixed: vendor fix RHSA-2026:22304
  • Red Hat Enterprise Linux AppStream (v. 10) postgresql-jdbc 42.7.2-1.el10_2.2
    fixed: vendor fix RHSA-2026:24348
  • Red Hat Enterprise Linux AppStream AUS (v.8.4) postgresql-jdbc 42.2.3-7.el8_4.1, postgresql-jdbc-javadoc 42.2.3-7.el8_4.1
    fixed: vendor fix RHSA-2026:59278
show 10 more
  • Red Hat Enterprise Linux AppStream AUS (v.8.6) postgresql-jdbc 42.2.3-5.el8_6.1, postgresql-jdbc-javadoc 42.2.3-5.el8_6.1
    fixed: vendor fix RHSA-2026:59277
  • Red Hat Enterprise Linux AppStream E4S (v.8.8) postgresql-jdbc 42.2.14-5.el8_8.1, postgresql-jdbc-javadoc 42.2.14-5.el8_8.1
    fixed: vendor fix RHSA-2026:52978
  • Red Hat Enterprise Linux AppStream E4S (v.9.2) postgresql-jdbc 42.2.28-1.el9_2.1
    fixed: vendor fix RHSA-2026:54532
  • Red Hat Enterprise Linux AppStream E4S (v.9.4) postgresql-jdbc 42.2.28-1.el9_4.1
    fixed: vendor fix RHSA-2026:52929
  • Red Hat Enterprise Linux AppStream EUS (v. 10.0) postgresql-jdbc 42.7.1-7.el10_0.1
    fixed: vendor fix RHSA-2026:52928
  • Red Hat Enterprise Linux AppStream EUS (v.9.6) postgresql-jdbc 42.2.28-1.el9_6.1
    fixed: vendor fix RHSA-2026:52930
  • Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.4) postgresql-jdbc 42.2.3-7.el8_4.1, postgresql-jdbc-javadoc 42.2.3-7.el8_4.1
    fixed: vendor fix RHSA-2026:59278
  • Red Hat Enterprise Linux AppStream EUS EXTENSION (v.8.6) postgresql-jdbc 42.2.3-5.el8_6.1, postgresql-jdbc-javadoc 42.2.3-5.el8_6.1
    fixed: vendor fix RHSA-2026:59277
  • Red Hat Enterprise Linux AppStream TUS (v.8.8) postgresql-jdbc 42.2.14-5.el8_8.1, postgresql-jdbc-javadoc 42.2.14-5.el8_8.1
    fixed: vendor fix RHSA-2026:52978
  • Red Hat build of Quarkus 3.27.3.SP2 jna 5.8.0, db2 1.21.4, h2 2.3.230, y18n 5.0.8, cliui 8.0.1, guice 5.1.0, +1005 more Red Hat Enterprise Linux 7 postgresql-jdbc, postgresql-jdbc-javadoc
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
none
Automatable
yes
Technical impact
partial
Assessed
6 mo ago

Exploit prediction

3.26% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA ADP 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
maven org.postgresql:postgresql
>=42.2.0, <42.7.11
42.7.11
bitnami postgresql-jdbc-driver
>=42.2.0, <42.7.11
42.7.11

Affected products

  • pgjdbc pgjdbc
  • Red Hat Red Hat AMQ Broker 7.13.6
  • Red Hat Red Hat AMQ Broker 7.14.1
  • Red Hat Red Hat build of Quarkus 3.27.3.SP2
  • Red Hat Red Hat Enterprise Linux 10
  • Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support
  • Red Hat Red Hat Enterprise Linux 8
  • Red Hat Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  • Red Hat Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On
  • Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  • Red Hat Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On
  • Red Hat Red Hat Enterprise Linux 8.8 Telecommunications Update Service
  • Red Hat Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
  • Red Hat Red Hat Enterprise Linux 9
  • Red Hat Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions
  • Red Hat Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions
  • Red Hat Red Hat Enterprise Linux 9.6 Extended Update Support
  • Red Hat Red Hat Enterprise Linux 6
  • Red Hat Red Hat Enterprise Linux 7

Classification

Weakness
  • CWE-770 Allocation of Resources Without Limits or Throttling

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.