All vulnerabilities

Maven

CVE-2026-134846

pgjdbc GSS encryption accepts replayed packets and can stop encrypting

Severity
Medium 6.5
Published
23 Nov 2026
Last changed
23 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
42.7.15
Exploit chance
0.1% in the next 30 daysHigher than 1% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Authentication bypass by capture-replay (CWE-294)Cleartext transmission (CWE-319)
Attack
Over the network · Only under certain conditions · No login needed · No user action needed
Attacker can
Read some data · Change data
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:H/A:N
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
org.postgresql:postgresqlMaven · osv:Maven:org.postgresql:postgresql
  • From 42.2.15 before 42.7.15

About org.postgresql:postgresql

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-134846