Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-107315

published medium CVSS 3.1 · 5.3

pgjdbc pads a value shorter than its declared length with bytes of earlier statements (rather than zeros)

Published
07 Oct 2026, 23:03:18 UTC
Updated
08 Oct 2026, 14:41:49 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
pgjdbc — org.postgresql:postgresqlpgjdbc · 42.7.4 through 42.7.13 · Other versions: unaffected Affected Not stated PostgreSQL
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
SUSE / openSUSE openSUSE-Tumbleweed postgresql-jdbcaarch64 Advisory build 42.7.15-1.1 OPENSUSE-SU-2026:12715-1
SUSE / openSUSE openSUSE-Tumbleweed postgresql-jdbcppc64le Advisory build 42.7.15-1.1 OPENSUSE-SU-2026:12715-1
SUSE / openSUSE openSUSE-Tumbleweed postgresql-jdbcs390x Advisory build 42.7.15-1.1 OPENSUSE-SU-2026:12715-1
SUSE / openSUSE openSUSE-Tumbleweed postgresql-jdbcx86_64 Advisory build 42.7.15-1.1 OPENSUSE-SU-2026:12715-1
SUSE / openSUSE openSUSE-Tumbleweed postgresql-jdbc-javadocaarch64 Advisory build 42.7.15-1.1 OPENSUSE-SU-2026:12715-1
SUSE / openSUSE openSUSE-Tumbleweed postgresql-jdbc-javadocppc64le Advisory build 42.7.15-1.1 OPENSUSE-SU-2026:12715-1
Show 2 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
SUSE / openSUSE openSUSE-Tumbleweed postgresql-jdbc-javadocs390x Advisory build 42.7.15-1.1 OPENSUSE-SU-2026:12715-1
SUSE / openSUSE openSUSE-Tumbleweed postgresql-jdbc-javadocx86_64 Advisory build 42.7.15-1.1 OPENSUSE-SU-2026:12715-1

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.

en · PostgreSQL · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
5.3 / 10
Severity
medium
Provider
PostgreSQL · cna
Vector string
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
pgjdbc pgjdbc 42.7.4 through 42.7.13 (affected · maven)Default: unaffected PostgreSQL · cna

Weaknesses

2
  • CWE-226 CWE-226 Sensitive Information in Resource Not Removed Before Reuse (PostgreSQL · cna)
  • CWE-201 CWE-201 Insertion of Sensitive Information Into Sent Data (PostgreSQL · cna)

References

1

Provider assertions

2

PostgreSQL · cna

pgjdbc pads a value shorter than its declared length with bytes of earlier statements (rather than zeros)

CISA-ADP · adp

CISA ADP Vulnrichment

Provenance

Schema
5.2
Searchable
yes
Content hash
a6914942a92179a64bca48541ba5668a13b173ec6d9abefd0c6f60f7b0e01171
Ingested
09 Oct 2026, 16:25:58 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected