CVE-2026-107315
MEDIUMDescription
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
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:H/I:N/A:N
Exploit Intelligence
Low risk: more likely to be exploited than 2% 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.7% | - | 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-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
Markdown
[](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.
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.