CVE-2026-134846
6.5medium
pgjdbc GSS encryption accepts replayed packets and can stop encrypting
- Severity
- 6.5medium CVSS:3.1 by PostgreSQL
- Exploit likelihood
- 0.19% (higher than 9% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- PostgreSQL
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| org.postgresql:postgresql | from 42.2.15 before 42.7.15 | CVE List |
Classification
References
| https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-hcjc-54fp-2p42 | exploit, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-134846 changed 2026-11-23 | CVE Terms of Use |
| NVD | CVE-2026-134846 changed 2026-11-24 | Public domain |