Skip to content

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

MediumCVSS 5.9 EPSS 0.49%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

10 packages: 5 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/libpgjava(Ubuntu 22.04) All versions No fix listed No fix yet
ubuntu/libpgjava(Ubuntu 24.04) All versions No fix listed No fix yet
ubuntu/libpgjava(Ubuntu 26.04) All versions No fix listed No fix yet
ubuntu/libpgjava(Ubuntu 26.10) All versions No fix listed No fix yet
alpine/java-postgresql-jdbc(Alpine v3.24) < 42.7.9-r0 42.7.9-r0 Fixed
debian/libpgjava(Debian 13) < 42.7.7-1 42.7.7-1 Fixed
debian/libpgjava(Debian 14) < 42.7.7-1 42.7.7-1 Fixed
org.postgresql/postgresql(Maven) = 42.7.4; = 42.7.5; = 42.7.6; >= 42.7.4, < 42.7.7 42.7.7 Fixed
postgresql jdbc driver >= 42.7.4, < 42.7.7 42.7.7 Fixed
pgjdbc = >= 42.7.4, < 42.7.7 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
org.postgresql/postgresql(Maven) >= 42.7.4, < 42.7.7 42.7.7
org.postgresql/postgresql(Maven) = 42.7.4 No fix listed
org.postgresql/postgresql(Maven) = 42.7.5 No fix listed
org.postgresql/postgresql(Maven) = 42.7.6 No fix listed
debian/libpgjava(Debian:13) < 42.7.7-1 42.7.7-1
debian/libpgjava(Debian:14) < 42.7.7-1 42.7.7-1
pgjdbc = >= 42.7.4, < 42.7.7 No fix listed
ubuntu/libpgjava(Ubuntu:22.04) All versions No fix listed
alpine/java-postgresql-jdbc(Alpine:v3.24) < 42.7.9-r0 42.7.9-r0
ubuntu/libpgjava(Ubuntu:24.04) All versions No fix listed
ubuntu/libpgjava(Ubuntu:26.04) All versions No fix listed
postgresql jdbc driver >= 42.7.4, < 42.7.7 42.7.7
ubuntu/libpgjava(Ubuntu:26.10) All versions No fix listed

References