CVE-2026-134845

high
EUVD alias: EUVD-2026-133250
Assigned by CNA: postgresql
Published 2026-11-23 · Modified 2026-11-24
CVSS v3
7.4
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
CVSS v4 NEW
—
not yet in upstream
VIR risk
7.4

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.

Predictions

Exploit likelihood
82%
Patch ETA
—

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

Mitigation details

Source: Debian Security Tracker · View original ↗ · DFSG

CVE-2026-134845 NameCVE-2026-134845 Descriptionpgjdbc, 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()…

CVE-2026-134845

NameCVE-2026-134845
Descriptionpgjdbc, 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libpgjava (PTS)bookworm42.5.5-0+deb12u1vulnerable
trixie42.7.7-1vulnerable
forky, sid42.7.15-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libpgjavasource(unstable)42.7.15-1

Notes

https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-3mrw-838h-x9j9

Home - Debian Security - Source (Git)

Apply commands

text fix
Notes
https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-3mrw-838h-x9j9

OS impact

debian Debian Mixed 4 releases
VersionPackageStatusFixed in
trixie libpgjava Affected —
sid libpgjava Fixed 42.7.15-1
forky libpgjava Fixed 42.7.15-1
bookworm libpgjava Affected —
suse SUSE Tracked 1 release
VersionPackageStatusFixed in
— — Unknown —

Application impact

VendorProductVersionsFixed
pgjdbcpgjdbc{"startIncluding":"9.4.1208","endExcluding":"42.7.15"}42.7.15

References

CWEs

CWE-295 CWE-319

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.