CVE-2026-42198
published high CVSS 3.1 · 7.5pgjdbc: Unbounded PBKDF2 iterations in SCRAM authentication allows CPU exhaustion DoS
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| pgjdbc | — | pgjdbc>= 42.2.0, < 42.7.11 | Affected | Not stated | GitHub_M |
| Red Hat | — | postgresqlRed Hat AMQ Broker 7.13.6 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | postgresqlRed Hat AMQ Broker 7.14.1 | Unaffected | Not required | redhat-SADP |
| Red Hat | — | pgjdbcRed Hat build of Quarkus 3.27.3.SP2 | Unaffected | Not required | redhat-SADP |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 10 | postgresql-jdbc | Advisory build | 42.7.2-1.el10_2.2 | ALSA-2026:24348 |
| Oracle Linux | 10 | postgresql-jdbcaarch64 | Advisory build | 0:42.7.2-1.el10_2.2 | ELSA-2026-24348 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql-jdbcnoarch | Advisory build | 42.7.1-7.el10_0.1 | RHSA-2026:52928 |
Show 71 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | 10 | postgresql-jdbc0:42.7.2-1.el10_2.2 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | postgresql-jdbcRed Hat Enterprise Linux 10.0 Extended Update Support · 0:42.7.1-7.el10_0.1 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat Enterprise Linux | 8 | postgresql-jdbc0:42.2.14-4.el8_10 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | postgresql-jdbcRed Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support · 0:42.2.3-7.el8_4.1 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | postgresql-jdbcRed Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On · 0:42.2.3-7.el8_4.1 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | postgresql-jdbcRed Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support · 0:42.2.3-5.el8_6.1 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | postgresql-jdbcRed Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On · 0:42.2.3-5.el8_6.1 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | postgresql-jdbcRed Hat Enterprise Linux 8.8 Telecommunications Update Service · 0:42.2.14-5.el8_8.1 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | postgresql-jdbcRed Hat Enterprise Linux 8.8 Update Services for SAP Solutions · 0:42.2.14-5.el8_8.1 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat Enterprise Linux | 9 | postgresql-jdbc0:42.2.28-2.el9_8.2 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | postgresql-jdbcRed Hat Enterprise Linux 9.2 Update Services for SAP Solutions · 0:42.2.28-1.el9_2.1 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | postgresql-jdbcRed Hat Enterprise Linux 9.4 Update Services for SAP Solutions · 0:42.2.28-1.el9_4.1 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat | — | postgresql-jdbcRed Hat Enterprise Linux 9.6 Extended Update Support · 0:42.2.28-1.el9_6.1 and later · Other versions: affected | Unaffected | Not stated | redhat-SADP |
| Red Hat Enterprise Linux | 6 | postgresql-jdbc | Affected | Not stated | redhat-SADP |
| Red Hat Enterprise Linux | 7 | postgresql-jdbc | Unaffected | Not required | redhat-SADP |
| SUSE / openSUSE | SLE-15-SP4 | postgresql-jdbcnoarch | Advisory build | 42.2.25-150400.3.15.1 | SUSE-SU-2026:2028-1 |
| Rocky Linux | 10 | postgresql-jdbcnoarch | Listed in advisory | Not stated | RLSA-2026:24348 |
| AlmaLinux | 8 | postgresql-jdbc | Advisory build | 42.2.14-4.el8_10 | ALSA-2026:25030 |
| AlmaLinux | 9 | postgresql-jdbc | Advisory build | 42.2.28-2.el9_8.2 | ALSA-2026:22304 |
| Oracle Linux | 10 | postgresql-jdbcx86_64 | Advisory build | 0:42.7.2-1.el10_2.2 | ELSA-2026-24348 |
| Oracle Linux | 8 | postgresql-jdbcaarch64 | Advisory build | 0:42.2.14-4.el8_10 | ELSA-2026-25030 |
| Oracle Linux | 8 | postgresql-jdbcx86_64 | Advisory build | 0:42.2.14-4.el8_10 | ELSA-2026-25030 |
| Oracle Linux | 9 | postgresql-jdbcaarch64 | Advisory build | 0:42.2.28-2.el9_8.2 | ELSA-2026-22304 |
| Oracle Linux | 9 | postgresql-jdbcx86_64 | Advisory build | 0:42.2.28-2.el9_8.2 | ELSA-2026-22304 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql-jdbcnoarch | Advisory build | 42.7.2-1.el10_2.2 | RHSA-2026:24348 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql-jdbcsrc | Advisory build | 42.7.1-7.el10_0.1 | RHSA-2026:52928 |
| Red Hat Enterprise Linux | RHEL-10 | postgresql-jdbcsrc | Advisory build | 42.7.2-1.el10_2.2 | RHSA-2026:24348 |
| Red Hat Enterprise Linux | RHEL-8 | postgresql-jdbcnoarch | Advisory build | 42.2.14-4.el8_10 | RHSA-2026:25030 |
| Red Hat Enterprise Linux | RHEL-8 | postgresql-jdbcnoarch | Advisory build | 42.2.14-5.el8_8.1 | RHSA-2026:52978 |
| Red Hat Enterprise Linux | RHEL-8 | postgresql-jdbcnoarch | Advisory build | 42.2.3-5.el8_6.1 | RHSA-2026:59277 |
| Red Hat Enterprise Linux | RHEL-8 | postgresql-jdbcnoarch | Advisory build | 42.2.3-7.el8_4.1 | RHSA-2026:59278 |
| Red Hat Enterprise Linux | RHEL-8 | postgresql-jdbcsrc | Advisory build | 42.2.14-4.el8_10 | RHSA-2026:25030 |
| Red Hat Enterprise Linux | RHEL-8 | postgresql-jdbcsrc | Advisory build | 42.2.14-5.el8_8.1 | RHSA-2026:52978 |
| Red Hat Enterprise Linux | RHEL-8 | postgresql-jdbcsrc | Advisory build | 42.2.3-5.el8_6.1 | RHSA-2026:59277 |
| Red Hat Enterprise Linux | RHEL-8 | postgresql-jdbcsrc | Advisory build | 42.2.3-7.el8_4.1 | RHSA-2026:59278 |
| Red Hat Enterprise Linux | RHEL-9 | postgresql-jdbcnoarch | Advisory build | 42.2.28-1.el9_2.1 | RHSA-2026:54532 |
| Red Hat Enterprise Linux | RHEL-9 | postgresql-jdbcnoarch | Advisory build | 42.2.28-1.el9_4.1 | RHSA-2026:52929 |
| Red Hat Enterprise Linux | RHEL-9 | postgresql-jdbcnoarch | Advisory build | 42.2.28-1.el9_6.1 | RHSA-2026:52930 |
| Red Hat Enterprise Linux | RHEL-9 | postgresql-jdbcnoarch | Advisory build | 42.2.28-2.el9_8.2 | RHSA-2026:22304 |
| Red Hat Enterprise Linux | RHEL-9 | postgresql-jdbcsrc | Advisory build | 42.2.28-1.el9_2.1 | RHSA-2026:54532 |
| Red Hat Enterprise Linux | RHEL-9 | postgresql-jdbcsrc | Advisory build | 42.2.28-1.el9_4.1 | RHSA-2026:52929 |
| Red Hat Enterprise Linux | RHEL-9 | postgresql-jdbcsrc | Advisory build | 42.2.28-1.el9_6.1 | RHSA-2026:52930 |
| Red Hat Enterprise Linux | RHEL-9 | postgresql-jdbcsrc | Advisory build | 42.2.28-2.el9_8.2 | RHSA-2026:22304 |
| SUSE / openSUSE | SLE-15-SP5 | postgresql-jdbcnoarch | Advisory build | 42.2.25-150400.3.15.1 | SUSE-SU-2026:2028-1 |
| SUSE / openSUSE | SLE-15-SP6 | postgresql-jdbcnoarch | Advisory build | 42.2.25-150400.3.15.1 | SUSE-SU-2026:2028-1 |
| SUSE / openSUSE | SLE-15-SP7 | postgresql-jdbcnoarch | Advisory build | 42.2.25-150400.3.15.1 | SUSE-SU-2026:2028-1 |
| SUSE / openSUSE | SLE-16 | postgresql-jdbcnoarch | Advisory build | 42.7.7-160000.3.1 | SUSE-SU-2026:22000-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | postgresql-jdbcnoarch | Advisory build | 42.7.7-160000.3.1 | OPENSUSE-SU-2026:20847-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql-jdbcaarch64 | Advisory build | 42.7.11-1.1 | OPENSUSE-SU-2026:11001-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql-jdbcppc64le | Advisory build | 42.7.11-1.1 | OPENSUSE-SU-2026:11001-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql-jdbcs390x | Advisory build | 42.7.11-1.1 | OPENSUSE-SU-2026:11001-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql-jdbcx86_64 | Advisory build | 42.7.11-1.1 | OPENSUSE-SU-2026:11001-1 |
| AlmaLinux | 8 | postgresql-jdbc-javadoc | Advisory build | 42.2.14-4.el8_10 | ALSA-2026:25030 |
| Oracle Linux | 8 | postgresql-jdbc-javadocaarch64 | Advisory build | 0:42.2.14-4.el8_10 | ELSA-2026-25030 |
| Oracle Linux | 8 | postgresql-jdbc-javadocx86_64 | Advisory build | 0:42.2.14-4.el8_10 | ELSA-2026-25030 |
| Red Hat Enterprise Linux | RHEL-8 | postgresql-jdbc-javadocnoarch | Advisory build | 42.2.14-4.el8_10 | RHSA-2026:25030 |
| Red Hat Enterprise Linux | RHEL-8 | postgresql-jdbc-javadocnoarch | Advisory build | 42.2.14-5.el8_8.1 | RHSA-2026:52978 |
| Red Hat Enterprise Linux | RHEL-8 | postgresql-jdbc-javadocnoarch | Advisory build | 42.2.3-5.el8_6.1 | RHSA-2026:59277 |
| Red Hat Enterprise Linux | RHEL-8 | postgresql-jdbc-javadocnoarch | Advisory build | 42.2.3-7.el8_4.1 | RHSA-2026:59278 |
| SUSE / openSUSE | SLE-16 | postgresql-jdbc-javadocnoarch | Advisory build | 42.7.7-160000.3.1 | SUSE-SU-2026:22000-1 |
| SUSE / openSUSE | openSUSE-Leap-16.0 | postgresql-jdbc-javadocnoarch | Advisory build | 42.7.7-160000.3.1 | OPENSUSE-SU-2026:20847-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql-jdbc-javadocaarch64 | Advisory build | 42.7.11-1.1 | OPENSUSE-SU-2026:11001-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql-jdbc-javadocppc64le | Advisory build | 42.7.11-1.1 | OPENSUSE-SU-2026:11001-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql-jdbc-javadocs390x | Advisory build | 42.7.11-1.1 | OPENSUSE-SU-2026:11001-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | postgresql-jdbc-javadocx86_64 | Advisory build | 42.7.11-1.1 | OPENSUSE-SU-2026:11001-1 |
| Rocky Linux | 10 | postgresql-jdbcsrc | Listed in advisory | Not stated | RLSA-2026:24348 |
| Rocky Linux | 8 | postgresql-jdbcnoarch | Listed in advisory | Not stated | RLSA-2026:25030 |
| Rocky Linux | 8 | postgresql-jdbcsrc | Listed in advisory | Not stated | RLSA-2026:25030 |
| Rocky Linux | 9 | postgresql-jdbcnoarch | Listed in advisory | Not stated | RLSA-2026:22304 |
| Rocky Linux | 9 | postgresql-jdbcsrc | Listed in advisory | Not stated | RLSA-2026:22304 |
| Rocky Linux | 8 | postgresql-jdbc-javadocnoarch | Listed in advisory | Not stated | RLSA-2026:25030 |
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.
A flaw was found in pgjdbc, an open-source PostgreSQL JDBC Driver. A malicious server can exploit this vulnerability by instructing the driver to perform SCRAM-SHA-256 (Salted Challenge Response Authentication Mechanism Secure Hash Algorithm 256) authentication with an excessively large iteration count. This causes the client to spend an unbounded amount of CPU time performing PBKDF2 (Password-Based Key Derivation Function 2) computations, leading to a client-side Denial of Service (DoS). This can exhaust client CPU resources and wedge connection pools.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.5 | high | redhat-SADP · adp | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| pgjdbc | pgjdbc | >= 42.2.0, < 42.7.11 (affected) | GitHub_M · cna |
| Red Hat | Red Hat AMQ Broker 7.13.6 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat AMQ Broker 7.14.1 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat build of Quarkus 3.27.3.SP2 | Default: unaffected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 10 | 0:42.7.2-1.el10_2.2 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 10.0 Extended Update Support | 0:42.7.1-7.el10_0.1 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 8 | 0:42.2.14-4.el8_10 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | 0:42.2.3-7.el8_4.1 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On | 0:42.2.3-7.el8_4.1 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | 0:42.2.3-5.el8_6.1 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On | 0:42.2.3-5.el8_6.1 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 8.8 Telecommunications Update Service | 0:42.2.14-5.el8_8.1 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions | 0:42.2.14-5.el8_8.1 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 9 | 0:42.2.28-2.el9_8.2 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions | 0:42.2.28-1.el9_2.1 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions | 0:42.2.28-1.el9_4.1 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 9.6 Extended Update Support | 0:42.2.28-1.el9_6.1 and later (unaffected · rpm)Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 6 | Default: affected | redhat-SADP · adp |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unaffected | redhat-SADP · adp |
Weaknesses
2- CWE-770 CWE-770: Allocation of Resources Without Limits or Throttling
- CWE-770 Allocation of Resources Without Limits or Throttling
References
18- 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
- https://access.redhat.com/security/cve/CVE-2026-42198
- RHBZ#2463857 https://bugzilla.redhat.com/show_bug.cgi?id=2463857
- https://github.com/pgjdbc/pgjdbc/releases/tag/REL42.7.11
- https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-98qh-xjc8-98pq
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-42198.json
Provider assertions
3GitHub_M · cna
pgjdbc: Unbounded PBKDF2 iterations in SCRAM authentication allows CPU exhaustion DoS
redhat-SADP · adp
jdbc.postgresql.org: pgjdbc: Client-side Denial of Service via malicious SCRAM-SHA-256 authentication
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a10c05bec4b1677b97e2a1d2e54dc4df48bf5f93a0df67e83de71e94dcada5eb
- Ingested
- 23 Sep 2026, 09:14:00 UTC
- Source record
- Official CVE record