CVE-2026-42198

Source
https://cve.org/CVERecord?id=CVE-2026-42198
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-42198.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-42198
Aliases
Downstream
Related
Published
2026-04-29T15:58:49.174Z
Modified
2026-05-18T06:00:10.466381417Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
pgjdbc: Unbounded PBKDF2 iterations in SCRAM authentication allows CPU exhaustion DoS
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42198.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-770"
    ]
}
References

Affected packages

Git / github.com/pgjdbc/pgjdbc

Affected ranges

Type
GIT
Repo
https://github.com/pgjdbc/pgjdbc
Events

Affected versions

REL42.*
REL42.2.0
REL42.2.1
REL42.2.10
REL42.2.11
REL42.2.12
REL42.2.13
REL42.2.14
REL42.2.14-rc1
REL42.2.15
REL42.2.15-rc1
REL42.2.15-rc2
REL42.2.16
REL42.2.16-rc2
REL42.2.2
REL42.2.3
REL42.2.4
REL42.2.5
REL42.2.6
REL42.2.7
REL42.2.8
REL42.2.9
REL42.3.0
REL42.3.0-rc1
REL42.3.0-rc2
REL42.3.1
REL42.3.1-rc1
REL42.3.1-rc2
REL42.3.2
REL42.3.2-rc2
REL42.3.3
REL42.3.3-rc1
REL42.3.4
REL42.3.4-rc1
REL42.3.5
REL42.3.5-rc1
REL42.3.6
REL42.3.6-rc1
REL42.4.0
REL42.4.0-rc1
REL42.4.1
REL42.4.1-rc1
REL42.4.2
REL42.4.2-rc1
REL42.5.0
REL42.5.0-rc1
REL42.5.1
REL42.5.1-rc1
REL42.5.2
REL42.5.2-rc1
REL42.5.2-rc2
REL42.6.0
REL42.6.0-rc1
REL42.7.0
REL42.7.0-rc3
REL42.7.1
REL42.7.1-rc1
REL42.7.1-rc2
REL42.7.10
REL42.7.2
REL42.7.2-rc1
REL42.7.2-rc2
REL42.7.2-rc3
REL42.7.2-rc4
REL42.7.2-rc5
REL42.7.3
REL42.7.3-rc1
REL42.7.4
REL42.7.4-rc1
REL42.7.5
REL42.7.5-rc1
REL42.7.6
REL42.7.6-rc1
REL42.7.7
REL42.7.7-rc1
REL42.7.8
REL42.7.9

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-42198.json"