Sensitive Information in Resource Not Removed Before Reuse Affecting org.postgresql:postgresql package, versions [42.7.4, 42.7.14)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.12% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGPOSTGRESQL-20571178
  • published8 Oct 2026
  • disclosed8 Oct 2026
  • creditvlsi

Introduced: 8 Oct 2026

NewCVE-2026-107315  (opens in a new tab)
CWE-226  (opens in a new tab)

How to fix?

Upgrade org.postgresql:postgresql to version 42.7.14 or higher.

Overview

org.postgresql:postgresql is a Java JDBC 4.2 (JRE 8+) driver for PostgreSQL database.

Affected versions of this package are vulnerable to Sensitive Information in Resource Not Removed Before Reuse in the ByteStreamWriter, CopyIn.writeToCopy, PGCopyOutputStream.write, LargeObject.write, or Blob.setBytes processes. An attacker can retrieve sensitive information from previous statements by supplying data shorter than the declared length, causing the padding to include bytes from earlier traffic. This is only exploitable if the attacker can both store and subsequently read back such a value.

CVSS Base Scores

version 4.0
version 3.1