dependabot[bot] opened a new pull request, #3400:
URL: https://github.com/apache/camel-kamelets/pull/3400

   Bumps [org.postgresql:postgresql](https://github.com/pgjdbc/pgjdbc) from 
42.7.14 to 42.7.15.
   <details>
   <summary>Release notes</summary>
   <p><em>Sourced from <a 
href="https://github.com/pgjdbc/pgjdbc/releases";>org.postgresql:postgresql's 
releases</a>.</em></p>
   <blockquote>
   <h2>v42.7.15</h2>
   <h2>Security</h2>
   <p>This release fixes multiple security vulnerabilities.</p>
   <ul>
   <li>fix: a <code>}</code> inside a string literal, quoted identifier, dollar 
quote or comment no longer ends a <code>{d}</code>, <code>{t}</code>, 
<code>{ts}</code>, <code>{oj}</code> or <code>{escape}</code> JDBC escape, or 
the text after the arguments of a <code>{fn}</code> escape. Before, the rest of 
the literal was parsed as SQL and <code>{fn}</code> escapes in it were 
translated, so quoted text inside such an escape could run as SQL even with its 
quotes doubled. An unterminated literal inside an escape now fails in the 
driver, as it does outside of one. This affects all versions through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-4743-5rfh-f7mp";>GHSA-4743-5rfh-f7mp</a>
 <a 
href="https://nvd.nist.gov/vuln/detail/CVE-2026-134841";>CVE-2026-134841</a></li>
   <li>fix: the parser now accepts the same identifier and dollar quote tag 
characters as the backend: every non-ASCII character, including symbols such as 
<code>U+00A7</code>, non-ASCII spaces and characters outside the BMP. Before, 
the driver did not see a dollar quote whose tag had such a character and read 
the quoted text as SQL: a <code>?</code> became a placeholder, a <code>;</code> 
split the statement, and JDBC escape processing could create a closing tag that 
was not in the original text. A surrogate without its other half is the 
exception: the driver sends it as <code>?</code>, an operator character for the 
backend, so <code>$$</code> after it starts a dollar quote. This affects all 
versions through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-4743-5rfh-f7mp";>GHSA-4743-5rfh-f7mp</a>
 <a 
href="https://nvd.nist.gov/vuln/detail/CVE-2026-134841";>CVE-2026-134841</a></li>
   <li>fix: an <code>E''</code> string with a doubled quote or a continuation 
on a new line is now scanned as one escape string. Before, the driver read the 
part after <code>''</code> as a standard string, so <code>\'</code> ended the 
string for the driver but not for the backend. Text in the literal was then 
treated as SQL, and with <code>preferQueryMode=simple</code> a parameter value 
could run as SQL. <code>E''</code> after a vertical tab, which PostgreSQL 17 
and later count as whitespace, or after an unpaired surrogate is now also 
scanned as an escape string. This affects all versions through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-4743-5rfh-f7mp";>GHSA-4743-5rfh-f7mp</a>
 <a 
href="https://nvd.nist.gov/vuln/detail/CVE-2026-134841";>CVE-2026-134841</a></li>
   <li>fix: <code>{fn right(a, b)}</code> and <code>{fn timestampdiff(t, b, 
c)}</code> now put the subtracted argument in parentheses. Before, an argument 
that started with a minus sign made <code>--</code>, which commented out the 
rest of the line, so text after the next newline, even inside a string literal, 
could run as SQL. The parentheses also fix the result of an expression such as 
<code>{fn right(a, 1+1)}</code>. The deprecated <code>EscapedFunctions</code> 
class gets the same change. This affects all versions through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-4743-5rfh-f7mp";>GHSA-4743-5rfh-f7mp</a>
 <a 
href="https://nvd.nist.gov/vuln/detail/CVE-2026-134841";>CVE-2026-134841</a></li>
   <li>fix: with <code>preferQueryMode=simple</code>, a string parameter with a 
backslash is now sent as an <code>E''</code> literal, which the backend reads 
the same way whatever <code>standard_conforming_strings</code> is. Before, the 
driver escaped the value for the last setting it knew of. When an earlier 
statement of a multi-statement query or batch, a trigger or a configuration 
reload turned the setting off, a value that started with <code>\'</code> ended 
the literal and the rest of it ran as SQL. This affects all versions through 
42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-6rxc-3r4p-gpff";>GHSA-6rxc-3r4p-gpff</a>
 <a 
href="https://nvd.nist.gov/vuln/detail/CVE-2026-134842";>CVE-2026-134842</a></li>
   <li>fix: a query parsed while <code>standard_conforming_strings</code> had 
one value is no longer reused from the statement cache after it changes. In 
simple mode, a statement with a parameter and a backslash that was prepared 
before the change now fails with SQLState <code>55000</code> when it is 
executed after it. Before, a query such as <code>SELECT ?, '\', ?</code> kept 
the placeholders of the old parse, and the second value ran as SQL. This 
affects all versions through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-6rxc-3r4p-gpff";>GHSA-6rxc-3r4p-gpff</a>
 <a 
href="https://nvd.nist.gov/vuln/detail/CVE-2026-134842";>CVE-2026-134842</a></li>
   <li>fix: with <code>standard_conforming_strings</code> off, the yen sign 
