Home / pgjdbc / pgjdbc / CVE-2026-107315
CVE-2026-107315: is it exploited, and which versions of pgjdbc are affected and fixed?
CVE-2026-107315 is a sensitive Information in Resource Not Removed Before Reuse vulnerability in pgjdbc. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: pgjdbc from 42.7.4 through 42.7.13 (CVE record by PostgreSQL). No fixed version is listed in the sources yet; check the vendor advisory. Severity: Medium (5.3, CVSS 3.1, from PostgreSQL).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 19, 2026, 07:05 UTC and NVD November 19, 2026, 07:06 UTC.
What is CVE-2026-107315?
pgjdbc pads a value shorter than its declared length with bytes of earlier statements (rather than zeros)
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.
From the CVE record by PostgreSQL, last updated October 8, 2026, 14:41 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| pgjdbc | pgjdbc org.postgresql:postgresql | from 42.7.4 through 42.7.13 |
As the CVE record by PostgreSQL states it, last updated October 8, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2026-107315?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N | PostgreSQL |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-107315 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: no; technical impact: partial (CISA ADP, October 8, 2026)
- EPSS
- 0.20% probability of exploitation activity in the next 30 days, percentile 10.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-226 Sensitive Information in Resource Not Removed Before Reuse
- CWE-201 Insertion of Sensitive Information Into Sent Data
Is there a workaround? (from the CVE record)
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.
Where are the vendor advisories and references?
Who found and reported it?
- Vladimir Sitnikov (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- October 7, 2026
- Published
- October 7, 2026, 23:03 UTC
- CVE record updated
- October 8, 2026, 14:41 UTC by PostgreSQL
- NVD
- Awaiting Analysis, last modified October 8, 2026, 20:49 UTC
- Last checked
- CVE list November 19, 2026, 07:05 UTC; NVD November 19, 2026, 07:06 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect pgjdbc?
- Nov 23, 2026CVE-2026-134847 pgjdbc: numeric Truncation Error
- Nov 23, 2026CVE-2026-134848 pgjdbc: improper Neutralization of Null Byte or NUL Character
- Nov 23, 2026CVE-2026-134846 pgjdbc: authentication bypass by replay
- Nov 23, 2026CVE-2026-134844 pgjdbc: uncontrolled search path (DLL or library hijacking)
- Nov 23, 2026CVE-2026-134845 pgjdbc: improper certificate validation
- Nov 23, 2026CVE-2026-134843 pgjdbc: exceptional condition mishandled
- Nov 23, 2026CVE-2026-134841 pgjdbc: SQL injection
- Nov 23, 2026CVE-2026-134842 pgjdbc: SQL injection
Questions about CVE-2026-107315
Is CVE-2026-107315 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.20% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of pgjdbc are affected by CVE-2026-107315?
pgjdbc from 42.7.4 through 42.7.13, per the CVE record by PostgreSQL. The tables above give every range the sources list.
Which version fixes CVE-2026-107315?
None of the sources (the CVE record, the NVD and GitHub's reviewed advisories) lists a fixed version yet. Check the vendor's advisory in the references.
How severe is CVE-2026-107315?
Medium (5.3, CVSS 3.1, from PostgreSQL). The severity table above shows each score with its source.
Where is the official record of CVE-2026-107315?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.