CVE catalog

CVE-2026-134845

libpgjava affected and fixed versions

[CVE catalog]

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.4CVSS: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 / releasePackageVersionStatusSource
Debiansidlibpgjava42.7.15-1FixedDistribution-reported fixed boundary[CVE-2026-134845]
Debianforkylibpgjava42.7.15-1FixedDistribution-reported fixed boundary[CVE-2026-134845]
More observations (25)
Distribution / releasePackageVersionStatusSource
DebianbookwormlibpgjavaNot reportedAffectedDistribution reports no fix[CVE-2026-134845]
Debianbookwormlibpgjava42.5.5-0+deb12u1Affected[CVE-2026-134845]
DebiantrixielibpgjavaNot reportedAffectedDistribution reports no fix[CVE-2026-134845]
Debiantrixielibpgjava42.7.7-1Affected[CVE-2026-134845]
Opensusetumbleweedpostgresql-jdbc42.7.15-1.1UnknownSource applicability is not established[OPENSUSE-SU-2026:12715-1]
Ubuntu24.04libpgjava42.5.4-1Affected[UBUNTU-CVE-2026-134845]
Ubuntu24.04libpgjava42.6.0-2Affected[UBUNTU-CVE-2026-134845]
Ubuntu24.04libpgjava42.7.0-1Affected[UBUNTU-CVE-2026-134845]
Ubuntu24.04libpgjava42.7.1-1Affected[UBUNTU-CVE-2026-134845]
Ubuntu24.04libpgjava42.7.2-1Affected[UBUNTU-CVE-2026-134845]
Ubuntu26.04libpgjava42.7.10-1Affected[UBUNTU-CVE-2026-134845]
Ubuntu26.04libpgjava42.7.7-1Affected[UBUNTU-CVE-2026-134845]
Ubuntu26.04libpgjava42.7.8-1Affected[UBUNTU-CVE-2026-134845]
Ubuntu26.04libpgjava42.7.8-2Affected[UBUNTU-CVE-2026-134845]
Ubuntu26.04libpgjava42.7.9-1Affected[UBUNTU-CVE-2026-134845]
Ubuntu26.10libpgjava42.7.10-1Affected[UBUNTU-CVE-2026-134845]
Ubuntu26.10libpgjava42.7.11-1Affected[UBUNTU-CVE-2026-134845]
Ubuntu26.10libpgjava42.7.12-1Affected[UBUNTU-CVE-2026-134845]
Ubuntu26.10libpgjava42.7.13-1Affected[UBUNTU-CVE-2026-134845]
Ubuntuprolibpgjava42.2.23-1Affected[UBUNTU-CVE-2026-134845]
Ubuntuprolibpgjava42.2.24-1Affected[UBUNTU-CVE-2026-134845]
Ubuntuprolibpgjava42.3.1-1Affected[UBUNTU-CVE-2026-134845]
Ubuntuprolibpgjava42.3.2-1Affected[UBUNTU-CVE-2026-134845]
Ubuntuprolibpgjava42.3.3-1Affected[UBUNTU-CVE-2026-134845]
Ubuntuprolibpgjava42.3.3-1ubuntu0.1~esm1Affected[UBUNTU-CVE-2026-134845]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [libpgjava]

    Details (2)
    • 42.5.5-0+deb12u1 · all · bookworm

      Affected

      dsa · libpgjava · debian · bookworm; pypi · libpgjava · debian · 12

    • 42.5.5-0+deb12u1 · all · bookworm

      Affected

      dsa · libpgjava · debian · bookworm; pypi · libpgjava · debian · 12

  • Source package: [libpgjava]

    Details (2)
    • 42.5.5-0+deb12u1 · all · bookworm

      Affected

      dsa · libpgjava · debian · bookworm; pypi · libpgjava · debian · 12

    • 42.5.5-0+deb12u1 · all · bookworm

      Affected

      dsa · libpgjava · debian · bookworm; pypi · libpgjava · debian · 12

[Debian 13 (Trixie)]

  • Source package: [libpgjava]

    Details (2)
    • 42.7.7-1 · all · trixie

      Affected

      pypi · libpgjava · debian · 13

    • 42.7.7-1 · all · trixie

      Affected

      pypi · libpgjava · debian · 13

[openSUSE Leap 15.6]

  • Source package: [postgresql-jdbc]

    Details (1)
    • 42.2.25-150400.3.12.1 · noarch · leap-15.6

      Unknown · Fixed: 42.7.15-1.1

      Version impact unknown

      pypi · postgresql-jdbc · opensuse · tumbleweed

  • Source package: [postgresql-jdbc]

    Details (1)
    • 42.2.25-150400.3.12.1 · noarch · leap-15.6

      Unknown · Fixed: 42.7.15-1.1

      Version impact unknown

      pypi · postgresql-jdbc · opensuse · tumbleweed

[openSUSE Leap 16.0]

  • Source package: [postgresql-jdbc]

    Details (2)
    • 42.7.7-160000.2.2 · noarch · leap-16.0

      Unknown · Fixed: 42.7.15-1.1

      Version impact unknown

      pypi · postgresql-jdbc · opensuse · tumbleweed

    • 42.7.7-160000.3.1 · noarch · leap-16.0

      Unknown · Fixed: 42.7.15-1.1

      Version impact unknown

      pypi · postgresql-jdbc · opensuse · tumbleweed

  • Source package: [postgresql-jdbc]

    Details (2)
    • 42.7.7-160000.2.2 · noarch · leap-16.0

      Unknown · Fixed: 42.7.15-1.1

      Version impact unknown

      pypi · postgresql-jdbc · opensuse · tumbleweed

    • 42.7.7-160000.3.1 · noarch · leap-16.0

      Unknown · Fixed: 42.7.15-1.1

      Version impact unknown

      pypi · postgresql-jdbc · opensuse · tumbleweed

[openSUSE Tumbleweed]

  • Source package: [postgresql-jdbc]

    Details (1)
    • 42.7.11-1.3 · noarch · tumbleweed

      Unknown · Fixed: 42.7.15-1.1

      Version impact unknown

      pypi · postgresql-jdbc · opensuse · tumbleweed

  • Source package: [postgresql-jdbc]

    Details (1)
    • 42.7.11-1.3 · noarch · tumbleweed

      Unknown · Fixed: 42.7.15-1.1

      Version impact unknown

      pypi · postgresql-jdbc · opensuse · tumbleweed

Observed:

References