(<code>U+00A5</code>) in a string value now gets a backslash before it, and in 
simple mode such a value is sent as <code>E''</code>. The JDK's EUC_JP and 
Shift_JIS charsets encode the yen sign as the byte <code>0x5C</code>, a 
backslash for the backend, so with <code>allowEncodingChanges=true</code> a 
value that started with a yen sign and a quote could end the literal and run as 
SQL. This affects all versions through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-6rxc-3r4p-gpff";>GHSA-6rxc-3r4p-gpff</a>
 <a 
href="https://nvd.nist.gov/vuln/detail/CVE-2026-134842";>CVE-2026-134842</a></li>
   <li>fix: the connection is now closed when an unchecked exception interrupts 
a request, not only an <code>IOException</code>. Before, part of a message 
could stay in the send buffer, and the backend read the next request as the 
rest of it. A spooled <code>setBinaryStream()</code> value executed again after 
SQLState <code>0A000</code> or <code>26000</code> could make the bytes of a 
later uploaded value run as a Query message. In simple mode, a parameter that 
cannot be rendered is now reported as a failed Bind, and the connection stays 
usable. This affects all versions through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-cww3-qmc2-mjmr";>GHSA-cww3-qmc2-mjmr</a>
 <a 
href="https://nvd.nist.gov/vuln/detail/CVE-2026-134843";>CVE-2026-134843</a></li>
   <li>fix: executing again a statement whose spooled 
<code>setBinaryStream()</code> value was already sent now fails with 
&quot;Unable to bind parameter values for statement.&quot; and the connection 
stays usable. Before, it threw a <code>NullPointerException</code>.</li>
   <li>fix: a fastpath call whose arguments add up to more than 
<code>0x3fffffff</code> bytes now fails with SQLState <code>22023</code> before 
anything is sent. Before, the message length was added up in an 
<code>int</code> and could wrap around, so the backend read the rest of the 
argument data as new messages.</li>
   <li>fix: <code>CopyManager</code> <code>cancelCopy()</code> now closes the 
connection and stops at the second error from the backend. Before, it kept 
every exception with no limit, so a server, or an attacker on the network path 
when the server is not verified, could answer a <code>COPY TO STDOUT</code> 
with CopyData messages until the heap was exhausted, or make the loop run 
forever after the stream closed. This affects all versions through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-79c7-9m5j-vqqv";>GHSA-79c7-9m5j-vqqv</a></li>
   <li>fix: the driver now resolves an unqualified type name, such as 
<code>interval</code> for a <code>PGInterval</code> parameter, to the type the 
server resolves it to, by preferring the type that 
<code>pg_type_is_visible()</code> reports. Before, a domain or type with a 
built-in name in another schema, even the temporary schema of another session, 
could be used instead, and the server ran the CHECK of that domain in the 
application's session. This affects all versions through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-j75g-99q3-vr5c";>GHSA-j75g-99q3-vr5c</a>
 <a 
href="https://nvd.nist.gov/vuln/detail/CVE-2026-134844";>CVE-2026-134844</a></li>
   <li>fix: the catalog queries of <code>PgResultSetMetaData</code>, 
<code>TypeInfoCache</code> and <code>PgDatabaseMetaData</code> now qualify 
their operators as <code>OPERATOR(pg_catalog.op)</code> and their functions 
with <code>pg_catalog</code>. Before, a role that could create objects in a 
schema of the <code>search_path</code> could supply an operator with an exact 
type match, such as <code>oid = int4</code> or <code>name = varchar</code>, and 
have it run with the privileges of whoever called <code>getTableName()</code>, 
<code>getTables()</code> and many other methods. This affects all versions 
through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-j75g-99q3-vr5c";>GHSA-j75g-99q3-vr5c</a>
 <a 
href="https://nvd.nist.gov/vuln/detail/CVE-2026-134844";>CVE-2026-134844</a></li>
   <li>fix: an <code>ssl</code> value other than <code>true</code>, 
<code>false</code> or the empty value, ignoring case, now fails with 
&quot;Invalid ssl value&quot; and SQLState <code>08001</code> when 
<code>sslmode</code> is not set. Before, values such as <code>1</code>, 
<code>on</code>, <code>yes</code> or <code>verify-full</code> silently gave 
<code>sslmode=prefer</code>, so the driver continued without TLS when the peer 
refused it and accepted any certificate. This affects 9.4.1208 through 42.7.14 
<a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-3mrw-838h-x9j9";>GHSA-3mrw-838h-x9j9</a>
 <a 
href="https://nvd.nist.gov/vuln/detail/CVE-2026-134845";>CVE-2026-134845</a></li>
   <li>fix: a <code>service</code> given in the Properties passed to 
<code>getConnection()</code> is now used when the URL names no service. Before, 
it was ignored without a warning, including an <code>sslmode=verify-full</code> 
in that <code>pg_service.conf</code> entry, and the connection used 
<code>sslmode=prefer</code>. An unknown service in the Properties now fails as 
it does in the URL. This affects 42.3.2 through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-3mrw-838h-x9j9";>GHSA-3mrw-838h-x9j9</a>
 <a 
href="https://nvd.nist.gov/vuln/detail/CVE-2026-134845";>CVE-2026-134845</a></li>
   <li>fix: <code>BaseDataSource.setUrl()</code> now replaces every property 
