CVE-2026-107315CWE-201CWE-226

CVE-2026-107315

Medium · published October 8, 2026

CVSS v3.1
5.3
EPSS
0%
Percentile
1.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.3 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00124 · 1.9th percentile
Weaknesses
CWE-201 · Insertion of Sensitive Information Into Sent Data; CWE-226 · Sensitive Information in Resource Not Removed Before Reuse
Published
2026-10-08T04:16Z
References (2)
EPSS history
Timeline
  • 09 OCT 03:26Z
    EPSS moved — → 0%
    epss
  • 07 OCT 23:03Z
    pgjdbc pads a value shorter than its declared length with bytes of earlier statements (rather than zeros)
    cvelistv5
  • 07 OCT 23:03Z
    pgjdbc pads a value shorter than its declared length with bytes of earlier statements (rather than zeros)
    cvelistv5