CVEfocus › CVE database › CVE-2025-49146

CVE-2025-49146pgjdbc Client Allows Fallback to Insecure Authentication Despite channelBinding=require…

CVSS 8.2 HighEPSS 0.5% (higher than 37% of CVEs)Published 2025-06-11Updated 2025-06-11Assigner: GitHub_M

pgjdbc is an open source postgresql JDBC Driver. From 42.7.4 and until 42.7.7, when the PostgreSQL JDBC driver is configured with channel binding set to required (default value is prefer), the driver would incorrectly allow connections to proceed with authentication methods that do not support channel binding (such as password, MD5, GSS, or SSPI authentication). This could allow a man-in-the-middle attacker to intercept connections that users believed were protected by channel binding requirements. This vulnerability is fixed in 42.7.7.

CWE-287

What to do

Fixed builds are available from Alpine, Debian, Maven: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
5Fix pending
3Under investigation
1Will not fix
18Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10libpgjavaFix pendingUBUNTU-CVE-2025-49146
Ubuntu 26.04libpgjavaUnder investigationUBUNTU-CVE-2025-49146
Ubuntu 25.10libpgjavaWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2025-49146
Ubuntu 24.04libpgjavaUnder investigationUBUNTU-CVE-2025-49146
Ubuntu 22.04libpgjavaUnder investigationUBUNTU-CVE-2025-49146
Ubuntu 20.04libpgjavaFix pendingUBUNTU-CVE-2025-49146
Ubuntu 18.04libpgjavaFix pendingUBUNTU-CVE-2025-49146
Ubuntu 16.04libpgjavaFix pendingUBUNTU-CVE-2025-49146
Ubuntu 14.04libpgjavaFix pendingUBUNTU-CVE-2025-49146
Debian 14libpgjavaFixed42.7.7-1DEBIAN-CVE-2025-49146
Debian 13libpgjavaFixed42.7.7-1DEBIAN-CVE-2025-49146
Red Hat Enterprise Linux 8JudyNot affected
Red Hat Enterprise Linux 8galeraNot affected
Red Hat Enterprise Linux 8mariadbNot affected
Red Hat Enterprise Linux 8mariadb-backupNot affected
Red Hat Enterprise Linux 8mariadb-commonNot affected
Red Hat Enterprise Linux 8mariadb-develNot affected
Red Hat Enterprise Linux 8mariadb-embeddedNot affected
Red Hat Enterprise Linux 8mariadb-embedded-develNot affected
Red Hat Enterprise Linux 8mariadb-errmsgNot affected
Red Hat Enterprise Linux 8mariadb-gssapi-serverNot affected
Red Hat Enterprise Linux 8mariadb-oqgraph-engineNot affected
Red Hat Enterprise Linux 8mariadb-pamNot affected
Red Hat Enterprise Linux 8mariadb-serverNot affected
Red Hat Enterprise Linux 8mariadb-server-galeraNot affected
Red Hat Enterprise Linux 8mariadb-server-utilsNot affected
Red Hat Enterprise Linux 8mariadb-testNot affected
Red Hat Enterprise Linux 8maven-assembly-pluginNot affected
Red Hat Enterprise Linux 8maven-assembly-plugin-javadocNot affected
Alpine Linux 3.24java-postgresql-jdbcFixed42.7.9-r0ALPINE-CVE-2025-49146
Maven libraryorg.postgresql:postgresqlFixed42.7.7GHSA-hq9p-pm7w-8p54

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.