CVE & CISA-KEV Catalog

CVE-2026-107315

MEDIUM
5.3
CVSS v3
NVD

Description

pgjdbc, the PostgreSQL JDBC Driver, versions 42.7.4 through 42.7.13 pads a value that is shorter than its declared length with bytes left in its send buffer instead of zeros, and the server stores those bytes as part of the value. The bytes are messages the driver sent earlier on the same connection: SQL text and parameter values of recent statements, which on a pooled connection can come from other requests. Each padded value can carry up to 8192 bytes of this traffic, or 16320 bytes on a connection with GSS encryption. The padding happens when an application declares a length larger than the data it supplies, through PreparedStatement.setObject with a ByteStreamWriter, CopyIn.writeToCopy, PGCopyOutputStream.write, LargeObject.write, or Blob.setBytes. The driver accepts these calls without an error. An attacker who can make the application store such a value and read it back can collect earlier traffic. Applications whose declared lengths always match their data are not affected. Versions 42.7.3 and earlier pad with zeros.

How to fix

Remediation Available
libpgjavaDebian
Fixed in:42.7.14-1CVE-2026-107315

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

ConfidentialityHigh
IntegrityNone
AvailabilityNone

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

Exploit Intelligence

0.12%probability of exploitation in 30 days
2ndpercentile

Low risk: more likely to be exploited than 2% of all known CVEs.

References

Other references1

Related Vulnerabilities

Other CWE-201 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2025-60188High7.53.7%--
CVE-2022-27779Medium5.32.7%-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-107315?

Upgrade libpgjava on debian unstable to 42.7.14-1 or later.

Is CVE-2026-107315 being actively exploited?

Not that we know of. CVE-2026-107315 is not in the CISA Known Exploited Vulnerabilities catalog. Its EPSS score of 0.12% is the estimated probability that it will be exploited in the next 30 days. That is higher than 2% of all scored CVEs.

How severe is CVE-2026-107315?

CVE-2026-107315 has a CVSS v3 base score of 5.3, 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-107315 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-107315
CVE-2026-107315 severity badge

Markdown

[![CVE-2026-107315](https://tridentstack.com/cve/badge/CVE-2026-107315.svg)](https://tridentstack.com/cve/CVE-2026-107315)

HTML

<a href="https://tridentstack.com/cve/CVE-2026-107315"><img src="https://tridentstack.com/cve/badge/CVE-2026-107315.svg" alt="CVE-2026-107315"></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.