Skip to main content
VulnerabilityPublished Updated

CVE-2026-42198: Libpgjava · pgjdbc is an open source postgresql JDBC Driver

Affects libpgjavaSource GCVE Database

0
Compare

Not known to be exploited · CVSS 7.5 High · fixed in 42.7.11 : patch libpgjava soon.

Data as of 5 Nov 2026, 00:01 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
3.2% chance of exploitation in 30 days – higher than 88% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 42.7.11
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 Apr 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10libpgjavapkg:deb/ubuntu/libpgjava?arch=source&distro=stonkingOther threatsAffected
  • 42.7.10-1 – 42.7.13-1
4 affected builds
Fixed in–
Ubuntu 26.04 LTSlibpgjavapkg:deb/ubuntu/libpgjava?arch=source&distro=resoluteOther threatsAffected
  • 42.7.7-1 – 42.7.10-1
5 affected builds
Fixed in–
Ubuntu 25.10libpgjavapkg:deb/ubuntu/libpgjava?arch=source&distro=questingOther threatsAffected
  • =42.7.5-1
  • =42.7.5-2
  • =42.7.7-1
Fixed in–
Ubuntu 24.04 LTSlibpgjavapkg:deb/ubuntu/libpgjava?arch=source&distro=nobleOther threatsAffected
  • 42.5.4-1 – 42.7.2-1
5 affected builds
Fixed in–
Ubuntu 22.04 LTSlibpgjavapkg:deb/ubuntu/libpgjava?arch=source&distro=jammyOther threatsAffected
  • 42.2.23-1 – 42.3.3-1
5 affected builds
Fixed in–
Ubuntu Pro 20.04 LTSlibpgjavapkg:deb/ubuntu/libpgjava?arch=source&distro=esm-apps/focalOther threatsAffected
  • 42.2.6-1 – 42.2.10-1ubuntu0.1~esm1
5 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade pgjdbc to version 42.7.11 or later, where this vulnerability is fixed. The loginTimeout setting does not fully mitigate the issue, so patching is required to prevent CPU exhaustion during SCRAM-SHA-256 authentication.

Description

pgjdbc, the open source PostgreSQL JDBC driver, has a client-side denial of service vulnerability in versions from 42.2.0 up to but not including 42.7.11. A malicious server can cause the client to perform SCRAM-SHA-256 authentication with an excessively large iteration count, causing the client to consume unbounded CPU time during PBKDF2 computation. This can exhaust client CPU resources and block connection pools. The loginTimeout setting does not fully mitigate this issue as the worker thread continues CPU-intensive processing even after timeout. The vulnerability is fixed in version 42.7.11.

References

Community reviews

Loading reviews…