that the URL has. Before, it set a property only when the DataSource did not 
have it yet, so a second <code>setUrl()</code>, or a setter followed by 
<code>setUrl()</code>, kept an earlier <code>sslmode</code>, 
<code>channelBinding</code> or <code>gssEncMode</code>, and a later 
<code>sslmode=verify-full</code> was not enforced. Defaults are no longer 
stored, and <code>getUrl()</code> lists only the properties that are set. This 
affects 42.2.6 through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-3mrw-838h-x9j9";>GHSA-3mrw-838h-x9j9</a>
 <a 
href="https://nvd.nist.gov/vuln/detail/CVE-2026-134845";>CVE-2026-134845</a></li>
   <li>fix: <code>BaseDataSource.getUrl()</code> now throws 
<code>IllegalArgumentException</code> for a server name with a <code>/</code> 
or <code>?</code>. Before, such a name could add URL properties, which take 
precedence over all others, for example to turn off certificate checks. This 
affects all versions through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-fxh3-3646-629r";>GHSA-fxh3-3646-629r</a></li>
   <li>fix: an invalid line in <code>pg_service.conf</code> is no longer logged 
whole. A line with an unknown key now logs the key, and a line without 
<code>=</code> logs only its line number. Before, a typo such as <code>password 
= secret</code> printed the password under the default logging setup.</li>
   <li>fix: a startup parameter containing a NUL character is now refused with 
SQLState <code>22023</code>. The StartupMessage is a sequence of NUL terminated 
strings, so a NUL in the database name, <code>currentSchema</code> or 
<code>options</code> ended that value early and turned the rest into further 
parameters, overriding <code>user</code> or <code>replication</code>. 
<code>%00</code> in a URL decodes to a NUL. This affects all versions through 
42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-36wf-f6m2-v42m";>GHSA-36wf-f6m2-v42m</a>
 <a 
href="https://nvd.nist.gov/vuln/detail/CVE-2026-134848";>CVE-2026-134848</a></li>
   <li>fix: a second AuthenticationSASL request in one connection attempt now 
fails with SQLState <code>08P01</code>, as in libpq. Before, a server, or 
anyone on the network path when the server is not verified, could start a new 
SCRAM exchange after each one and make the driver derive the salted password 
any number of times. This affects 42.7.11 through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-52f2-8qjr-7mw4";>GHSA-52f2-8qjr-7mw4</a></li>
   <li>fix: with <code>sslNegotiation=direct</code>, the driver now refuses a 
peer that did not select the ALPN protocol <code>postgresql</code>, with 
libpq's message. Before, an attacker on the network could send a direct 
connection to another TLS service with a certificate for the same host, and the 
driver sent its startup packet there. This affects 42.7.4 through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-fpmr-jv7c-hwff";>GHSA-fpmr-jv7c-hwff</a></li>
   <li>fix: with GSS encryption, every outgoing packet now uses the requested 
privacy, and a write fails when privacy was requested and not applied. Before, 
one forged server packet with the sealed flag cleared made every later packet 
integrity-only, so the SQL and parameter values that followed were sent 
readable. This affects 42.2.15 through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-hcjc-54fp-2p42";>GHSA-hcjc-54fp-2p42</a>
 <a 
href="https://nvd.nist.gov/vuln/detail/CVE-2026-134846";>CVE-2026-134846</a></li>
   <li>fix: with GSS encryption, an incoming packet that is a duplicate, old, 
out of sequence, after a gap or not encrypted is now refused, and the 
connection is closed. Before, an attacker on the network path could drop a 
server reply and deliver an earlier one from the same connection as the answer 
to the current query. This affects 42.2.15 through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-hcjc-54fp-2p42";>GHSA-hcjc-54fp-2p42</a>
 <a 
href="https://nvd.nist.gov/vuln/detail/CVE-2026-134846";>CVE-2026-134846</a></li>
   <li>fix: only the first 32 characters of <code>server_version</code> are now 
parsed, which is enough for three version parts of up to 10 digits each. 
Before, the driver parsed a version of any length with 
<code>java.text.NumberFormat</code>, which takes time quadratic in the length 
of a run of digits, so a server, or anyone on the network path under 
<code>sslmode=prefer</code>, could make a connection attempt use minutes of CPU 
that <code>loginTimeout</code> did not interrupt. This affects all versions 
through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-79c7-9m5j-vqqv";>GHSA-79c7-9m5j-vqqv</a></li>
   <li>fix: a <code>server_version</code> that parses to 0, such as one the 
driver does not recognize, is now parsed once per connection. Before, the 
number was cached with 0 meaning not parsed yet, so <code>getTypeInfo()</code>, 
<code>getColumns()</code> and other metadata calls parsed the string again for 
every row, and a server, or anyone on the network path under 
<code>sslmode=prefer</code>, could keep one call busy for minutes with a long 
<code>server_version</code>. This affects all versions through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-79c7-9m5j-vqqv";>GHSA-79c7-9m5j-vqqv</a></li>
   <li>fix: the <code>AsciiStringInterner</code> of column labels and 
notification channel names now keeps lookups fast when many labels have the 
same hash. Before, a peer could make <code>getConnection()</code> spend minutes 
of CPU, before authentication under the defaults, with a RowDescription of 
labels made to collide. The interner is shared by all connections in the JVM. 
This affects 42.3.1 through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-5hpm-qxj5-h4ww";>GHSA-5hpm-qxj5-h4ww</a></li>
   <li>fix: a text array whose dimensions need more elements than the value 
holds, such as a deeply nested value with mostly empty sub-arrays, now fails 
with SQLState <code>22000</code>. Before, the driver took each length from the 
first sub-array and allocated for it, so a value of under 1 KB from a server, 
or from an attacker on the network path when the server is not verified, could 
exhaust the heap. This affects all versions through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-79c7-9m5j-vqqv";>GHSA-79c7-9m5j-vqqv</a></li>
   <li>fix: <code>PSQLWarning</code> no longer records a stack trace, which 
reduces the heap kept per server notice from about 880 to about 160 bytes. 
<code>getStackTrace()</code> of a server warning is now empty. The warning 
chains still have no limit. This affects all versions through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-79c7-9m5j-vqqv";>GHSA-79c7-9m5j-vqqv</a></li>
   <li>fix: the <code>XMLReader</code> of the default XML factory now has the 
same <code>EntityResolver</code> as its <code>DocumentBuilder</code>. Before, a 
SAX driver that ignores the apache.org features, such as Woodstox, loaded the 
external DTD of an <code>xml</code> value read with 
<code>getSource(SAXSource.class)</code>, so whoever could store such a value 
could make the application send a request to a URL of their choice. This 
affects 42.2.13 through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-8f43-r57c-hghq";>GHSA-8f43-r57c-hghq</a></li>
   <li>fix: a <code>BigDecimal</code> whose scale or weight does not fit the 
binary numeric format is now sent as text, and the server reports the overflow. 
Before, the weight and scale were cut to 16 bits, so 
<code>999999.99e-262144</code> was stored as <code>999999.99</code> and 
<code>1e131072</code> as <code>0</code>, and a scale such as in 
<code>1e-200000000</code> kept a thread busy for minutes before anything was 
sent. This affects 42.3.0 through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-cjcw-9r77-4gwm";>GHSA-cjcw-9r77-4gwm</a>
 <a 
href="https://nvd.nist.gov/vuln/detail/CVE-2026-134847";>CVE-2026-134847</a></li>
   </ul>
   <h2>Changed</h2>
   <ul>
   <li>fix: when <code>sslmode</code> is not set, the <code>ssl</code> 
connection property now accepts only <code>true</code>, <code>false</code> or 
the empty value, ignoring case. Any other value now makes the connection 
attempt fail with &quot;Invalid ssl value&quot; and SQLState 
<code>08001</code>, before a connection is opened. Before, values such as 
<code>1</code>, <code>on</code>, <code>yes</code>, <code>require</code>, 
<code>verify-full</code> or <code>true</code> with a trailing space were 
accepted and silently gave <code>sslmode=prefer</code>, which neither requires 
TLS nor checks the server certificate. Unchanged: <code>true</code> and the 
empty value (as in <code>?ssl</code> in a URL) still mean 
<code>sslmode=verify-full</code>, <code>false</code> and no <code>ssl</code> 
property still mean <code>sslmode=prefer</code>, and <code>ssl</code> is still 
ignored when <code>sslmode</code> is set. An application that now fails should 
set <code>sslmode</code> to the mode it wants, 
 or use <code>ssl=true</code> to require TLS and verify the certificate. This 
affects 9.4.1208 through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-3mrw-838h-x9j9";>GHSA-3mrw-838h-x9j9</a>
 <a 
href="https://nvd.nist.gov/vuln/detail/CVE-2026-134845";>CVE-2026-134845</a></li>
   </ul>
   <h2>Full Changelog: <a 
href="https://github.com/pgjdbc/pgjdbc/compare/REL42.7.14...REL42.7.15";>https://github.com/pgjdbc/pgjdbc/compare/REL42.7.14...REL42.7.15</a></h2>
   </blockquote>
   </details>
   <details>
   <summary>Changelog</summary>
   <p><em>Sourced from <a 
href="https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md";>org.postgresql:postgresql's
 changelog</a>.</em></p>
   <blockquote>
   <h2>[42.7.15] (2026-11-23)</h2>
   <h3>Security</h3>
   <ul>
   <li>fix: a <code>}</code> inside a string literal, quoted identifier, dollar 
quote or comment no longer ends a <code>{d}</code>, <code>{t}</code>, 
<code>{ts}</code>, <code>{oj}</code> or <code>{escape}</code> JDBC escape, or 
the text after the arguments of a <code>{fn}</code> escape. Before, the rest of 
the literal was parsed as SQL and <code>{fn}</code> escapes in it were 
translated, so quoted text inside such an escape could run as SQL even with its 
quotes doubled. An unterminated literal inside an escape now fails in the 
driver, as it does outside of one. This affects all versions through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-4743-5rfh-f7mp";>GHSA-4743-5rfh-f7mp</a>
 <a 
href="https://nvd.nist.gov/vuln/detail/CVE-2026-134841";>CVE-2026-134841</a></li>
   <li>fix: the parser now accepts the same identifier and dollar quote tag 
characters as the backend: every non-ASCII character, including symbols such as 
<code>U+00A7</code>, non-ASCII spaces and characters outside the BMP. Before, 
the driver did not see a dollar quote whose tag had such a character and read 
the quoted text as SQL: a <code>?</code> became a placeholder, a <code>;</code> 
split the statement, and JDBC escape processing could create a closing tag that 
was not in the original text. A surrogate without its other half is the 
exception: the driver sends it as <code>?</code>, an operator character for the 
backend, so <code>$$</code> after it starts a dollar quote. This affects all 
versions through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-4743-5rfh-f7mp";>GHSA-4743-5rfh-f7mp</a>
 <a 
href="https://nvd.nist.gov/vuln/detail/CVE-2026-134841";>CVE-2026-134841</a></li>
   <li>fix: an <code>E''</code> string with a doubled quote or a continuation 
on a new line is now scanned as one escape string. Before, the driver read the 
part after <code>''</code> as a standard string, so <code>\'</code> ended the 
string for the driver but not for the backend. Text in the literal was then 
treated as SQL, and with <code>preferQueryMode=simple</code> a parameter value 
could run as SQL. <code>E''</code> after a vertical tab, which PostgreSQL 17 
and later count as whitespace, or after an unpaired surrogate is now also 
scanned as an escape string. This affects all versions through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-4743-5rfh-f7mp";>GHSA-4743-5rfh-f7mp</a>
 <a 
href="https://nvd.nist.gov/vuln/detail/CVE-2026-134841";>CVE-2026-134841</a></li>
   <li>fix: <code>{fn right(a, b)}</code> and <code>{fn timestampdiff(t, b, 
c)}</code> now put the subtracted argument in parentheses. Before, an argument 
that started with a minus sign made <code>--</code>, which commented out the 
rest of the line, so text after the next newline, even inside a string literal, 
could run as SQL. The parentheses also fix the result of an expression such as 
<code>{fn right(a, 1+1)}</code>. The deprecated <code>EscapedFunctions</code> 
class gets the same change. This affects all versions through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-4743-5rfh-f7mp";>GHSA-4743-5rfh-f7mp</a>
 <a 
href="https://nvd.nist.gov/vuln/detail/CVE-2026-134841";>CVE-2026-134841</a></li>
   <li>fix: with <code>preferQueryMode=simple</code>, a string parameter with a 
backslash is now sent as an <code>E''</code> literal, which the backend reads 
the same way whatever <code>standard_conforming_strings</code> is. Before, the 
driver escaped the value for the last setting it knew of. When an earlier 
statement of a multi-statement query or batch, a trigger or a configuration 
reload turned the setting off, a value that started with <code>\'</code> ended 
the literal and the rest of it ran as SQL. This affects all versions through 
42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-6rxc-3r4p-gpff";>GHSA-6rxc-3r4p-gpff</a>
 <a 
href="https://nvd.nist.gov/vuln/detail/CVE-2026-134842";>CVE-2026-134842</a></li>
   <li>fix: a query parsed while <code>standard_conforming_strings</code> had 
one value is no longer reused from the statement cache after it changes. In 
simple mode, a statement with a parameter and a backslash that was prepared 
before the change now fails with SQLState <code>55000</code> when it is 
executed after it. Before, a query such as <code>SELECT ?, '\', ?</code> kept 
the placeholders of the old parse, and the second value ran as SQL. This 
affects all versions through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-6rxc-3r4p-gpff";>GHSA-6rxc-3r4p-gpff</a>
 <a 
href="https://nvd.nist.gov/vuln/detail/CVE-2026-134842";>CVE-2026-134842</a></li>
   <li>fix: with <code>standard_conforming_strings</code> off, the yen sign 
(<code>U+00A5</code>) in a string value now gets a backslash before it, and in 
simple mode such a value is sent as <code>E''</code>. The JDK's EUC_JP and 
Shift_JIS charsets encode the yen sign as the byte <code>0x5C</code>, a 
backslash for the backend, so with <code>allowEncodingChanges=true</code> a 
value that started with a yen sign and a quote could end the literal and run as 
SQL. This affects all versions through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-6rxc-3r4p-gpff";>GHSA-6rxc-3r4p-gpff</a>
 <a 
href="https://nvd.nist.gov/vuln/detail/CVE-2026-134842";>CVE-2026-134842</a></li>
   <li>fix: the connection is now closed when an unchecked exception interrupts 
a request, not only an <code>IOException</code>. Before, part of a message 
could stay in the send buffer, and the backend read the next request as the 
rest of it. A spooled <code>setBinaryStream()</code> value executed again after 
SQLState <code>0A000</code> or <code>26000</code> could make the bytes of a 
later uploaded value run as a Query message. In simple mode, a parameter that 
cannot be rendered is now reported as a failed Bind, and the connection stays 
usable. This affects all versions through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-cww3-qmc2-mjmr";>GHSA-cww3-qmc2-mjmr</a>
 <a 
href="https://nvd.nist.gov/vuln/detail/CVE-2026-134843";>CVE-2026-134843</a></li>
   <li>fix: executing again a statement whose spooled 
<code>setBinaryStream()</code> value was already sent now fails with 
&quot;Unable to bind parameter values for statement.&quot; and the connection 
stays usable. Before, it threw a <code>NullPointerException</code>.</li>
   <li>fix: a fastpath call whose arguments add up to more than 
<code>0x3fffffff</code> bytes now fails with SQLState <code>22023</code> before 
anything is sent. Before, the message length was added up in an 
<code>int</code> and could wrap around, so the backend read the rest of the 
argument data as new messages.</li>
   <li>fix: <code>CopyManager</code> <code>cancelCopy()</code> now closes the 
