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

Published Updated

Network attackers can replay GSS-encrypted packets or make pgjdbc send later SQL unencrypted when GSS encryption is required.

CVSS score

Medium

6.5/10

CVSS 3.1 · Scored by PostgreSQL Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
See affected versions
Attack path
Over the internet
No login, no user action

What is CVE-2026-134846?

CVE-2026-134846 is a medium-severity security feature bypass vulnerability in pgjdbc, published on 23 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-319, CWE-294

How severe is CVE-2026-134846?

CVE-2026-134846 scores 6.5 out of 10 under CVSS 3.1, which is medium severity. It was scored by PostgreSQL.

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
High
Availability
None

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

Which versions are affected by CVE-2026-134846?

An affected version is only exploitable if your software calls GSSContext.unwrap(). Many projects that include it are not exposed.

How do I fix CVE-2026-134846?

Upgrade to a fixed version.

Upgrade to the fixed version, and do not rely on a single control for protection. More about Security feature bypass.

Is CVE-2026-134846 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-134846 exists.

Sources

Also known as DEBIAN-CVE-2026-134846, GHSA-hcjc-54fp-2p42, UBUNTU-CVE-2026-134846.

Is CVE-2026-134846 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free