Medium severity · published Jun 11, 2025
CVE-2025-49146
pgjdbc is an open source postgresql JDBC Driver
5.9
CVSS
0.5%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 42% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
PJ
Postgresql Jdbc Driver · Postgresql
42.7.4 before 42.7.7 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-49146
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-49146
Patch
https://github.com/pgjdbc/pgjdbc/commit/9217ed16cb2918ab1b6b9258ae97e6ede244d8a0
Vendor Advisory
https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-hq9p-pm7w-8p54
More from Postgresql Jdbc Driver
9.8
CVE-2024-1597
pgjdbc, the PostgreSQL JDBC Driver, allows attacker to inject SQL if using PreferQueryMode=SIMPLE
9.8
CVE-2022-26520
In pgjdbc before 42.3.3, an attacker (who controls the jdbc URL or properties) can call java.util.logging.FileHandler to write to arbitrary files through the loggerFile and…
9.8
CVE-2022-21724
pgjdbc is the offical PostgreSQL JDBC Driver
8.1
CVE-2018-10936
A weakness was found in postgresql-jdbc before version 42.2.5
8.0
CVE-2022-31197
SQL Injection in ResultSet.refreshRow() with malicious column names in pgjdbc
