CVE Database›CVE-2026-107315

CVE-2026-107315

org.postgresql/postgresql: PostgreSQL JDBC Driver: Information disclosure via residual send buffer padding

Loading…

Severity

Moderate

Red Hat Product Security

5.3

CVSS 3.1

Review impact separately from score.

Published · October 8, 2026

Updated · October 29, 2026

Description

A flaw was found in the PostgreSQL JDBC Driver (pgjdbc). When an application transmits a value shorter than its declared length, the driver pads the remaining data with residual bytes from its internal send buffer instead of zero bytes. An attacker who can induce the application to store and subsequently retrieve such data can access sensitive information, including previously executed database queries and parameters from earlier transactions on pooled connections.

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.

CVSS score applicability

The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.

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.

CVSS / CWE

CVSS 3.1 · 5.3
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

CWE-908 · Use of Uninitialized Resource