WaratekVRT Sign in

CVE-2025-49146 postgresql JDBC Driver

Affected softwarepostgresql JDBC Driver
Severity8.2 High CVSS 3.1 2 scores
Fixed in42.7.7
WeaknessImproper authentication (CWE-287)
Published11 Jun 2025
Updated17 Jun 2026

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.

Exploitation status

No public exploit

No exploit has been reported in the sources we check. Published a year ago.

  • CISA KEV not listed
  • VulnCheck KEV not listed
  • CISA Vulnrichment exploitation: none
  • Indexed PoC none indexed
  • EPSS 0.49% chance in 30 days

Waratek protection

No exploit published

Within Waratek scope. In the sources we check, nobody has published exploit code for this CVE or reported it being exploited.

A public code fix exists: pgjdbc/pgjdbc 9217ed1.

  • Protection none
  • Action unverified
  • Review automated Upstream data
  • Record active
Decided by Exploit code for this candidate, published in a reviewed catalogue or a GitHub repository with 5 or more stars, or in use per CISA or VulnCheck; not only a CISA verdict, a forecast, or nothing at all
Finding This CVE is not listed in CISA KEV or VulnCheck KEV, CISA Vulnrichment records no active exploitation, no reviewed exploit catalogue carries an entry for it, and no GitHub PoC repository for it has 5 or more stars. Nobody has published exploit code worth tracing, so it is not a candidate for a rule ahead of the ones where somebody has; an upstream fix path does exist, so the remediation half of the candidacy still holds. This is a statement about what has been published, not about whether the defect is reachable or serious.
Candidate fix https://github.com/pgjdbc/pgjdbc/commit/9217ed16cb2918ab1b6b9258ae97e6ede244d8a0 : a commit: the change itself

CVSS

8.2 HIGH v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N 2 metrics

We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.

VersionScoreBandVectorAssignerType
CVSS 3.1 8.2 HIGH CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N security-advisories@github.com Secondary published
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 NVD Primary

Affected software and releases

Oracle advisories

AdvisoryTypeQuarterProducts Oracle names in its risk matrix
Oracle Critical Patch Update July 2025 ↗ CPU 2025-Q3 Oracle Fusion Middleware / Core (PostgreSQL JDBC Driver) (12.2.1.4.0, 14.1.2.0.0)

Oracle components and versions

FamilyComponentVersions, as Oracle lists themRead as
Oracle Fusion Middleware Core (PostgreSQL JDBC Driver) 12.2.1.4.0, 14.1.2.0.0 12.2.1.4.0 · 14.1.2.0.0

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.postgresql:postgresql 42.7.4 42.7.7 unbounded

Products and versions

2 products, 2 version entries
SourceVendorProductSchemeAffected versions
osv org.postgresql postgresql generic ≥ 42.7.4 and < 42.7.7
nvd postgresql postgresql jdbc driver generic ≥ 42.7.4 and < 42.7.7

References

URLTags
https://github.com/pgjdbc/pgjdbc/commit/9217ed16cb2918ab1b6b9258ae97e6ede244d8a0 commit
https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-hq9p-pm7w-8p54 WEB
https://datatracker.ietf.org/doc/html/rfc5802 WEB
https://datatracker.ietf.org/doc/html/rfc7677 WEB
https://github.com/pgjdbc/pgjdbc PACKAGE
https://www.postgresql.org/docs/current/sasl-authentication.html#SASL-SCRAM-SHA-256 WEB

Timeline

Published2025-06-11By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.