Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain MITM position on TLS path
-
DeliveryPresent cert with no channel-binding hash
-
Exploitscram-client returns empty binding
-
ExecutionpgJDBC accepts, downgrades to SCRAM-SHA-256
-
PersistRelay authenticated session
-
ImpactIntercept/alter database traffic
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Fail-secure design
|
| Exploitation Conditions | Exploitation requires the client to be configured with channelBinding=require (the setting whose protection is being defeated) and an attacker who already holds an active man-in-the-middle position on the TLS connection between the application and PostgreSQL. The attacker must supply or cause the server to present a certificate whose signature algorithm has no tls-server-end-point channel-binding hash, which makes the bundled scram-client return an empty byte array that pgJDBC (42.7.4-42.7.11) fails to reject. Limiting factors: the flaw only matters where channel binding was deliberately relied upon; it does not grant access on its own without an existing TLS-intercept capability (reflected in AC:H/AT:P), needs no user interaction or credentials of its own (PR:N/UI:N), and is fixed in 42.7.12. |
| Impact | The CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:L/SA:N, base 8.2) captures the practical reality well: exploitation is network-based and needs no privileges or user interaction, but carries high attack complexity (AC:H) and an explicit attack requirement (AT:P) - the attacker must already hold an active man-in-the-middle position on the TLS path and control (or induce) a server certificate using a signature algorithm lacking a tls-server-end-point hash. Impact is scoped to integrity of the connection's authenticity guarantee (VI:H), not a direct confidentiality dump. There is no EPSS score provided, no KEV listing, and no evidence of a public POC, so real-world exploitation signals are absent; the danger is a silent, conditions-dependent weakening of a security control rather than a mass-exploitable RCE. This is a meaningful priority specifically for deployments that deliberately set channelBinding=require to defend against network adversaries, because for them the control is silently ineffective; for the many deployments that do not enable channel binding, real-world exposure from this specific flaw is lower. Note the tension worth verifying: the official 4.0 vector marks confidentiality VC:N, yet a successful downgrade enables a full MITM that could in practice expose query data - the scoring reflects the direct authentication-integrity loss rather than downstream MITM consequences. |
| Exploit ScenarioDerived | An attacker positioned to intercept the TLS traffic between a Java application and its PostgreSQL server (e.g., a compromised network segment or rogue proxy) presents a server certificate whose signature algorithm produces no tls-server-end-point channel-binding hash. Because scram-client returns an empty binding and pgJDBC accepts it, the connection negotiated with channelBinding=require silently falls back to plain SCRAM-SHA-256, and the attacker completes a full man-in-the-middle relay of the authenticated session. No public POC is currently known, and the attack requires the pre-existing MITM position reflected in the high complexity of the CVSS vector. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 06, 2026
Channel-binding downgrade in the pgjdbc PostgreSQL JDBC Driver (releases 42.7.4 through 42.7.11) lets an active man-in-the-middle silently strip SCRAM-SHA-256-PLUS channel binding down to plain SCRAM-SHA-256 even when the client explicitly set channelBinding=require, defeating the exact protection that setting promises. The flaw stems from the bundled com.ongres.scram:scram-client returning an empty binding for certificates whose signature algorithm lacks a tls-server-end-point hash, combined with pgJDBC's ScramAuthenticator failing to reject that empty binding. No public exploit identified at time of analysis and it is not listed in CISA KEV; it is fixed in 42.7.12.
RemediationAI
Vendor-released patch: 42.7.12 - upgrade the pgjdbc driver dependency to 42.7.12 or later, which also pulls the corrected com.ongres.scram:scram-client (release 3.3) so empty channel-binding data is rejected rather than accepted. The fix commit is https://github.com/pgjdbc/pgjdbc/commit/77df98e4e66c12936ded3478a0954f6f580bad99 and details are in advisory https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-j92g-9f8w-j867. If you cannot upgrade immediately, reduce reliance on the client-side channel-binding check by ensuring PostgreSQL servers present certificates whose signature algorithms have a defined tls-server-end-point hash (avoid algorithms that yield an empty binding), and pin/validate the server certificate at the application or network layer so a MITM cannot substitute a certificate; additionally restrict the network path between application and database (private subnets, mutual TLS, strict certificate verification with sslmode=verify-full) to remove the attacker's MITM foothold - the trade-off is that these controls harden the transport but do not restore the specific channel-binding guarantee, so upgrading remains the only complete fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
pgjdbc is the official Java (JDBC) driver used by Java applications to connect to PostgreSQL. Authentication uses SCRAM (Salted Challenge Response Authentication Mechanism); the '-PLUS' variant (SCRAM-SHA-256-PLUS) binds the authentication exchange to the underlying TLS channel via the tls-server-end-point mechanism, which hashes the server certificate so a proxy cannot sit in the middle. The root cause is CWE-636 (Not Failing Securely / 'Failing Open'): when a certificate's signature algorithm has no defined channel-binding hash, the bundled com.ongres.scram:scram-client returns an empty byte array instead of raising an error, and pgJDBC's ScramAuthenticator only verifies that the server advertised a PLUS mechanism - it never rejects the empty binding data nor confirms that the mechanism actually negotiated used channel binding. The CPE cpe:2.3:a:pgjdbc:pgjdbc:*:*:*:*:*:*:*:* confirms the affected component is the pgjdbc driver itself.
Know when Pgjdbc gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network vector but AC:H because a pre-existing TLS MITM position and a specific certificate signature algorithm are required; impact is loss of authentication integrity (I:H) with no direct confidentiality or availability loss.
AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Articles & Coverage 1
Executive ViewAI
PostgreSQL applications using pgjdbc driver versions 42.7.4 through 42.7.11 are vulnerable to authentication downgrade attacks when exposed to network-level adversaries. An active man-in-the-middle attacker can force the driver to silently abandon strong SCRAM-SHA-256-PLUS authentication-the exact protection clients explicitly configured-and fall back to weaker SCRAM-SHA-256. This undermines database authentication controls and exposes credentials in untrusted network environments.
Apply vendor patch to version 42.7.12.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Residual-data disclosure in the PostgreSQL JDBC Driver (pgjdbc) 42.7.4 through 42.7.13 allows an authenticated attacker
Values written through the PostgreSQL JDBC Driver (pgjdbc) 42.7.4 and 42.7.5 over a GSS/Kerberos-encrypted connection ca
Same weakness CWE-636 – Not Failing Securely ('Failing Open')
View allSame technique Information Disclosure
View allVendor StatusVendor
SUSE
Severity: Moderate| Product | Status |
|---|---|
| SUSE Linux Enterprise High Performance Computing 15 SP7 | Not-Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP7 | Not-Affected |
| SUSE Linux Enterprise Server 15 SP7 | Not-Affected |
| SUSE Linux Enterprise Server 16.0 | Affected |
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP7 | Not-Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| openSUSE Leap 16.0 | Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4 | Not-Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | Not-Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5 | Not-Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | Not-Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP4 | Not-Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP5 | Not-Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP6 | Not-Affected |
| SUSE Linux Enterprise Server 12 SP5 | Not-Affected |
| SUSE Linux Enterprise Server 12 SP5-LTSS | Not-Affected |
| SUSE Linux Enterprise Server 12 SP5-LTSS Extended Security | Not-Affected |
| SUSE Linux Enterprise Server 15 SP4 | Not-Affected |
| SUSE Linux Enterprise Server 15 SP4-LTSS | Not-Affected |
| SUSE Linux Enterprise Server 15 SP5 | Not-Affected |
| SUSE Linux Enterprise Server 15 SP5-LTSS | Not-Affected |
| SUSE Linux Enterprise Server 15 SP6 | Not-Affected |
| SUSE Linux Enterprise Server 15 SP6-LTSS | Not-Affected |
| SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | Not-Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP6 | Not-Affected |
| SUSE Manager Proxy 4.3 | Not-Affected |
| SUSE Manager Proxy LTS 4.3 | Not-Affected |
| SUSE Manager Retail Branch Server 4.3 | Not-Affected |
| SUSE Manager Retail Branch Server LTS 4.3 | Not-Affected |
| SUSE Manager Server 4.3 | Not-Affected |
| SUSE Manager Server LTS 4.3 | Not-Affected |
| SUSE Enterprise Storage 7.1 | Not-Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3 | Not-Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS | Not-Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | Not-Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | Not-Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | Not-Affected |
| SUSE Linux Enterprise High Performance Computing 15 SP6 | Not-Affected |
| SUSE Linux Enterprise Module for Server Applications 15 SP3 | Not-Affected |
| SUSE Linux Enterprise Point of Sale 12 SP2-CLIENT | Not-Affected |
| SUSE Linux Enterprise Real Time 15 SP3 | Not-Affected |
| SUSE Linux Enterprise Real Time 15 SP4 | Not-Affected |
| SUSE Linux Enterprise Server 12 SP1 | Not-Affected |
| SUSE Linux Enterprise Server 12 SP1-LTSS | Not-Affected |
| SUSE Linux Enterprise Server 12 SP2 | Not-Affected |
| SUSE Linux Enterprise Server 12 SP2-BCL | Not-Affected |
| SUSE Linux Enterprise Server 12 SP2-ESPOS | Not-Affected |
| SUSE Linux Enterprise Server 12 SP2-LTSS | Not-Affected |
| SUSE Linux Enterprise Server 12 SP3 | Not-Affected |
| SUSE Linux Enterprise Server 12 SP3-BCL | Not-Affected |
| SUSE Linux Enterprise Server 12 SP3-ESPOS | Not-Affected |
| SUSE Linux Enterprise Server 12 SP3-LTSS | Not-Affected |
| SUSE Linux Enterprise Server 12 SP4 | Not-Affected |
| SUSE Linux Enterprise Server 12 SP4-ESPOS | Not-Affected |
| SUSE Linux Enterprise Server 12 SP4-LTSS | Not-Affected |
| SUSE Linux Enterprise Server 15 SP3 | Not-Affected |
| SUSE Linux Enterprise Server 15 SP3-BCL | Not-Affected |
| SUSE Linux Enterprise Server 15 SP3-LTSS | Not-Affected |
| SUSE Linux Enterprise Server for Raspberry Pi 12 SP2 | Not-Affected |
| SUSE Linux Enterprise Server for SAP Applications 12 SP1 | Not-Affected |
| SUSE Linux Enterprise Server for SAP Applications 12 SP2 | Not-Affected |
| SUSE Linux Enterprise Server for SAP Applications 12 SP3 | Not-Affected |
| SUSE Linux Enterprise Server for SAP Applications 12 SP4 | Not-Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | Not-Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | Not-Affected |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | Not-Affected |
| SUSE Manager Proxy 4.2 | Not-Affected |
| SUSE Manager Retail Branch Server 4.2 | Not-Affected |
| SUSE Manager Server 4.2 | Not-Affected |
| SUSE Manager Server Module 4.2 | Not-Affected |
| SUSE OpenStack Cloud 7 | Not-Affected |
| SUSE OpenStack Cloud 8 | Not-Affected |
| SUSE OpenStack Cloud 9 | Not-Affected |
| SUSE OpenStack Cloud Crowbar 8 | Not-Affected |
| SUSE OpenStack Cloud Crowbar 9 | Not-Affected |
| openSUSE Leap 15.3 | Not-Affected |
| openSUSE Leap 15.4 | Not-Affected |
| openSUSE Leap 15.5 | Not-Affected |
| openSUSE Leap 15.6 | Not-Affected |
| suse/manager/5.0/x86_64/server suse/manager/5.0/x86_64/server-attestation suse/multi-linux-manager/5.1/x86_64/server suse/multi-linux-manager/5.1/x86_64/server-attestation suse/multi-linux-manager/5.2/x86_64/server suse/multi-linux-manager/5.2/x86_64/server-attestation | Not-Affected |
EUVD-2026-41903
GHSA-j92g-9f8w-j867
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB