[From nobody Fri Oct  9 10:53:05 2026
Received: (at submit) by bugs.debian.org; 8 Oct 2026 17:32:42 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
 (2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-3.9 required=4.0 tests=BAYES_00, FOURLA, MD5_SHA1_SUM,
 SPF_HELO_NONE,SPF_PASS,WORD_WITHOUT_VOWELS autolearn=no
 autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 73; hammy, 150; neutral, 103; spammy,
 0. spammytokens:
 hammytokens:0.000-+--UD:security-tracker.debian.org, 
 0.000-+--securitytrackerdebianorg,
 0.000-+--security-tracker.debian.org, 0.000-+--H*r:jmm,
 0.000-+--sk:team@se
Return-path: &lt;jmm@inutil.org&gt;
Received: from inutil.org ([51.38.114.215]:56396 helo=vps-b7ad3695.vps.ovh.net)
 by buxtehude.debian.org with esmtp (Exim 4.96)
 (envelope-from &lt;jmm@inutil.org&gt;) id 1xEryz-008LUq-1U
 for submit@bugs.debian.org; Thu, 08 Oct 2026 17:32:42 +0000
Received: from soju.fritz.box (p548dc0ed.dip0.t-ipconnect.de [84.141.192.237])
 by vps-b7ad3695.vps.ovh.net (Postfix) with ESMTPSA id 7D79C24C
 for &lt;submit@bugs.debian.org&gt;; Thu,  8 Oct 2026 17:32:40 +0000 (UTC)
Received: from jmm by soju.fritz.box with local (Exim 4.100.1)
 (envelope-from &lt;jmm@soju.westfalen.local&gt;) id 1xEryw-00000000xFr-1ShL
 for submit@bugs.debian.org; Thu, 08 Oct 2026 19:32:38 +0200
Date: Thu, 8 Oct 2026 19:32:38 +0200
To: submit@bugs.debian.org
Subject: libpgjava: CVE-2026-107315 CVE-2026-107314
Message-ID: &lt;asfTtreSw0d5PaZU@pisco.westfalen.local&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
From: =?UTF-8?Q?Moritz_M=C3=BChlenhoff?= &lt;jmm@inutil.org&gt;
Delivered-To: submit@bugs.debian.org

Source: libpgjava
X-Debbugs-CC: team@security.debian.org
Severity: important
Tags: security

Hi,

The following vulnerabilities were published for libpgjava.

CVE-2026-107315[0]:
| 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.

https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-f64h-wr5q-3qf3
https://github.com/pgjdbc/pgjdbc/commit/c8998c8e9632a7cdecb128dd7cd122d330b3598a (REL42.7.14)

CVE-2026-107314[1]:
| pgjdbc, the PostgreSQL JDBC Driver, versions 42.7.11 through 42.7.13
| enforce no restriction when the requireAuth connection property
| excludes all six authentication methods the driver knows, for
| example requireAuth=!password,!md5,!gss,!sspi,!scram-sha-256,!none.
| The driver then accepts any method the server asks for, including
| cleartext password authentication. A value without a method in it,
| such as requireAuth=, (a single comma), is affected the same way. An
| attacker positioned between the application and its server can ask
| for cleartext password authentication and receive the database
| password. A positive list such as requireAuth=scram-sha-256, and a
| partial exclusion such as requireAuth=!password,!md5, are enforced
| correctly. The property has no default value, so a deployment that
| does not set it is not affected. 42.7.14 fixes the problem: such a
| connection is refused with SQLState 08004, and a value without a
| method in it is rejected as invalid.

https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-rhp9-mr79-r74h
https://github.com/pgjdbc/pgjdbc/commit/a65ef98fe37bf0ecbd1a6331205cdb924985ed75 (REL42.7.14)
 

If you fix the vulnerabilities please also make sure to include the
CVE (Common Vulnerabilities &amp; Exposures) ids in your changelog entry.

For further information see:

[0] https://security-tracker.debian.org/tracker/CVE-2026-107315
    https://www.cve.org/CVERecord?id=CVE-2026-107315
[1] https://security-tracker.debian.org/tracker/CVE-2026-107314
    https://www.cve.org/CVERecord?id=CVE-2026-107314

Please adjust the affected versions in the BTS as needed.
]