Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-134846: medium-severity vulnerability (CVSS 6.5) in pgjdbc pgjdbc.
What happened
Original description from the source: 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.
Why it matters
Medium severity, CVSS 6.5.
Affected products and versions
pgjdbc pgjdbc >= 42.2.15, < 42.7.15
| Product | Versions | Fixed in |
|---|---|---|
| pgjdbc pgjdbc | >= 42.2.15, < 42.7.15 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
Weaknesses (CWE): CWE-294, CWE-319
Relevant change history
Published
Preliminary advisory published.