Analysis and contextual insights are available on OpenCVE Cloud.
Vendor Workaround
Make the declared length match the data: ByteStreamWriter.getLength() must equal the number of bytes writeTo() writes, and the (offset, length) passed to the byte-array methods must lie within the array. No connection property turns the behavior off.
Tracking
Sign in to view the affected projects.
No advisories yet.
Thu, 08 Oct 2026 00:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Pgjdbc
Pgjdbc pgjdbc |
|
| Vendors & Products |
Pgjdbc
Pgjdbc pgjdbc |
Wed, 07 Oct 2026 23:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | pgjdbc pads a value shorter than its declared length with bytes of earlier statements (rather than zeros) | |
| Weaknesses | CWE-201 CWE-226 |
|
| References |
| |
| Metrics |
cvssV3_1
|
Status: PUBLISHED
Assigner: PostgreSQL
Published:
Updated: 2026-10-07T23:03:18.315Z
Reserved: 2026-10-07T16:53:39.434Z
Link: CVE-2026-107315
No data.
Status : Received
Published: 2026-10-08T00:16:33.690
Modified: 2026-10-08T00:16:33.690
Link: CVE-2026-107315
No data.
OpenCVE Enrichment
Updated: 2026-10-08T00:30:04Z