CVE-2026-134846
pgjdbc GSS encryption accepts replayed packets and can stop encrypting
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 Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.postgresql » postgresqlpreliminary | >= 42.2.15, < 42.7.15 | 42.7.15 |
Blast radius
86% of the dependent artifacts (9,030) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 94,176 |
| 2 hops | 170,449 |
| 3 hops | 91,389 |
| 4 hops | 38,204 |
| 5 hops | 13,047 |
| 6 hops | 4,742 |
Most used dependents
- org.apache.kafka » kafka1,450 usages
- com.atlassian.confluence » confluence724 usages
- org.apache.hive » hive-exec699 usages
- org.apache.spark » spark-hive633 usages
- org.dbunit » dbunit596 usages
- org.openmrs.api » openmrs-api564 usages
- org.openmrs.web » openmrs-web521 usages
- org.openmrs.test » openmrs-test514 usages
- org.apache.solr » solr-core500 usages
- org.apache.hive » hive-jdbc404 usages
- org.apache.hive » hive-service301 usages
- pentaho-kettle » kettle-engine295 usages
- io.quarkus » quarkus-jdbc-postgresql235 usages
- net.postgis » postgis-jdbc214 usages
- org.geoserver.web » gs-web-core194 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134846.json
- Packagehttps://github.com/pgjdbc/pgjdbc
- Advisoryhttps://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-hcjc-54fp-2p42
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2026-134846
- Webhttps://repo.maven.apache.org/maven2
