cve.bz

CVE-2026-54291 postgresql postgresql jdbc driver: Failing Open

8.2 highEPSS 0.2%Fix available

High (8.2) in postgresql postgresql jdbc driver. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in org.postgresql:postgresql 42.7.12.

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

Severity

CVSS 4.0

8.2 high
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:L/SA:N

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 15th 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: no · Technical impact: partial, assessed 2026-07-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-636 Not Failing Securely (Failing Open)
CWE-757 Selection of Less-Secure Algorithm During Negotiation (Algorithm Downgrade)
OWASP Top 10
A04:2025 Cryptographic Failures, A10:2025 Mishandling of Exceptional Conditions
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-54291 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-54291?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-54291?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-2026-54291 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.12

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-j92g-9f8w-j867Mavenorg.postgresql:postgresql>=42.7.4 <42.7.1242.7.12

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13libpgjavano fix listedDEBIAN-CVE-2026-54291
Debian14libpgjava42.7.12-1DEBIAN-CVE-2026-54291
Ubuntu25.10, 26.04:LTS, 26.10libpgjavano fix listedUBUNTU-CVE-2026-54291

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

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat build of Keycloak 26.4.15Fixed 2026-08-18RHSA-2026:56520
Red Hat build of Keycloak 26.6.6Fixed 2026-08-18RHSA-2026:56523
Red Hat build of Quarkus 3.27.5postgresqlFixed 2026-08-13RHSA-2026:53643
Red Hat build of Quarkus 3.33.3postgresqlFixed 2026-08-13RHSA-2026:51653
Cryostat 4postgresqlWill not fix
Red Hat AMQ Broker 7postgresqlWill not fix
Red Hat build of Apicurio Registry 3postgresqlWill not fix
Red Hat build of Debezium 3postgresqlWill not fix
Red Hat Build of KeycloakpostgresqlAffected
Red Hat Data Grid 8postgresqlWill not fix
Red Hat Hardened Imagesmariadb10.11Not affected
Red Hat Single Sign-On 7postgresqlFix deferred

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-2026-54291.

Attack patterns (CAPEC)

  • CAPEC-220 Client-Server Protocol Manipulation Severity: Medium
  • CAPEC-606 Weakening of Cellular Encryption Severity: High
  • CAPEC-620 Drop Encryption Level Severity: High

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

References

Check your stackJSON