Read the docs

pgjdbc GSS encryption accepts replays and can stop encrypting

Priority MEDIUM 62CWE-294Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
High
Impact type
Security bypass, Information disclosure
Confidentiality · integrity · availability
Low · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-294 and CWE-319.

Summary

pgjdbc, the PostgreSQL JDBC Driver, from 42.2.15 before 42.7.15 does not check the token state GSSContext.unwrap() reports on GSS-encrypted connections, so it accepts replayed server packets (CWE-294). An attacker on the network path can replay one, and a later integrity-only server packet makes the driver send SQL and parameters unencrypted. Only connections with gssEncMode prefer or require that start GSS encryption are affected.

Written with Claude Haiku 5.5 from the sources below · 2026-11-23

Description from the CNA

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00192 5th percentileScored 2026-11-30
Fix Fixed pgjdbc (pgjdbc): 42.7.15

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
PostgreSQLpgjdbc42.2.15 to before 42.7.1542.7.15Patch availableCNA
  • pgjdbc VendorPostgreSQL Affected 42.2.15 to before 42.7.15 Fixed in 42.7.15 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:postgresql:postgresql_jdbc_driver:*:*:*:*:*:*:*:*——PostgreSQL
  • cpe:2.3:a:postgresql:postgresql_jdbc_driver:*:*:*:*:*:*:*:* Versions — — ·PostgreSQL

Remediation

Upgrade pgjdbc to version 42.7.15.

Written with Claude Haiku 5.5 from the sources below · 2026-11-23

  • Fix · CNA pgjdbc (pgjdbc) Fixed in 42.7.15

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    pgjdbc 42.7.15

    8 records Highest priority Priority HIGH 5 HIGH, 1 MEDIUM, 2 LOW

    Other records, highest priority first

    • TI-2026-96877 SQL injection in pgjdbc simple query mode parameter quotingPriority HIGH 70
    • TI-2026-96876 SQL injection in pgjdbc through misparsed quoted literalsPriority HIGH 70
    • TI-2026-96882 pgjdbc stores a wrong number for BigDecimal values outside binary rangePriority HIGH 68

Timeline

  1. 2026-11-23 Threatist record created from CVE-2026-134846
  2. 2026-11-23 CISA SSVC decision points changed

References

  • TI-2024-01491 pgjdbc SQL Injection via line comment generation CVSS 3.1CRITICAL 10.0
  • TI-2019-06651 In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and… CVSS 3.0HIGH 7.2
  • TI-2017-05187 Improper authentication in postgresql CVSS 3.0CRITICAL 9.8
  • TI-2022-06097 Unchecked Class Instantiation when providing Plugin Classes CVSS 3.1CRITICAL 9.8
  • TI-2026-96877 SQL injection in pgjdbc simple query mode parameter quoting CVSS 3.1HIGH 8.1
  • TI-2026-96876 SQL injection in pgjdbc through misparsed quoted literals CVSS 3.1HIGH 8.1
See all 256 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences