← VULNERABILITIES

CVE-2026-134845

pgjdbc does not enforce TLS for some ssl, service and DataSource settings

High · 7.4Fix available
CVSS
7.4
EPSS
0.31% (p16)
Published
2026-11-23
Age
6d old
Modified
2026-11-28
Product
pgjdbc pgjdbc
Aliases
GHSA-3mrw-838h-x9j9

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Description

pgjdbc, the PostgreSQL JDBC Driver, does not enforce TLS for some settings that ask for it. When sslmode is not set, an ssl value such as 1, on, yes or verify-full gives sslmode=prefer, or no TLS before 42.2.5. A service given in the Properties instead of the URL is ignored, so the sslmode of its pg_service.conf entry is lost. BaseDataSource.setUrl() keeps an sslmode, channelBinding or gssEncMode that was set before it. An attacker on the network path can then read and change the traffic. Versions 9.4.1208 through 42.7.14 are affected, and 42.7.15 fixes the problem.

Fixed in

42.7.15

Affected packages

EcosystemPackageRangeFixed
unknownorg.postgresql:postgresql>=9.4.1208, <42.7.1542.7.15

Sources

  • NVD · first seen 6d ago · NVD terms of use
  • OSV · first seen 6d ago · CC-BY 4.0
  • CVE List · first seen 6d ago · CVE Terms of Use

References

JSON