connection and stops at the second error from the backend. Before, it kept 
every exception with no limit, so a server, or an attacker on the network path 
when the server is not verified, could answer a <code>COPY TO STDOUT</code> 
with CopyData messages until the heap was exhausted, or make the loop run 
forever after the stream closed. This affects all versions through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-79c7-9m5j-vqqv";>GHSA-79c7-9m5j-vqqv</a></li>
   <li>fix: the driver now resolves an unqualified type name, such as 
<code>interval</code> for a <code>PGInterval</code> parameter, to the type the 
server resolves it to, by preferring the type that 
<code>pg_type_is_visible()</code> reports. Before, a domain or type with a 
built-in name in another schema, even the temporary schema of another session, 
could be used instead, and the server ran the CHECK of that domain in the 
application's session. This affects all versions through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-j75g-99q3-vr5c";>GHSA-j75g-99q3-vr5c</a>
 <a 
href="https://nvd.nist.gov/vuln/detail/CVE-2026-134844";>CVE-2026-134844</a></li>
   <li>fix: the catalog queries of <code>PgResultSetMetaData</code>, 
<code>TypeInfoCache</code> and <code>PgDatabaseMetaData</code> now qualify 
their operators as <code>OPERATOR(pg_catalog.op)</code> and their functions 
with <code>pg_catalog</code>. Before, a role that could create objects in a 
schema of the <code>search_path</code> could supply an operator with an exact 
type match, such as <code>oid = int4</code> or <code>name = varchar</code>, and 
have it run with the privileges of whoever called <code>getTableName()</code>, 
<code>getTables()</code> and many other methods. This affects all versions 
through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-j75g-99q3-vr5c";>GHSA-j75g-99q3-vr5c</a>
 <a 
href="https://nvd.nist.gov/vuln/detail/CVE-2026-134844";>CVE-2026-134844</a></li>
   <li>fix: an <code>ssl</code> value other than <code>true</code>, 
<code>false</code> or the empty value, ignoring case, now fails with 
&quot;Invalid ssl value&quot; and SQLState <code>08001</code> when 
<code>sslmode</code> is not set. Before, values such as <code>1</code>, 
<code>on</code>, <code>yes</code> or <code>verify-full</code> silently gave 
<code>sslmode=prefer</code>, so the driver continued without TLS when the peer 
refused it and accepted any certificate. This affects 9.4.1208 through 42.7.14 
<a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-3mrw-838h-x9j9";>GHSA-3mrw-838h-x9j9</a>
 <a 
href="https://nvd.nist.gov/vuln/detail/CVE-2026-134845";>CVE-2026-134845</a></li>
   <li>fix: a <code>service</code> given in the Properties passed to 
<code>getConnection()</code> is now used when the URL names no service. Before, 
it was ignored without a warning, including an <code>sslmode=verify-full</code> 
in that <code>pg_service.conf</code> entry, and the connection used 
<code>sslmode=prefer</code>. An unknown service in the Properties now fails as 
it does in the URL. This affects 42.3.2 through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-3mrw-838h-x9j9";>GHSA-3mrw-838h-x9j9</a>
 <a 
href="https://nvd.nist.gov/vuln/detail/CVE-2026-134845";>CVE-2026-134845</a></li>
   <li>fix: <code>BaseDataSource.setUrl()</code> now replaces every property 
that the URL has. Before, it set a property only when the DataSource did not 
have it yet, so a second <code>setUrl()</code>, or a setter followed by 
<code>setUrl()</code>, kept an earlier <code>sslmode</code>, 
<code>channelBinding</code> or <code>gssEncMode</code>, and a later 
<code>sslmode=verify-full</code> was not enforced. Defaults are no longer 
stored, and <code>getUrl()</code> lists only the properties that are set. This 
affects 42.2.6 through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-3mrw-838h-x9j9";>GHSA-3mrw-838h-x9j9</a>
 <a 
href="https://nvd.nist.gov/vuln/detail/CVE-2026-134845";>CVE-2026-134845</a></li>
   <li>fix: <code>BaseDataSource.getUrl()</code> now throws 
<code>IllegalArgumentException</code> for a server name with a <code>/</code> 
or <code>?</code>. Before, such a name could add URL properties, which take 
precedence over all others, for example to turn off certificate checks. This 
affects all versions through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-fxh3-3646-629r";>GHSA-fxh3-3646-629r</a></li>
   <li>fix: an invalid line in <code>pg_service.conf</code> is no longer logged 
whole. A line with an unknown key now logs the key, and a line without 
<code>=</code> logs only its line number. Before, a typo such as <code>password 
= secret</code> printed the password under the default logging setup.</li>
   <li>fix: a startup parameter containing a NUL character is now refused with 
SQLState <code>22023</code>. The StartupMessage is a sequence of NUL terminated 
strings, so a NUL in the database name, <code>currentSchema</code> or 
<code>options</code> ended that value early and turned the rest into further 
parameters, overriding <code>user</code> or <code>replication</code>. 
<code>%00</code> in a URL decodes to a NUL. This affects all versions through 
42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-36wf-f6m2-v42m";>GHSA-36wf-f6m2-v42m</a>
 <a 
href="https://nvd.nist.gov/vuln/detail/CVE-2026-134848";>CVE-2026-134848</a></li>
   <li>fix: a second AuthenticationSASL request in one connection attempt now 
