CVE-2026-107313
Last modified
CVE-2026-107313 is a medium-severity vulnerability rated 4.2/10 on the CVSS scale. 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. EPSS estimates a 0.14% chance of exploitation in the next 30 days.
Description
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. Most such writes fail with an ArrayIndexOutOfBoundsException instead. The default, gssEncMode=allow, does not start GSS encryption, and connections without GSS encryption are not affected. Versions 42.7.3 and earlier are not affected, and 42.7.6 fixes the problem.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| pgjdbc | pgjdbc | >= 42.7.4, < 42.7.6 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-107313?
How severe is CVE-2026-107313?
How do I fix CVE-2026-107313?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-107308Improper Neutralization of Input During Web Page Generation …3.1
- CVE-2026-107309Missing Authorization vulnerability in Drupal Easy Breadcrum…3.7
- CVE-2026-10731SQL injection in the ‘two_steps_auth_code’ parameter process…9.3
- CVE-2026-107310Server-Side Request Forgery (SSRF) vulnerability in Drupal F…4.3
- CVE-2026-107311Improper Check for Unusual or Exceptional Conditions vulnera…3.7
- CVE-2026-107312Allocation of Resources Without Limits or Throttling vulnera…4.3
- CVE-2026-107314pgjdbc, the PostgreSQL JDBC Driver, versions 42.7.11 through…5.9
- CVE-2026-107315pgjdbc, the PostgreSQL JDBC Driver, versions 42.7.4 through …5.3
- CVE-2026-107316Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-107318@fastify/reply-from is a Fastify plugin that forwards reques…7.4
- CVE-2026-107319The GamiPress WordPress plugin before 8.0.6 does not perfor…4.3
- CVE-2026-10732All versions of the package decompress are vulnerable to Arb…6.4
Are you affected by CVE-2026-107313?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
