Vulnerability in Pgjdbc
CVE-2026-54291
pgjdbc is an open source postgresql JDBC Driver. In releases 42.7.4 through 42.7.11, channelBinding=require connections can be silently downgraded from SCRAM-SHA-256-PLUS with channel binding to plain SCRAM-SHA-256 without it, losing the man-in-the-middle protection the setting is meant to guarantee. An attacker who can intercept the TLS connection can trigger the downgrade with a certificate whose signature algorithm has no tls-server-end-point channel-binding hash, because the bundled com.ongres.scram:scram-client returns an empty byte array instead of failing and pgJDBC ScramAuthenticator checks only that the server advertised a PLUS mechanism, without rejecting the empty binding or checking that the negotiated mechanism uses channel binding. This issue is fixed in version 42.7.12.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS: 0.002 (13.4th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 13th percentile — 13.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: 0.000
Affected products
- Pgjdbc — versions >= 42.7.4, < 42.7.12
- PostgreSQL Jdbc Driver
Weakness classification (CWE)
References
- github.com/ongres/scram/releases/tag/3.3 (Not Applicable)
- github.com/pgjdbc/pgjdbc/commit/77df98e4e66c12936ded3478a0954f6f580bad99 (Patch)
- github.com/pgjdbc/pgjdbc/security/advisories/GHSA-j92g-9f8w-j867 (Patch, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-54291?
- CVE-2026-54291 is a medium-severity vulnerability in Pgjdbc, classified under CWE-636. CVSS score: 5.9/10. Published 2026-07-06.
- How severe is CVE-2026-54291?
- Medium severity. CVSS v3 base score is 5.9 out of 10.