cve.bz

CVE-2025-49146 postgresql postgresql jdbc driver: Improper Authentication

5.9 mediumEPSS 0.5%Fix available

Medium (5.9) in postgresql postgresql jdbc driver. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in org.postgresql:postgresql 42.7.7.

On this page
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.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 43rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-06-11. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-287 Improper Authentication
OWASP Top 10
A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-49146 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-49146?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-49146?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-49146 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
postgresql:postgresql_jdbc_driverfrom 42.7.4 before 42.7.7

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-hq9p-pm7w-8p54Mavenorg.postgresql:postgresql>=42.7.4 <42.7.742.7.7

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13, 14libpgjava42.7.7-1DEBIAN-CVE-2025-49146
Ubuntu14.04:LTS, 16.04:LTS, 22.04:LTS and 6 morelibpgjavano fix listedUBUNTU-CVE-2025-49146
openSUSETumbleweedpostgresql-jdbc42.7.7-1.1openSUSE-SU-2025:15264-1
Alpinev3.24java-postgresql-jdbc42.7.9-r0ALPINE-CVE-2025-49146

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE · Alpine.

Red Hat

Red Hat rates this Important.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Cryostat 4 on RHEL 9cryostat/cryostat-agent-init-rhel9:0.5.1-2Fixed 2025-07-03RHSA-2025:10323
Cryostat 4 on RHEL 9cryostat/cryostat-db-rhel9:4.0.1-5Fixed 2025-07-03RHSA-2025:10323
Cryostat 4 on RHEL 9cryostat/cryostat-grafana-dashboard-rhel9:4.0.1-4Fixed 2025-07-03RHSA-2025:10323
Cryostat 4 on RHEL 9cryostat/cryostat-openshift-console-plugin-rhel9:4.0.1-3Fixed 2025-07-03RHSA-2025:10323
Cryostat 4 on RHEL 9cryostat/cryostat-operator-bundle:4.0.1-2Fixed 2025-07-03RHSA-2025:10323
Cryostat 4 on RHEL 9cryostat/cryostat-ose-oauth-proxy-rhel9:4.0.1-5Fixed 2025-07-03RHSA-2025:10323
Cryostat 4 on RHEL 9cryostat/cryostat-reports-rhel9:4.0.1-3Fixed 2025-07-03RHSA-2025:10323
Cryostat 4 on RHEL 9cryostat/cryostat-rhel9:4.0.1-3Fixed 2025-07-03RHSA-2025:10323
Cryostat 4 on RHEL 9cryostat/cryostat-rhel9-operator:4.0.1-5Fixed 2025-07-03RHSA-2025:10323
Cryostat 4 on RHEL 9cryostat/cryostat-storage-rhel9:4.0.1-5Fixed 2025-07-03RHSA-2025:10323
Red Hat build of Apicurio Registry 2postgresqlAffected
Red Hat build of Apicurio Registry 3postgresqlAffected
Red Hat build of Debezium 2postgresqlNot affected
Red Hat build of Debezium 3postgresqlNot affected
Red Hat build of OptaPlanner 8postgresqlNot affected
Red Hat Data Grid 8postgresqlNot affected
Red Hat Enterprise Linux 8javapackages-tools:201801/maven-assembly-pluginNot affected
Red Hat Enterprise Linux 8mariadb:10.3/mariadbNot affected
Red Hat Enterprise Linux 8mariadb-devel:10.3/mariadbNot affected
Red Hat Fuse 7postgresqlNot affected
17 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-49146.

Attack patterns (CAPEC)

  • CAPEC-22 Exploiting Trust in Client Likelihood: High · Severity: High
  • CAPEC-57 Utilizing REST's Trust in the System Resource to Obtain Sensitive Data Likelihood: Medium · Severity: Very High
  • CAPEC-94 Adversary in the Middle (AiTM) Likelihood: High · Severity: Very High
  • CAPEC-114 Authentication Abuse Severity: Medium
  • CAPEC-115 Authentication Bypass Severity: Medium
  • CAPEC-151 Identity Spoofing Likelihood: Medium · Severity: Medium
  • CAPEC-194 Fake the Source of Data Severity: Medium
  • CAPEC-593 Session Hijacking Likelihood: High · Severity: Very High
  • CAPEC-633 Token Impersonation Severity: Medium
  • CAPEC-650 Upload a Web Shell to a Web Server Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON