High severityNVD Advisory· Published Jun 11, 2025· Updated Jun 11, 2025
pgjdbc Client Allows Fallback to Insecure Authentication Despite channelBinding=require Configuration
CVE-2025-49146
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
org.postgresql:postgresqlMaven | >= 42.7.4, < 42.7.7 | 42.7.7 |
Affected products
34- osv-coords33 versionspkg:apk/chainguard/apicurio-registrypkg:apk/chainguard/apicurio-registry-nginx-configpkg:apk/chainguard/apicurio-registry-uipkg:apk/chainguard/camunda-zeebe-8.6pkg:apk/chainguard/camunda-zeebe-8.6-compatpkg:apk/chainguard/keycloakpkg:apk/chainguard/keycloak-bitnami-compatpkg:apk/chainguard/keycloak-bitnami-fipspkg:apk/chainguard/keycloak-compatpkg:apk/chainguard/keycloak-fipspkg:apk/chainguard/keycloak-fips-bitnami-compatpkg:apk/chainguard/keycloak-fips-policy-140-2pkg:apk/chainguard/keycloak-fips-policy-140-3pkg:apk/chainguard/keycloak-iamguarded-compatpkg:apk/chainguard/keycloak-iamguarded-fipspkg:apk/chainguard/liquibasepkg:apk/chainguard/sonarqube-10pkg:apk/chainguard/sonarqube-10-docker-compatpkg:apk/chainguard/sonarqube-10-scriptspkg:apk/wolfi/apicurio-registrypkg:apk/wolfi/apicurio-registry-nginx-configpkg:apk/wolfi/apicurio-registry-uipkg:apk/wolfi/keycloakpkg:apk/wolfi/keycloak-bitnami-compatpkg:apk/wolfi/keycloak-compatpkg:apk/wolfi/keycloak-iamguarded-compatpkg:apk/wolfi/liquibasepkg:apk/wolfi/sonarqube-10pkg:apk/wolfi/sonarqube-10-docker-compatpkg:apk/wolfi/sonarqube-10-scriptspkg:bitnami/postgresql-jdbc-driverpkg:maven/org.postgresql/postgresqlpkg:rpm/opensuse/postgresql-jdbc&distro=openSUSE%20Tumbleweed
< 3.0.9-r2+ 32 more
- (no CPE)range: < 3.0.9-r2
- (no CPE)range: < 3.0.9-r2
- (no CPE)range: < 3.0.9-r2
- (no CPE)range: < 8.6.18-r1
- (no CPE)range: < 8.6.18-r1
- (no CPE)range: < 26.2.5-r2
- (no CPE)range: < 26.2.5-r2
- (no CPE)range: < 26.2.5-r3
- (no CPE)range: < 26.2.5-r2
- (no CPE)range: < 26.2.5-r3
- (no CPE)range: < 26.2.5-r3
- (no CPE)range: < 26.2.5-r3
- (no CPE)range: < 26.2.5-r3
- (no CPE)range: < 26.2.5-r2
- (no CPE)range: < 26.2.5-r3
- (no CPE)range: < 4.32.0-r3
- (no CPE)range: < 25.5.0.107428-r2
- (no CPE)range: < 25.5.0.107428-r2
- (no CPE)range: < 25.5.0.107428-r2
- (no CPE)range: < 3.0.9-r2
- (no CPE)range: < 3.0.9-r2
- (no CPE)range: < 3.0.9-r2
- (no CPE)range: < 26.2.5-r2
- (no CPE)range: < 26.2.5-r2
- (no CPE)range: < 26.2.5-r2
- (no CPE)range: < 26.2.5-r2
- (no CPE)range: < 4.32.0-r3
- (no CPE)range: < 25.5.0.107428-r2
- (no CPE)range: < 25.5.0.107428-r2
- (no CPE)range: < 25.5.0.107428-r2
- (no CPE)range: >= 42.7.4, < 42.7.7
- (no CPE)range: >= 42.7.4, < 42.7.7
- (no CPE)range: < 42.7.7-1.1
Patches
Vulnerability mechanics
References
7- github.com/advisories/GHSA-hq9p-pm7w-8p54ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-49146ghsaADVISORY
- datatracker.ietf.org/doc/html/rfc5802ghsaWEB
- datatracker.ietf.org/doc/html/rfc7677ghsaWEB
- github.com/pgjdbc/pgjdbc/commit/9217ed16cb2918ab1b6b9258ae97e6ede244d8a0ghsax_refsource_MISCWEB
- github.com/pgjdbc/pgjdbc/security/advisories/GHSA-hq9p-pm7w-8p54ghsax_refsource_CONFIRMWEB
- www.postgresql.org/docs/current/sasl-authentication.htmlghsaWEB
News mentions
0No linked articles in our index yet.