fails with SQLState <code>08P01</code>, as in libpq. Before, a server, or 
anyone on the network path when the server is not verified, could start a new 
SCRAM exchange after each one and make the driver derive the salted password 
any number of times. This affects 42.7.11 through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-52f2-8qjr-7mw4";>GHSA-52f2-8qjr-7mw4</a></li>
   <li>fix: with <code>sslNegotiation=direct</code>, the driver now refuses a 
peer that did not select the ALPN protocol <code>postgresql</code>, with 
libpq's message. Before, an attacker on the network could send a direct 
connection to another TLS service with a certificate for the same host, and the 
driver sent its startup packet there. This affects 42.7.4 through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-fpmr-jv7c-hwff";>GHSA-fpmr-jv7c-hwff</a></li>
   <li>fix: with GSS encryption, every outgoing packet now uses the requested 
privacy, and a write fails when privacy was requested and not applied. Before, 
one forged server packet with the sealed flag cleared made every later packet 
integrity-only, so the SQL and parameter values that followed were sent 
readable. This affects 42.2.15 through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-hcjc-54fp-2p42";>GHSA-hcjc-54fp-2p42</a>
 <a 
href="https://nvd.nist.gov/vuln/detail/CVE-2026-134846";>CVE-2026-134846</a></li>
   <li>fix: with GSS encryption, an incoming packet that is a duplicate, old, 
out of sequence, after a gap or not encrypted is now refused, and the 
connection is closed. Before, an attacker on the network path could drop a 
server reply and deliver an earlier one from the same connection as the answer 
to the current query. This affects 42.2.15 through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-hcjc-54fp-2p42";>GHSA-hcjc-54fp-2p42</a>
 <a 
href="https://nvd.nist.gov/vuln/detail/CVE-2026-134846";>CVE-2026-134846</a></li>
   <li>fix: only the first 32 characters of <code>server_version</code> are now 
parsed, which is enough for three version parts of up to 10 digits each. 
Before, the driver parsed a version of any length with 
<code>java.text.NumberFormat</code>, which takes time quadratic in the length 
of a run of digits, so a server, or anyone on the network path under 
<code>sslmode=prefer</code>, could make a connection attempt use minutes of CPU 
that <code>loginTimeout</code> did not interrupt. This affects all versions 
through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-79c7-9m5j-vqqv";>GHSA-79c7-9m5j-vqqv</a></li>
   <li>fix: a <code>server_version</code> that parses to 0, such as one the 
driver does not recognize, is now parsed once per connection. Before, the 
number was cached with 0 meaning not parsed yet, so <code>getTypeInfo()</code>, 
<code>getColumns()</code> and other metadata calls parsed the string again for 
every row, and a server, or anyone on the network path under 
<code>sslmode=prefer</code>, could keep one call busy for minutes with a long 
<code>server_version</code>. This affects all versions through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-79c7-9m5j-vqqv";>GHSA-79c7-9m5j-vqqv</a></li>
   <li>fix: the <code>AsciiStringInterner</code> of column labels and 
notification channel names now keeps lookups fast when many labels have the 
same hash. Before, a peer could make <code>getConnection()</code> spend minutes 
of CPU, before authentication under the defaults, with a RowDescription of 
labels made to collide. The interner is shared by all connections in the JVM. 
This affects 42.3.1 through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-5hpm-qxj5-h4ww";>GHSA-5hpm-qxj5-h4ww</a></li>
   <li>fix: a text array whose dimensions need more elements than the value 
holds, such as a deeply nested value with mostly empty sub-arrays, now fails 
with SQLState <code>22000</code>. Before, the driver took each length from the 
first sub-array and allocated for it, so a value of under 1 KB from a server, 
or from an attacker on the network path when the server is not verified, could 
exhaust the heap. This affects all versions through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-79c7-9m5j-vqqv";>GHSA-79c7-9m5j-vqqv</a></li>
   <li>fix: <code>PSQLWarning</code> no longer records a stack trace, which 
reduces the heap kept per server notice from about 880 to about 160 bytes. 
<code>getStackTrace()</code> of a server warning is now empty. The warning 
chains still have no limit. This affects all versions through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-79c7-9m5j-vqqv";>GHSA-79c7-9m5j-vqqv</a></li>
   <li>fix: the <code>XMLReader</code> of the default XML factory now has the 
same <code>EntityResolver</code> as its <code>DocumentBuilder</code>. Before, a 
SAX driver that ignores the apache.org features, such as Woodstox, loaded the 
external DTD of an <code>xml</code> value read with 
<code>getSource(SAXSource.class)</code>, so whoever could store such a value 
could make the application send a request to a URL of their choice. This 
affects 42.2.13 through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-8f43-r57c-hghq";>GHSA-8f43-r57c-hghq</a></li>
   <li>fix: a <code>BigDecimal</code> whose scale or weight does not fit the 
binary numeric format is now sent as text, and the server reports the overflow. 
Before, the weight and scale were cut to 16 bits, so 
<code>999999.99e-262144</code> was stored as <code>999999.99</code> and 
<code>1e131072</code> as <code>0</code>, and a scale such as in 
<code>1e-200000000</code> kept a thread busy for minutes before anything was 
sent. This affects 42.3.0 through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-cjcw-9r77-4gwm";>GHSA-cjcw-9r77-4gwm</a>
 <a 
href="https://nvd.nist.gov/vuln/detail/CVE-2026-134847";>CVE-2026-134847</a></li>
   </ul>
   <h3>Changed</h3>
   <ul>
   <li>fix: when <code>sslmode</code> is not set, the <code>ssl</code> 
