CVE-2026-134846

pgjdbc GSS encryption accepts replayed packets and can stop encrypting

Published Nov 23, 2026 CVSS 3.1 · 6.5 Medium EPSS n/a KEV · Not listed
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.

Analysis

No analysis available yet

Remediation

Vendor Solution

Upgrade to pgjdbc 42.7.15 or later.


Vendor Workaround

Set gssEncMode=disable and use TLS for transport encryption instead.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
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.
Title pgjdbc GSS encryption accepts replayed packets and can stop encrypting
Weaknesses CWE-294
CWE-319
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N'}

Subscriptions

No data.

Weaknesses
  • CWE-294

    Authentication Bypass by Capture-replay

  • CWE-319

    Cleartext Transmission of Sensitive Information

Sources

Status
PUBLISHED
Assigner
PostgreSQL
Published
Updated
Nov 23, 2026, 4:59 PM
Reserved
Nov 22, 2026, 5:13 PM
Status
Received
Published
Nov 23, 2026, 5:17 PM
Modified
Nov 23, 2026, 5:17 PM