CVE & CISA-KEV Catalog

CVE-2026-107313

MEDIUM
4.2
CVSS v3
NVD

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.

How to fix

Remediation Available
libpgjavaDebian
Fixed in:42.7.7-1CVE-2026-107313
Fixed in:42.7.7-1CVE-2026-107313

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

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityLow
IntegrityLow
AvailabilityNone

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

Exploit Intelligence

0.14%probability of exploitation in 30 days
3rdpercentile

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

CVESeverityCVSSEPSSExploitedFix
CVE-2025-60188High7.53.7%--
CVE-2022-27779Medium5.32.8%-Fix
CVE-2017-16026Medium5.92.6%-Fix
CVE-2017-2582Medium6.52.4%-Fix
CVE-2020-26085Critical9.92.3%-Fix
CVE-2024-32825High7.52.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
CVE-2026-107313 severity badge

Markdown

[![CVE-2026-107313](https://tridentstack.com/cve/badge/CVE-2026-107313.svg)](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.

Patch your fleet freeStart freeThis CVE lookup is free and always will be.

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.