CVE-2025-49146 pgjdbc Client Allows Fallback to Insecure Authentication Despite channelBinding=require Configuration
- 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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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
| Product | Affected versions | Fixed 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
- https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-hq9p-pm7w-8p54 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/pgjdbc/pgjdbc/commit/9217ed16cb2918ab1b6b9258ae97e6ede244d8a0 patch
- datatracker.ietf.org
- datatracker.ietf.org
- github.com product
- www.postgresql.org
- Debian Security Tracker CVE-2025-49146 vendor-advisory
- github.com
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking