
CVE catalog
CVE-2026-134845
libpgjava affected and fixed versions
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.
- Severity
- High · CVSS 7.4
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.31% · Dec 4, 2026
Projects and upstream resources
Reported versions and fixes
Each observation applies to its named package, distribution, and release. Distribution backports can fix a vulnerability while retaining an older upstream version number.
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debiansid | libpgjava | 42.7.15-1 | FixedDistribution-reported fixed boundary | [CVE-2026-134845] |
| Debianforky | libpgjava | 42.7.15-1 | FixedDistribution-reported fixed boundary | [CVE-2026-134845] |
More observations (25)
| Distribution / release | Package | Version | Status | Source |
|---|---|---|---|---|
| Debianbookworm | libpgjava | Not reported | AffectedDistribution reports no fix | [CVE-2026-134845] |
| Debianbookworm | libpgjava | 42.5.5-0+deb12u1 | Affected | [CVE-2026-134845] |
| Debiantrixie | libpgjava | Not reported | AffectedDistribution reports no fix | [CVE-2026-134845] |
| Debiantrixie | libpgjava | 42.7.7-1 | Affected | [CVE-2026-134845] |
| Opensusetumbleweed | postgresql-jdbc | 42.7.15-1.1 | UnknownSource applicability is not established | [OPENSUSE-SU-2026:12715-1] |
| Ubuntu24.04 | libpgjava | 42.5.4-1 | Affected | [UBUNTU-CVE-2026-134845] |
| Ubuntu24.04 | libpgjava | 42.6.0-2 | Affected | [UBUNTU-CVE-2026-134845] |
| Ubuntu24.04 | libpgjava | 42.7.0-1 | Affected | [UBUNTU-CVE-2026-134845] |
| Ubuntu24.04 | libpgjava | 42.7.1-1 | Affected | [UBUNTU-CVE-2026-134845] |
| Ubuntu24.04 | libpgjava | 42.7.2-1 | Affected | [UBUNTU-CVE-2026-134845] |
| Ubuntu26.04 | libpgjava | 42.7.10-1 | Affected | [UBUNTU-CVE-2026-134845] |
| Ubuntu26.04 | libpgjava | 42.7.7-1 | Affected | [UBUNTU-CVE-2026-134845] |
| Ubuntu26.04 | libpgjava | 42.7.8-1 | Affected | [UBUNTU-CVE-2026-134845] |
| Ubuntu26.04 | libpgjava | 42.7.8-2 | Affected | [UBUNTU-CVE-2026-134845] |
| Ubuntu26.04 | libpgjava | 42.7.9-1 | Affected | [UBUNTU-CVE-2026-134845] |
| Ubuntu26.10 | libpgjava | 42.7.10-1 | Affected | [UBUNTU-CVE-2026-134845] |
| Ubuntu26.10 | libpgjava | 42.7.11-1 | Affected | [UBUNTU-CVE-2026-134845] |
| Ubuntu26.10 | libpgjava | 42.7.12-1 | Affected | [UBUNTU-CVE-2026-134845] |
| Ubuntu26.10 | libpgjava | 42.7.13-1 | Affected | [UBUNTU-CVE-2026-134845] |
| Ubuntupro | libpgjava | 42.2.23-1 | Affected | [UBUNTU-CVE-2026-134845] |
| Ubuntupro | libpgjava | 42.2.24-1 | Affected | [UBUNTU-CVE-2026-134845] |
| Ubuntupro | libpgjava | 42.3.1-1 | Affected | [UBUNTU-CVE-2026-134845] |
| Ubuntupro | libpgjava | 42.3.2-1 | Affected | [UBUNTU-CVE-2026-134845] |
| Ubuntupro | libpgjava | 42.3.3-1 | Affected | [UBUNTU-CVE-2026-134845] |
| Ubuntupro | libpgjava | 42.3.3-1ubuntu0.1~esm1 | Affected | [UBUNTU-CVE-2026-134845] |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libpostgresql-jdbc-java]Affected
Source package: [libpgjava]
Details (2)
42.5.5-0+deb12u1· all · bookwormAffected
dsa · libpgjava · debian · bookworm; pypi · libpgjava · debian · 12
42.5.5-0+deb12u1· all · bookwormAffected
dsa · libpgjava · debian · bookworm; pypi · libpgjava · debian · 12
- [libpostgresql-jdbc-java-doc]Affected
Source package: [libpgjava]
Details (2)
42.5.5-0+deb12u1· all · bookwormAffected
dsa · libpgjava · debian · bookworm; pypi · libpgjava · debian · 12
42.5.5-0+deb12u1· all · bookwormAffected
dsa · libpgjava · debian · bookworm; pypi · libpgjava · debian · 12
[Debian 13 (Trixie)]
- [libpostgresql-jdbc-java]Affected
Source package: [libpgjava]
Details (2)
42.7.7-1· all · trixieAffected
pypi · libpgjava · debian · 13
42.7.7-1· all · trixieAffected
pypi · libpgjava · debian · 13
[openSUSE Leap 15.6]
- [postgresql-jdbc]Unknown
Source package: [postgresql-jdbc]
Details (1)
42.2.25-150400.3.12.1· noarch · leap-15.6Unknown · Fixed:
42.7.15-1.1Version impact unknown
pypi · postgresql-jdbc · opensuse · tumbleweed
- [postgresql-jdbc-javadoc]Unknown
Source package: [postgresql-jdbc]
Details (1)
42.2.25-150400.3.12.1· noarch · leap-15.6Unknown · Fixed:
42.7.15-1.1Version impact unknown
pypi · postgresql-jdbc · opensuse · tumbleweed
[openSUSE Leap 16.0]
- [postgresql-jdbc]Unknown
Source package: [postgresql-jdbc]
Details (2)
42.7.7-160000.2.2· noarch · leap-16.0Unknown · Fixed:
42.7.15-1.1Version impact unknown
pypi · postgresql-jdbc · opensuse · tumbleweed
42.7.7-160000.3.1· noarch · leap-16.0Unknown · Fixed:
42.7.15-1.1Version impact unknown
pypi · postgresql-jdbc · opensuse · tumbleweed
- [postgresql-jdbc-javadoc]Unknown
Source package: [postgresql-jdbc]
Details (2)
42.7.7-160000.2.2· noarch · leap-16.0Unknown · Fixed:
42.7.15-1.1Version impact unknown
pypi · postgresql-jdbc · opensuse · tumbleweed
42.7.7-160000.3.1· noarch · leap-16.0Unknown · Fixed:
42.7.15-1.1Version impact unknown
pypi · postgresql-jdbc · opensuse · tumbleweed
[openSUSE Tumbleweed]
- [postgresql-jdbc]Unknown
Source package: [postgresql-jdbc]
Details (1)
42.7.11-1.3· noarch · tumbleweedUnknown · Fixed:
42.7.15-1.1Version impact unknown
pypi · postgresql-jdbc · opensuse · tumbleweed
- [postgresql-jdbc-javadoc]Unknown
Source package: [postgresql-jdbc]
Details (1)
42.7.11-1.3· noarch · tumbleweedUnknown · Fixed:
42.7.15-1.1Version impact unknown
pypi · postgresql-jdbc · opensuse · tumbleweed
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-134845.json]
- [https://ftp.suse.com/pub/projects/security/csaf/2026/opensuse-su-2026_12715-1.json]
- [https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-3mrw-838h-x9j9]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-134845]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-134845]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2026-134845]
- [https://osv.dev/vulnerability/openSUSE-SU-2026:12715-1]
- [https://security-tracker.debian.org/tracker/CVE-2026-134845]
[Debian Security Tracker] · [FIRST EPSS] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]