patchminder
Proof of concept · CISA assessment CVE-2026-107313

Vulnerabilityin pgjdbc.

Published 7 Oct 2026 · Updated 7 Oct 2026 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment).

Severity
Medium 4.2
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Low
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 0.1% chance in 30 days · 4 Dec 2026
Fix
Available
Upgrade to 42.7.6 or later
In plain words

pgjdbc, the PostgreSQL JDBC Driver, versions 42.7.4 and 42.7.5 can send the previous contents of the GSS send buffer in place of the first part of a value on a connection with GSS encryption (gssEncMode=prefer or require), and the server stores the value without an error. The buffer is 16320 bytes with MIT Kerberos. The stored value then holds bytes of the messages the driver sent just before it on the same connection, such as the statement's SQL text, its other parameters, and earlier rows of the same batch, instead of the bytes the application supplied. Values at least as long as the buffer are affected when the driver writes them from a byte array: bind parameters set with setString, setBytes, or a ByteStreamWriter, CopyIn.writeToCopy, and LargeObject.write.

What to do now
  • Upgrade pgjdbc to 42.7.6 or later.
  • Can't upgrade today? On 42.7.4 and 42.7.5, turn GSS encryption off with gssEncMode=disable and use TLS for transport encryption instead.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
pgjdbc
42.7.4 to before 42.7.6
42.7.6
CVE record

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 7 Oct 2026
    CVE ID reserved by PostgreSQL.
  2. 7 Oct 2026
    Published in the CVE List.
  3. 7 Oct 2026
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (CISA assessment). CISA assessment (SSVC): exploitation poc.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Other pgjdbc vulnerabilities

Same weakness: Information exposure through sent data

All CWE-201 vulnerabilities

References
Cite this page

Patchminder. CVE-2026-107313: Vulnerability in pgjdbc. https://patchminder.com/cve/cve-2026-107313/ (accessed 5 December 2026).