CVE-2026-107313
MEDIUMDescription
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.
How to fix
TridentStack Control can deploy fixes like this automatically across your Windows, macOS, and Linux fleet. See how it works
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Exploit Intelligence
Low risk: more likely to be exploited than 3% of all known CVEs.
References
Related Vulnerabilities
Other CWE-201 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2025-60188 | High | 7.5 | 3.7% | - | - |
| CVE-2022-27779 | Medium | 5.3 | 2.8% | - | Fix |
| CVE-2017-16026 | Medium | 5.9 | 2.6% | - | Fix |
| CVE-2017-2582 | Medium | 6.5 | 2.4% | - | Fix |
| CVE-2020-26085 | Critical | 9.9 | 2.3% | - | Fix |
| CVE-2024-32825 | High | 7.5 | 2.0% | - | - |
Common questions
How do I fix CVE-2026-107313?
Upgrade libpgjava on debian 13 to 42.7.7-1 or later.
Is CVE-2026-107313 being actively exploited?
Not that we know of. CVE-2026-107313 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.14% is the estimated probability that it will be exploited in the next 30 days. That is higher than 3% of all scored CVEs.
How severe is CVE-2026-107313?
CVE-2026-107313 has a CVSS v3 base score of 4.2, rated medium. CVSS rates the technical impact if the vulnerability is exploited, not how likely that is, so weigh it alongside the exploit-prediction score when you decide what to patch first.
What does CVE-2026-107313 affect?
Published advisories record a fix for libpgjava (Debian). Only products with a sourced advisory are listed, so treat this as what we can cite rather than a complete inventory.
Embed a live status badge for CVE-2026-107313
Markdown
[](https://tridentstack.com/cve/CVE-2026-107313)HTML
<a href="https://tridentstack.com/cve/CVE-2026-107313"><img src="https://tridentstack.com/cve/badge/CVE-2026-107313.svg" alt="CVE-2026-107313"></a>Check your Linux endpoints for this class of vulnerability
TridentStack Control continuously scans Linux endpoints for known vulnerabilities and deploys the fixes from the same console. 200 endpoints free forever, no credit card.
This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-10-08.