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.
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
- Received
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-107273Gophish 0.11.0 through 0.12.1 contains a server-side request…4.3
- CVE-2026-107276MISP contains a race condition in the email-based one-time p…6.3
- CVE-2026-107278MISP contains a validation flaw in its object synchronizatio…5.3
- CVE-2026-10729An HTML injection vulnerability in the notification email fo…1.2
- CVE-2026-1073The Purchase Button For Affiliate Link plugin for WordPress …4.3
- CVE-2026-10731SQL injection in the ‘two_steps_auth_code’ parameter process…9.3
- CVE-2026-10732All versions of the package decompress are vulnerable to Arb…6.4
- CVE-2026-10733GitLab has remediated an issue in GitLab CE/EE affecting all…4.3
- CVE-2026-10734The Infility Global plugin for WordPress is vulnerable to St…7.2
- CVE-2026-10735Multiple Shapedsmart-post-show-pro WordPress plugin before 4…7.5
- CVE-2026-107352Missing authorization checks in Amazon Athena engine version…7.7
- CVE-2026-107353traverse (npm) versions 0.3.6 through 0.3.9, 0.4.0 through 0…6.5
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
