# CVE-2026-42198: pgjdbc: Unbounded PBKDF2 iterations in SCRAM authentication allows CPU exhaustion DoS

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.32%, higher than 88% of CVEs (2026-12-01)
- Published: 2026-04-29T15:58:49.174Z
- Modified: 2026-11-11T21:10:00.200Z
- Also known as: GHSA-98qh-xjc8-98pq, BIT-POSTGRESQL-JDBC-DRIVER-2026-42198
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- pgjdbc pgjdbc: >= 42.2.0, < 42.7.11
- postgresql: no versions given
- pgjdbc: no versions given
- postgresql-jdbc: no versions given (not affected: from 0:42.7.2-1.el10_2.2 before *; from 0:42.7.1-7.el10_0.1 before *; from 0:42.2.14-4.el8_10 before *; from 0:42.2.3-7.el8_4.1 before *; from 0:42.2.3-5.el8_6.1 before *; from 0:42.2.14-5.el8_8.1 before *; from 0:42.2.28-2.el9_8.2 before *; from 0:42.2.28-1.el9_2.1 before *; from 0:42.2.28-1.el9_4.1 before *; from 0:42.2.28-1.el9_6.1 before *)
- org.postgresql:postgresql (Maven): from 42.2.0 before 42.7.11
- postgresql postgresql_jdbc_driver: from 42.2.0 before 42.7.11
- postgresql-jdbc-driver (Bitnami): from 42.2.0 before 42.7.11

## Every score

- GitHub_M: 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`
- redhat-SADP: 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`
- GitHub: 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`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-98qh-xjc8-98pq> (advisory, vendor-advisory, web)
- <https://github.com/pgjdbc/pgjdbc/releases/tag/REL42.7.11> (article, release-notes, web)
- <https://access.redhat.com/security/cve/CVE-2026-42198> (vdb-entry, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2463857> (issue-tracking, web)
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42198.json> (web)
- <https://access.redhat.com/errata/RHSA-2026:52928> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:24348> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:25030> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:59278> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:59277> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:52978> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:54532> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:52929> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:52930> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:22304> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:66545> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:66488> (vendor-advisory, web)
- <https://access.redhat.com/errata/RHSA-2026:19098> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-42198> (advisory, web)
- <https://github.com/pgjdbc/pgjdbc> (package)

## Sources

- CVE List: [CVE-2026-42198](https://www.cve.org/CVERecord?id=CVE-2026-42198), CVE Terms of Use, modified 2026-09-11
- GitHub Advisory Database: [GHSA-98qh-xjc8-98pq](https://github.com/advisories/GHSA-98qh-xjc8-98pq), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-42198](https://nvd.nist.gov/vuln/detail/CVE-2026-42198), Public domain, modified 2026-11-11
- Bitnami Vulnerability Database: [BIT-POSTGRESQL-JDBC-DRIVER-2026-42198](https://osv.dev/vulnerability/BIT-POSTGRESQL-JDBC-DRIVER-2026-42198), Apache-2.0, modified 2026-09-12

---

Page: https://cve.day/CVE-2026-42198 · Whole record: https://cve.day/CVE-2026-42198.json · Rebuilt by cve.day 2026-11-25T22:59:20.238Z
