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.
How to fix
- postgresql postgresql_jdbc_driver42.7.7 or later
- org.postgresql:postgresql42.7.7 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| postgresql postgresql_jdbc_driver | 42.7.4 ≤ v < 42.7.7 | 42.7.7 |
| org.postgresql:postgresqlMaven | 42.7.4 ≤ v < 42.7.7 | 42.7.7 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.