cve.bz

CVE-2026-107315 pgjdbc pgjdbc

5.3 mediumEPSS 0.2%

Medium (5.3) in pgjdbc pgjdbc. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 10th percentile. Scored 2026-11-17. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: PoC · Automatable: no · Technical impact: partial, assessed 2026-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-201 Insertion of Sensitive Information Into Sent Data
CWE-226 Sensitive Information in Resource Not Removed Before Reuse
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Awaiting analysis
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-107315 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-107315?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-107315?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-107315 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
pgjdbcfrom 42.7.4 through 42.7.13

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13libpgjavano fix listedDEBIAN-CVE-2026-107315
Debian14libpgjava42.7.14-1DEBIAN-CVE-2026-107315
Ubuntu14.04:LTS, 16.04:LTS, 22.04:LTS and 5 morelibpgjavano fix listedUBUNTU-CVE-2026-107315

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated as having a Moderate impact for Red Hat products because exploitation requires specific prerequisites, including custom application logic that misdeclares stream sizes and an attacker who can retrieve the written database records. In deployments utilizing shared connection pools, residual send buffer memory containing earlier database transaction details can be inadvertently committed to storage. Core Red Hat Enterprise Linux releases are unaffected as they include driver versions preceding the introduction of this flaw, limiting exposure primarily to select containerized middleware services.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat AMQ Broker 7postgresqlFix deferred
Red Hat build of Apicurio Registry 3postgresqlFix deferred
Red Hat build of Debezium 3postgresqlFix deferred
Red Hat Build of KeycloakpostgresqlFix deferred
Red Hat Build of Keycloakrhbk/keycloak-rhel9Fix deferred
Red Hat build of QuarkuspostgresqlAffected
Red Hat Enterprise Linux 10postgresql-jdbcNot affected
Red Hat Enterprise Linux 8javapackages-tools:201801/maven-assembly-pluginNot affected
Red Hat Enterprise Linux 8mariadb:10.3/mariadbNot affected
Red Hat Enterprise Linux 8mariadb-devel:10.3/mariadbNot affected
Red Hat Enterprise Linux 9postgresql-jdbcNot affected
Red Hat Fuse 7postgresqlNot affected
Red Hat Hardened Imagesmariadb10.11Not affected
Red Hat OpenShift Dev Spacesdevspaces/openvsx-rhel9Fix deferred
Red Hat OpenShift Dev Spacesdevspaces/pluginregistry-rhel9Fix deferred
Red Hat OpenShift Dev Spacesdevspaces/server-rhel9Fix deferred
Red Hat OpenStack Platform 13 (Queens)mariadbNot affected
Red Hat Satellite 6candlepinFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-107315.

Attack patterns (CAPEC)

  • CAPEC-37 Retrieve Embedded Sensitive Data Likelihood: High · Severity: Very High
  • CAPEC-12 Choosing Message Identifier Likelihood: High · Severity: High
  • CAPEC-217 Exploiting Incorrectly Configured SSL/TLS Likelihood: Low
  • CAPEC-612 WiFi MAC Address Tracking Severity: Low
  • CAPEC-613 WiFi SSID Tracking Severity: Low
  • CAPEC-618 Cellular Broadcast Message Request Severity: Low
  • CAPEC-619 Signal Strength Tracking Severity: Low
  • CAPEC-621 Analysis of Packet Timing and Sizes Severity: Low
  • CAPEC-622 Electromagnetic Side-Channel Attack Severity: Low
  • CAPEC-623 Compromising Emanations Attack Severity: Low

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON