← VULNERABILITIES

CVE-2026-134846

pgjdbc GSS encryption accepts replayed packets and can stop encrypting

Medium · 6.5Fix available
CVSS
6.5
EPSS
0.19% (p5)
Published
2026-11-23
Age
6d old
Modified
2026-11-28
Product
pgjdbc pgjdbc
Aliases
GHSA-hcjc-54fp-2p42

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N

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.

Fixed in

42.7.15

Affected packages

EcosystemPackageRangeFixed
unknownorg.postgresql:postgresql>=42.2.15, <42.7.1542.7.15

Sources

  • NVD · first seen 6d ago · NVD terms of use
  • OSV · first seen 6d ago · CC-BY 4.0
  • CVE List · first seen 6d ago · CVE Terms of Use

References

JSON