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

> CVE-2026-42198: pgjdbc: Unbounded PBKDF2 iterations in SCRAM authentication allows CPU exhaustion DoS. CVSS 7.5 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-42198
Last updated: 2026-09-11T13:17:58Z

- Published: 2026-04-29 15:58 UTC · Updated: 2026-09-11 13:17 UTC · Assigner: GitHub\_M
- CVSS: 7.5 (CVSS 3.1) · Severity: High · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 3.3%, 88th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-770

## 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.

## Affected vendors and 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 6
- Red Hat: Red Hat Enterprise Linux 7
- 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

## Tracked companies

- [Confluence](https://rewindex.com/company/confluence.md)
- [Jira](https://rewindex.com/company/jira.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-42198)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-42198)
- [https://github.com/pgjdbc/pgjdbc/releases/tag/REL42.7.11](https://github.com/pgjdbc/pgjdbc/releases/tag/REL42.7.11)
- [https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-98qh-xjc8-98pq](https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-98qh-xjc8-98pq)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-42198 · Markdown: https://rewindex.com/cve/CVE-2026-42198.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-42198 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:12:59.179Z
