pgjdbc GSS encryption accepts replayed packets and can stop encrypting
Summary
| CVE | CVE-2026-134846 |
|---|---|
| State | PUBLISHED |
| Assigner | PostgreSQL |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-23 17:17:49 UTC |
| Updated | 2026-11-23 17:17:49 UTC |
| Description | pgjdbc, the PostgreSQL JDBC Driver, does not check the token state that GSSContext.unwrap() reports on a GSS-encrypted connection. An attacker on the network path can replay an earlier server packet from the same connection, and the driver accepts it as the answer to the current query. The driver also shares one MessageProp between reading and writing. One integrity-only packet from the server then makes the driver send later SQL and parameters without encryption. Only connections with gssEncMode=prefer or require that start GSS encryption are affected. Versions 42.2.15 through 42.7.14 are affected, and 42.7.15 fixes the problem. |
Risk And Classification
Primary CVSS: v3.1 6.5 MEDIUM from f86ef6dc-4d3a-42ad-8f28-e6d5547a5007
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N
Problem Types: CWE-294 | CWE-319 | CWE-294 CWE-294 Authentication Bypass by Capture-replay | CWE-319 CWE-319 Cleartext Transmission of Sensitive Information
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 | Secondary | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N |
| 3.1 | CNA | DECLARED | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
HighPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
LowIntegrity
HighAvailability
NoneCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N
Vendor Declared Affected Products
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/pgjdbc/pgjdbc/security/advisories/GHSA-hcjc-54fp-2p42 | f86ef6dc-4d3a-42ad-8f28-e6d5547a5007 | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Anthropic OSS Scanner (ANT-2026-XN4FNDUA) (en)
CNA: Anthropic OSS Scanner (ANT-2026-VWAJRJ3T) (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-10-16T00:00:00.000Z | Reported by Anthropic OSS Scanner (ANT-2026-XN4FNDUA). |
| CNA | 2026-10-16T00:00:00.000Z | Reported by Anthropic OSS Scanner (ANT-2026-VWAJRJ3T). |
Solutions
CNA: Upgrade to pgjdbc 42.7.15 or later.
Workarounds
CNA: Set gssEncMode=disable and use TLS for transport encryption instead.
There are currently no legacy QID mappings associated with this CVE.