CVE-2026-107315
Last modified
CVE-2026-107315 is a medium-severity vulnerability rated 5.3/10 on the CVSS scale. 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. EPSS estimates a 0.12% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| pgjdbc | pgjdbc | >= 42.7.4, <= 42.7.13 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-107315?
How severe is CVE-2026-107315?
How do I fix CVE-2026-107315?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-10731SQL injection in the ‘two_steps_auth_code’ parameter process…9.3
- CVE-2026-107310Server-Side Request Forgery (SSRF) vulnerability in Drupal F…4.3
- CVE-2026-107311Improper Check for Unusual or Exceptional Conditions vulnera…3.7
- CVE-2026-107312Allocation of Resources Without Limits or Throttling vulnera…4.3
- CVE-2026-107313pgjdbc, the PostgreSQL JDBC Driver, versions 42.7.4 and 42.7…4.2
- CVE-2026-107314pgjdbc, the PostgreSQL JDBC Driver, versions 42.7.11 through…5.9
- CVE-2026-107316Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-107318@fastify/reply-from is a Fastify plugin that forwards reques…7.4
- CVE-2026-107319The GamiPress WordPress plugin before 8.0.6 does not perfor…4.3
- CVE-2026-10732All versions of the package decompress are vulnerable to Arb…6.4
- CVE-2026-107320The GamiPress WordPress plugin before 8.0.6 does not proper…5.3
- CVE-2026-107321The W3 Total Cache WordPress plugin before 2.10.6 does not c…5.4
Are you affected by CVE-2026-107315?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