connection property now accepts only <code>true</code>, <code>false</code> or 
the empty value, ignoring case. Any other value now makes the connection 
attempt fail with &quot;Invalid ssl value&quot; and SQLState 
<code>08001</code>, before a connection is opened. Before, values such as 
<code>1</code>, <code>on</code>, <code>yes</code>, <code>require</code>, 
<code>verify-full</code> or <code>true</code> with a trailing space were 
accepted and silently gave <code>sslmode=prefer</code>, which neither requires 
TLS nor checks the server certificate. Unchanged: <code>true</code> and the 
empty value (as in <code>?ssl</code> in a URL) still mean 
<code>sslmode=verify-full</code>, <code>false</code> and no <code>ssl</code> 
property still mean <code>sslmode=prefer</code>, and <code>ssl</code> is still 
ignored when <code>sslmode</code> is set. An application that now fails should 
set <code>sslmode</code> to the mode it wants, 
 or use <code>ssl=true</code> to require TLS and verify the certificate. This 
affects 9.4.1208 through 42.7.14 <a 
href="https://github.com/pgjdbc/pgjdbc/security/advisories/GHSA-3mrw-838h-x9j9";>GHSA-3mrw-838h-x9j9</a>
 <a 
href="https://nvd.nist.gov/vuln/detail/CVE-2026-134845";>CVE-2026-134845</a></li>
   </ul>
   </blockquote>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a 
href="https://github.com/pgjdbc/pgjdbc/commit/5873f9abf7f4ebabf818d8c1beb20ec8f8fc4a9d";><code>5873f9a</code></a>
 test: compare the translated message in CancelCopyErrorsTest</li>
   <li><a 
href="https://github.com/pgjdbc/pgjdbc/commit/73e1fbcf4b6446369a3e442e085a4c5f4ce13aa8";><code>73e1fbc</code></a>
 test: skip standard_conforming_strings=off tests on PostgreSQL 19</li>
   <li><a 
href="https://github.com/pgjdbc/pgjdbc/commit/e4a1e1a4b70e90f29ae97ec62dd1773a262723c0";><code>e4a1e1a</code></a>
 test: run SearchPathOperatorTest on PostgreSQL 9.1</li>
   <li><a 
href="https://github.com/pgjdbc/pgjdbc/commit/5ad9ef8a3c516bc7a57a699a0dc4897ab26e4a80";><code>5ad9ef8</code></a>
 docs: Add changelog entries for 42.7.15 security release</li>
   <li><a 
href="https://github.com/pgjdbc/pgjdbc/commit/af3b0a46b69cc69171aa7ece9e6c74ac6eb21f33";><code>af3b0a4</code></a>
 docs: Update changelog for 42.7.14 release</li>
   <li><a 
href="https://github.com/pgjdbc/pgjdbc/commit/c6d2f0303485eb30490cded58187df298761eec1";><code>c6d2f03</code></a>
 test: cover a server_version that parses to 0</li>
   <li><a 
href="https://github.com/pgjdbc/pgjdbc/commit/027f021327d48f263a641440b4874b4de84f7acd";><code>027f021</code></a>
 fix: cache a server_version that parses to 0</li>
   <li><a 
href="https://github.com/pgjdbc/pgjdbc/commit/f8a4e36f9210e95b211fba363205f8110da3402a";><code>f8a4e36</code></a>
 test: cover text arrays whose dimensions exceed what they hold</li>
   <li><a 
href="https://github.com/pgjdbc/pgjdbc/commit/2f0740c2ee0dc18ff31c1cf95d37e765be3efaef";><code>2f0740c</code></a>
 fix: refuse a text array whose dimensions exceed what it holds</li>
   <li><a 
href="https://github.com/pgjdbc/pgjdbc/commit/13ea08555e7210d563d75768da93dd4031eeb5d9";><code>13ea085</code></a>
 test: cover AsciiStringInterner with labels of one hash</li>
   <li>Additional commits viewable in <a 
href="https://github.com/pgjdbc/pgjdbc/compare/REL42.7.14...REL42.7.15";>compare 
view</a></li>
   </ul>
   </details>
   <br />
   
   
   [![Dependabot compatibility 
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.postgresql:postgresql&package-manager=maven&previous-version=42.7.14&new-version=42.7.15)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
   
   Dependabot will resolve any conflicts with this PR as long as you don't 
alter it yourself. You can also trigger a rebase manually by commenting 
`@dependabot rebase`.
   
   [//]: # (dependabot-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   <details>
   <summary>Dependabot commands and options</summary>
   <br />
   
   You can trigger Dependabot actions by commenting on this PR:
   - `@dependabot rebase` will rebase this PR
   - `@dependabot recreate` will recreate this PR, overwriting any edits that 
have been made to it
   - `@dependabot show <dependency name> ignore conditions` will show all of 
the ignore conditions of the specified dependency
   - `@dependabot ignore this major version` will close this PR and stop 
Dependabot creating any more for this major version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this minor version` will close this PR and stop 
Dependabot creating any more for this minor version (unless you reopen the PR 
or upgrade to it yourself)
   - `@dependabot ignore this dependency` will close this PR and stop 
Dependabot creating any more for this dependency (unless you reopen the PR or 
upgrade to it yourself)
   
   
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to