Every CVE Search/ Get API key

CVE-2025-49146

pgjdbc Client Allows Fallback to Insecure Authentication Despite channelBinding=require Configuration

8.2 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
Low
Availability
None

Exploit likelihood

0.49%Up 0.5 points since Jun 12, 2025
90%50%10%1%

What each source reports

CVE List Score used 8.2

pgjdbc Client Allows Fallback to Insecure Authentication Despite channelBinding=require Configuration

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.

Record
CVE-2025-49146
CVSS 3.1
8.2 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Weakness
CWE-287
Updated
2026-11-02
EUVDEUVD-2025-18118 8.2

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.

Record
EUVD-2025-18118
CVSS 3.1
8.2 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Updated
2026-11-02
GitHub AdvisoriesGHSA-hq9p-pm7w-8p54 8.2

pgjdbc Client Allows Fallback to Insecure Authentication Despite channelBinding=require Configuration

Impact

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.

Patches

TBD

Workarounds

Configure sslMode=verify-full to prevent MITM attacks.

References

Record
GHSA-hq9p-pm7w-8p54
CVSS 3.1
8.2 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Weakness
CWE-287
Updated
2026-11-02
NVD 8.2

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.

Record
CVE-2025-49146
CVSS 3.1
8.2 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness
CWE-287
Updated
2026-11-02
OSVALPINE-CVE-2025-49146 5.9

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.

Record
ALPINE-CVE-2025-49146
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-03
OSV 8.2

pgjdbc Client Allows Fallback to Insecure Authentication Despite channelBinding=require Configuration

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.

Record
CVE-2025-49146
CVSS 3.1
8.2 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Weakness
CWE-287
Updated
2026-11-02
Show 6 moreShow less
OSVDEBIAN-CVE-2025-49146 5.9

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.

Record
DEBIAN-CVE-2025-49146
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVGHSA-hq9p-pm7w-8p54 8.2

pgjdbc Client Allows Fallback to Insecure Authentication Despite channelBinding=require Configuration

Impact

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.

Patches

TBD

Workarounds

Configure sslMode=verify-full to prevent MITM attacks.

References

Record
GHSA-hq9p-pm7w-8p54
CVSS 3.1
8.2 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Weakness
CWE-287
Updated
2026-11-02
OSVUBUNTU-CVE-2025-49146 8.2

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.

Record
UBUNTU-CVE-2025-49146
CVSS 3.1
8.2 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
CVSS 3.1
5.9 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Updated
2026-11-02
OSVBIT-postgresql-jdbc-driver-2025-49146 No score

pgjdbc Client Allows Fallback to Insecure Authentication Despite channelBinding=require Configuration

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.

Record
BIT-postgresql-jdbc-driver-2025-49146
Updated
2026-11-02
OSVopenSUSE-SU-2025:15264-1 No score

postgresql-jdbc-42.7.7-1.1 on GA media

These are all security issues fixed in the postgresql-jdbc-42.7.7-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2025:15264-1
Updated
2026-11-02
OSVROOT-APP-MAVEN-CVE-2025-49146 No score

CVE-2025-49146 in org.postgresql:postgresql - Patched by Root

Root has patched CVE-2025-49146 in the org.postgresql:postgresql package for Root:Maven. Multiple fixed versions available.

Record
ROOT-APP-MAVEN-CVE-2025-49146
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
org.postgresql:postgresql
Maven
42.7.4 up to 42.7.7
42.7.7
java-postgresql-jdbc
Alpine:v3.24
before 42.7.9-r0
42.7.9-r0
postgresql-jdbc-driver
Bitnami
42.7.4 up to 42.7.7
42.7.7
libpgjava
Debian:13
before 42.7.7-1
42.7.7-1
libpgjava
Debian:14
before 42.7.7-1
42.7.7-1
org.postgresql:postgresql
Maven
42.7.4 up to 42.7.7, plus listed versions
42.7.542.7.6
42.7.7
org.postgresql:postgresql
Root:Maven
before 42.7.4-aikido.4
42.7.4-aikido.442.7.7-aikido.1
io.root.org.postgresql:postgresql
Root:Maven
before 42.7.4-root.io.4
42.7.4-root.io.442.7.7-root.io.1
libpgjava
Ubuntu:14.04:LTS
All versions, plus listed versions
9.2-1002-1
None known
libpgjava
Ubuntu:16.04:LTS
All versions, plus listed versions
9.2-1002-1
None known
Show 8 moreShow less
Affected packages
PackageAffectedFixed
libpgjava
Ubuntu:Pro:18.04:LTS
All versions, plus listed versions
9.4.1212-19.4.1212-1ubuntu0.1~esm1
None known
libpgjava
Ubuntu:Pro:20.04:LTS
All versions, plus listed versions
42.2.6-142.2.8-142.2.9-142.2.10-142.2.10-1ubuntu0.1~esm1
None known
libpgjava
Ubuntu:22.04:LTS
All versions, plus listed versions
42.2.23-142.2.24-142.3.1-142.3.2-142.3.3-1
None known
libpgjava
Ubuntu:24.04:LTS
All versions, plus listed versions
42.5.4-142.6.0-242.7.0-142.7.1-142.7.2-1
None known
libpgjava
Ubuntu:25.10
All versions, plus listed versions
42.7.5-142.7.5-242.7.7-1
None known
libpgjava
Ubuntu:26.10
All versions, plus listed versions
42.7.10-142.7.11-142.7.12-142.7.13-1
None known
libpgjava
Ubuntu:26.04:LTS
All versions, plus listed versions
42.7.7-142.7.8-142.7.8-242.7.9-142.7.10-1
None known
postgresql-jdbc
openSUSE:Tumbleweed
before 42.7.7-1.1
42.7.7-1.1

History

History
RecordedChangedSources
affected, aliases, referencesOSV
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2025-49146 is a high vulnerability (CVSS 8.2) in Pgjdbc, published June 11, 2025. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.49%, the 42nd percentile. Fixed in org.postgresql:postgresql 42.7.7.

References

Show 8 moreShow less
MoveEnter Open