CVE-2026-134845: Libpgjava · pgjdbc, the PostgreSQL JDBC Driver, does not enforce TLS for some settings that ask for it
Affects libpgjavaSource GCVE Database
Not known to be exploited · CVSS 7.4 High · fixed in 42.7.15 : patch libpgjava soon.
Data as of 25 Nov 2026, 22:50 UTC
Thin evidence
One scorer or none| CNA (PostgreSQL) | CVSS 3.1 | 7.4 |
|---|
- Patch
- Available – fixed in 42.7.15
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 23 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 25 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10libpgjavapkg:deb/ubuntu/libpgjava?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSlibpgjavapkg:deb/ubuntu/libpgjava?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSlibpgjavapkg:deb/ubuntu/libpgjava?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSlibpgjavapkg:deb/ubuntu/libpgjava?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu Pro 20.04 LTSlibpgjavapkg:deb/ubuntu/libpgjava?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in– |
Ubuntu Pro 18.04 LTSlibpgjavapkg:deb/ubuntu/libpgjava?arch=source&distro=esm-apps/bionicOther threats | Affected
| 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 to pgjdbc version 42.7.15 or later, where the TLS enforcement issues have been fixed. Until the upgrade is applied, avoid configurations that rely on implicit sslmode settings or specify services in Properties instead of the URL. There is no indication that other mitigations or workarounds fully address this issue.
Description
The PostgreSQL JDBC Driver (pgjdbc) versions 9.4.1208 through 42.7.14 do not properly enforce TLS encryption for certain configurations that request it. Specifically, when sslmode is not explicitly set, values such as 1, on, yes, or verify-full are interpreted as sslmode=prefer, which does not guarantee TLS usage before version 42.2.5. Additionally, if a service is specified in the Properties rather than the URL, the sslmode setting from the pg_service.conf file is ignored. The BaseDataSource.setUrl() method can retain previous sslmode, channelBinding, or gssEncMode settings, potentially allowing an attacker on the network path to intercept and modify traffic. Version 42.7.15 addresses these issues with a fix.