cve.bz

CVE-2026-42198 postgresql postgresql jdbc driver

7.5 highEPSS 3.3%Fix available

High (7.5) in postgresql postgresql jdbc driver. EPSS 3.3% estimated probability of exploitation activity in the next 30 days. Fixed in org.postgresql:postgresql 42.7.11.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
3.3% (unchanged from 3.3% a week ago; 3.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 89th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2026-04-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-770 Allocation of Resources Without Limits or Throttling
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-42198 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-42198?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-42198?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-42198 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
postgresql:postgresql_jdbc_driverfrom 42.2.0 before 42.7.11

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-98qh-xjc8-98pqMavenorg.postgresql:postgresql>=42.2.0 <42.7.1142.7.11

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13libpgjavano fix listedDEBIAN-CVE-2026-42198
Debian14libpgjava42.7.11-1DEBIAN-CVE-2026-42198
Ubuntu22.04:LTS, 24.04:LTS, 25.10 and 3 morelibpgjavano fix listedUBUNTU-CVE-2026-42198
Red Hatenterprise_linux:8::appstreampostgresql-jdbc, postgresql-jdbc-javadoc0:42.2.14-4.el8_10RHSA-2026:25030
Red Hatenterprise_linux:9::appstreampostgresql-jdbc0:42.2.28-2.el9_8.2RHSA-2026:22304
Red Hatenterprise_linux:10.2postgresql-jdbc0:42.7.2-1.el10_2.2RHSA-2026:24348
Red Hatenterprise_linux_eus:10.0postgresql-jdbc0:42.7.1-7.el10_0.1RHSA-2026:52928
Red Hatrhel_aus:8.4::appstream, rhel_eus_long_life:8.4::appstreampostgresql-jdbc, postgresql-jdbc-javadoc0:42.2.3-7.el8_4.1RHSA-2026:59278
Red Hatrhel_aus:8.6::appstream, rhel_eus_long_life:8.6::appstreampostgresql-jdbc, postgresql-jdbc-javadoc0:42.2.3-5.el8_6.1RHSA-2026:59277
Red Hatrhel_e4s:8.8::appstream, rhel_tus:8.8::appstreampostgresql-jdbc, postgresql-jdbc-javadoc0:42.2.14-5.el8_8.1RHSA-2026:52978
Red Hatrhel_e4s:9.2::appstreampostgresql-jdbc0:42.2.28-1.el9_2.1RHSA-2026:54532
Red Hatrhel_e4s:9.4::appstreampostgresql-jdbc0:42.2.28-1.el9_4.1RHSA-2026:52929
Red Hatrhel_eus:9.6::appstreampostgresql-jdbc0:42.2.28-1.el9_6.1RHSA-2026:52930
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0postgresql-jdbc42.7.7-160000.3.1SUSE-SU-2026:22000-1
SUSEMulti-Linux Manager Proxy Extension for SLE 5.1suse-multi-linux-manager-5.1-s390x-proxy-httpd-image, suse-multi-linux-manager-5.1-x86_64-proxy-httpd-image, suse-multi-linux-manager-5.1-aarch64-proxy-httpd-image and 1 more5.1.4-8.22.22SUSE-SU-2026:2774-1
SUSEMulti-Linux Manager Proxy Extension for SLE 5.1suse-multi-linux-manager-5.1-s390x-proxy-salt-broker-image, suse-multi-linux-manager-5.1-x86_64-proxy-salt-broker-image, suse-multi-linux-manager-5.1-aarch64-proxy-salt-broker-image and 1 more5.1.4-9.20.25SUSE-SU-2026:2774-1
SUSEMulti-Linux Manager Proxy Extension for SLE 5.1suse-multi-linux-manager-5.1-s390x-proxy-squid-image, suse-multi-linux-manager-5.1-x86_64-proxy-squid-image, suse-multi-linux-manager-5.1-aarch64-proxy-squid-image and 1 more5.1.4-8.20.11SUSE-SU-2026:2774-1
SUSEMulti-Linux Manager Proxy Extension for SLE 5.1suse-multi-linux-manager-5.1-s390x-proxy-ssh-image, suse-multi-linux-manager-5.1-x86_64-proxy-ssh-image, suse-multi-linux-manager-5.1-aarch64-proxy-ssh-image and 1 more5.1.4-8.20.12SUSE-SU-2026:2774-1
SUSEMulti-Linux Manager Proxy Extension for SLE 5.1suse-multi-linux-manager-5.1-s390x-proxy-tftpd-image, suse-multi-linux-manager-5.1-x86_64-proxy-tftpd-image, suse-multi-linux-manager-5.1-aarch64-proxy-tftpd-image and 1 more5.1.4-8.20.13SUSE-SU-2026:2774-1
SUSEMulti-Linux Manager Proxy Extension for SLE 5.1, Multi-Linux Manager Server Extension for SLE 5.1uyuni-tools5.1.29-150700.3.26.1SUSE-SU-2026:2774-1
SUSEMulti-Linux Manager Server Extension for SLE 5.1suse-multi-linux-manager-5.1-s390x-server-attestation-image, suse-multi-linux-manager-5.1-x86_64-server-attestation-image, suse-multi-linux-manager-5.1-aarch64-server-attestation-image and 1 more5.1.4-8.22.10SUSE-SU-2026:2774-1
SUSEMulti-Linux Manager Server Extension for SLE 5.1suse-multi-linux-manager-5.1-s390x-server-hub-xmlrpc-api-image, suse-multi-linux-manager-5.1-x86_64-server-hub-xmlrpc-api-image, suse-multi-linux-manager-5.1-aarch64-server-hub-xmlrpc-api-image and 1 more5.1.4-8.20.12SUSE-SU-2026:2774-1
SUSEMulti-Linux Manager Server Extension for SLE 5.1suse-multi-linux-manager-5.1-s390x-server-image, suse-multi-linux-manager-5.1-x86_64-server-image, suse-multi-linux-manager-5.1-aarch64-server-image and 1 more5.1.4-8.20.34SUSE-SU-2026:2774-1
SUSEMulti-Linux Manager Server Extension for SLE 5.1suse-multi-linux-manager-5.1-s390x-server-migration-14-16-image, suse-multi-linux-manager-5.1-x86_64-server-migration-14-16-image, suse-multi-linux-manager-5.1-aarch64-server-migration-14-16-image and 1 more5.1.4-8.20.13SUSE-SU-2026:2774-1
SUSEMulti-Linux Manager Server Extension for SLE 5.1suse-multi-linux-manager-5.1-s390x-server-postgresql-image, suse-multi-linux-manager-5.1-x86_64-server-postgresql-image, suse-multi-linux-manager-5.1-aarch64-server-postgresql-image and 1 more5.1.4-6.24.3SUSE-SU-2026:2774-1
1 more for SUSE in the JSON and on SUSE's page.
openSUSETumbleweedpostgresql-jdbc42.7.11-1.1openSUSE-SU-2026:11001-1
AlmaLinux8postgresql-jdbc, postgresql-jdbc-javadoc42.2.14-4.el8_10ALSA-2026:25030
AlmaLinux9postgresql-jdbc42.2.28-2.el9_8.2ALSA-2026:22304
AlmaLinux10postgresql-jdbc42.7.2-1.el10_2.2ALSA-2026:24348
Rocky Linux8postgresql-jdbc0:42.2.14-4.el8_10RLSA-2026:25030
Rocky Linux9postgresql-jdbc0:42.2.28-2.el9_8.2RLSA-2026:22304
Rocky Linux10postgresql-jdbc0:42.7.2-1.el10_2.2RLSA-2026:24348

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Important.

ProductPackageStateAdvisory
Red Hat AMQ Broker 7.13.6postgresqlFixed 2026-09-10RHSA-2026:66545
Red Hat AMQ Broker 7.14.1postgresqlFixed 2026-09-10RHSA-2026:66488
Red Hat build of Quarkus 3.27.3.SP2org.postgresql/postgresql:42.7.11.redhat-00001Fixed 2026-05-20RHSA-2026:19098
Red Hat Enterprise Linux 10postgresql-jdbc-0:42.7.2-1.el10_2.2Fixed 2026-06-08RHSA-2026:24348
Red Hat Enterprise Linux 10.0 Extended Update Supportpostgresql-jdbc-0:42.7.1-7.el10_0.1Fixed 2026-08-10RHSA-2026:52928
Red Hat Enterprise Linux 8postgresql-jdbc-0:42.2.14-4.el8_10Fixed 2026-06-10RHSA-2026:25030
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportpostgresql-jdbc-0:42.2.3-7.el8_4.1Fixed 2026-08-25RHSA-2026:59278
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onpostgresql-jdbc-0:42.2.3-7.el8_4.1Fixed 2026-08-25RHSA-2026:59278
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supportpostgresql-jdbc-0:42.2.3-5.el8_6.1Fixed 2026-08-25RHSA-2026:59277
Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-Onpostgresql-jdbc-0:42.2.3-5.el8_6.1Fixed 2026-08-25RHSA-2026:59277
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicepostgresql-jdbc-0:42.2.14-5.el8_8.1Fixed 2026-08-10RHSA-2026:52978
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionspostgresql-jdbc-0:42.2.14-5.el8_8.1Fixed 2026-08-10RHSA-2026:52978
Red Hat Enterprise Linux 9postgresql-jdbc-0:42.2.28-2.el9_8.2Fixed 2026-06-01RHSA-2026:22304
Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionspostgresql-jdbc-0:42.2.28-1.el9_2.1Fixed 2026-08-13RHSA-2026:54532
Red Hat Enterprise Linux 9.4 Update Services for SAP Solutionspostgresql-jdbc-0:42.2.28-1.el9_4.1Fixed 2026-08-10RHSA-2026:52929
Red Hat Enterprise Linux 9.6 Extended Update Supportpostgresql-jdbc-0:42.2.28-1.el9_6.1Fixed 2026-08-10RHSA-2026:52930
Red Hat Enterprise Linux 6postgresql-jdbcWill not fix
Red Hat Enterprise Linux 7postgresql-jdbcNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-42198.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON