# CVE-2026-134846: pgjdbc GSS encryption accepts replayed packets and can stop encrypting

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-11-23 · Modified: 2026-11-23
- Aliases: DEBIAN-CVE-2026-134846, UBUNTU-CVE-2026-134846, CGA-3r4g-5m8c-7f9m, CGA-f5q3-436m-9j86, CGA-w4jp-r84j-x9f6, CGA-xwfj-hpc8-7q54, CGA-2pg8-gwvq-cx85, CGA-pxgq-4g9v-x294
- Record: https://cvemate.com/vulnerability/CVE-2026-134846 · JSON: https://cvemate.com/vulnerability/CVE-2026-134846/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N
- EPSS: 0.192%, percentile 9.248%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard flyway (Chainguard): \< 13.13.0-r3
- chainguard flyway-fips (Chainguard): \< 13.13.0-r1
- chainguard keycloak-26.8 (Chainguard): \< 26.8.2-r2
- chainguard keycloak-26.8-iamguarded-compat (Chainguard): \< 26.8.2-r2
- wolfi flyway (Wolfi): \< 13.13.0-r3
- debian libpgjava (Debian): All versions (No fix recorded) \| \< 42.7.15-1
- ubuntu libpgjava (Ubuntu): All versions (No fix recorded)
- pgjdbc pgjdbc: ≥ 42.2.15, \< 42.7.15

## References

- <https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-hcjc-54fp-2p42>
- <https://security-tracker.debian.org/tracker/CVE-2026-134846>
- <https://ubuntu.com/security/CVE-2026-134846>
- <https://www.cve.org/CVERecord?id=CVE-2026-134846>
- <https://repo.maven.apache.org/maven2>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134846.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-134846>
- <https://github.com/pgjdbc/pgjdbc>

---

Data as of 2026-12-05T05:18:59.451Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
