Skip to content

build(deps): bump the minor-and-patch group across 1 directory with 7 updates - #56

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/gradle/minor-and-patch-fe76e8597d
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/gradle/minor-and-patch-fe76e8597d

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Dec 2, 2026

Copy link
Copy Markdown
Contributor

Bumps the minor-and-patch group with 7 updates in the / directory:

Package From To
org.bouncycastle:bcprov-jdk18on 1.86 1.87
org.mockito:mockito-core 5.11.0 5.25.0
org.mockito:mockito-junit-jupiter 5.11.0 5.25.0
org.postgresql:postgresql 42.7.13 42.7.15
org.flywaydb:flyway-core 13.12.1 13.13.0
org.flywaydb:flyway-database-postgresql 13.12.1 13.13.0
gradle-wrapper 9.5.1 9.9.3

Updates org.bouncycastle:bcprov-jdk18on from 1.86 to 1.87

Changelog

Sourced from org.bouncycastle:bcprov-jdk18on's changelog.

Version 1.87

Release: 1.87
Date: 2026, 11th November.

Defects Fixed

  • PrivateKeyFactory, and so the ML-DSA and ML-KEM KeyFactory services, ignored the tag of the RFC 9881 / RFC 9935 private key CHOICE and applied no length checks, so mislabelled or inconsistent seed, expandedKey and both forms were accepted. Each form is now checked for its tag, exact lengths and consistency; the pre-RFC draft forms are still read.
  • X500Name.equals was quadratic in the number of RDNs for names that are equal but not byte-identical, and is reached from unverified CMS, TSP and S/MIME messages; the CMS signer and recipient stores could also be slowed with colliding ids. Name comparison is now n log n and the stores no longer hash their entries (CVE-2026-103611).
  • Tables keyed on ASN.1 object hash codes, which a sender can make collide - Extensions, X509Extensions, ExtendedKeyUsage, the CMS AttributeTable, the EST CSRAttributesResponse and the CMS digest algorithm sets - made parsing quadratic in the number of entries. They are now ordered maps and sets.
  • CMSSignedData digested the content once for every signer verified. Signers using the same digest algorithm now share one digest, and the new org.bouncycastle.cms.max_digest_algorithms property can bound the number of distinct digest algorithms computed over one message.
  • The verify side of the ML-DSA-CALCULATE-MU signature service, and MLDSASigner.verifyMu, did not absorb the message, so a correct mu was accepted only for an empty message, and the signer was left unusable afterwards. verifyMu now derives mu as generateMu does and compares in constant time.
  • KeyPairGenerator.getInstance("SM2", "BC") was built on the generic EC generator and could draw a private key of n - 1, which GB/T 32918.1 excludes. It now uses SM2KeyPairGenerator.
  • ESTResponse was quadratic in the number of repeated header lines, and a read limit only applied after the header block. Header values are now collected once and the header block counts against the read limit.
  • The C509 encoding of RFC 6955 proof-of-possession signature values and of the RFC 9883 privateKeyPossessionStatement attribute did not follow draft-ietf-cose-cbor-encoded-cert-21 and could not be reconstructed. Both now convert in each direction, and the draft-ietf-cose-c509-test-vectors-02 vectors drive the tests.
  • DANE SMIMEA support: JndiDANEFetcherFactory mangled the owner name of listed records so lookups failed, DANEEntryStore kept only one entry per owner name, and DANEEntrySelectorFactory mishandled addresses with a quoted local-part or no '@'. All three are corrected, and DANEEntry rejects a record that is not a full certificate entry.
  • TimeStampToken accepted a token whose signing-time attribute disagreed with the genTime in its TSTInfo. Such a token is now rejected (org.bouncycastle.tsp.allow_inconsistent_signing_time switches the check off), and TimeStampTokenGenerator sets signing-time from the genTime (CVE-2026-103615).
  • TimeStampToken.validate() accepted an MD5 message imprint and TSPAlgorithms.ALLOWED included MD5. MD5 is removed from ALLOWED, validate() rejects an imprint algorithm outside the allowed set, and TSPAlgorithms.LEGACY and org.bouncycastle.tsp.allowed_imprint_algorithms are provided for callers needing it (CVE-2026-103606).
  • CRL-based revocation checking mishandled a CRL entry reasonCode outside the RFC 5280 set: 11 left the certificate unrevoked and other values threw an unchecked exception. An undefined reasonCode is now processed as unspecified.
  • OERDefinition.enumItem(label, value) discarded the explicit enumerand value. The value is now kept and unnumbered items are numbered as X.680 sec. 20 specifies.
  • OERInputStream did not detect a stream ending inside an INTEGER or BIT STRING value, decoding the zero-padded buffer instead. Length-driven reads now fail with EOFException and do not allocate a declared length up front.
  • The OER codec encoded a signed INTEGER whose upper bound is exactly the maximum of a fixed-size word in the next word up; X.696 sec. 10.4 bounds are inclusive.
  • The ETSI TS 102 941 response code wrappers range-checked a truncated int value, so 2^32 was accepted as "ok". Out-of-range values are now rejected.
  • OERInputStream accepted an empty group of octets as zero in four places where X.696 requires at least one octet. Each now fails with an IOException.
  • OEROutputStream could not encode a CHOICE whose chosen alternative has a tag number of 63 or more.
  • OEROutputStream rejected a required SEQUENCE component as absent when it arrived wrapped in a defined OEROptional.
  • OERInputStream failed with a NullPointerException for an absent optional SEQUENCE component selected through a switch that has a default value.
  • OERInputStream truncated a SEQUENCE OF count to 32 bits. A count that does not fit in 31 bits is now rejected.
  • OERInputStream rejected a valid SEQUENCE OF on streams whose available() reported fewer bytes than the element count. The count is now bounded by the decoder's allocation ceiling instead.
  • OERInputStream could not decode a variable-size BIT STRING, and mis-sized a fixed one that is not a whole number of octets. Both forms of X.696 clause 13 are now decoded, and OERDefinition gains bitString() and bitString(lower, upper).
  • OEROutputStream wrote a negative INTEGER under a type with a non-negative lower bound as a different, positive value. It is now rejected.
  • OERInputStream.uint64() read its value as signed; it now reads unsigned.
  • The OER codec treated an INTEGER with a positive lower bound as signed, where X.696 sec. 10.2 gives it the unsigned encodings.
  • The OER codec encoded and decoded negative ENUMERATED values wrongly; both directions now follow X.696 sec. 11.4.
  • ASN1Enumerated rejected negative values, which X.680 allows. The checks are removed, isNegative() and longValueExact() are added, and valueOf() returns shared instances for 0 to 15.
  • A PBEKey stored in a BCFKS KeyStore was not reported as a key entry, so KeyStore.getEntry() returned null for it.
  • The CMS content-type decoders (SignedData, EnvelopedData, AuthenticatedData, AuthEnvelopedData, EncryptedData) and the streaming CMS parsers let unchecked exceptions escape for short or malformed content. Malformed content is now reported through the declared CMSException or IOException.
  • A KeyAgreement asked for its shared secret before doPhase returned data rather than throwing IllegalStateException - for Diffie-Hellman, the private value itself. Every key agreement in the provider now refuses the request.
  • Mac.getInstance and KeyGenerator.getInstance failed for the HMAC SHA-512/224 and SHA-512/256 object identifiers; both are now aliased.
  • A KTSParameterSpec naming an HKDF with parameters was accepted at Cipher init and failed with an unchecked exception from wrap or unwrap. The KTS Ciphers now report it at init as InvalidAlgorithmParameterException.
  • A DTLS handshake deadlocked when a handshake message ahead of the peer's ChangeCipherSpec was lost while the ChangeCipherSpec and Finished arrived, as retransmissions were discarded as belonging to the old epoch. They are now accepted until the handshake completes.
  • The lightweight key info factories encoded a GOST R 34.10-2012 key on a legacy CryptoPro curve under id-GostR3410-2001. The digestParamSet now decides, and is OPTIONAL on read and write per RFC 9215 (bc-csharp github #707).
  • Name-constraint checking canonicalised a host with an extra empty label, such as "example.com..", into a name that matched no constraint, escaping an excluded subtree. A tested name whose host carries an empty label is now refused where a constraint of that type is in force (github PR #2436).
  • SSLContext.createSSLEngine() from BCJSSE in the 1.86 bctls jar failed with NoSuchMethodError on JDK 9 and later, from a return type mismatch between the base and jdk1.9 copies of SSLEngineUtil. The copies now agree, and a new multiReleaseCheck build task checks every multi-release jar for such mismatches (github #2448).
  • The BCFKS key store derived its scrypt keys with the block size r in place of the parallelization parameter p, so stores with p != r were not RFC 7914 readable. Derivation now follows RFC 7914, older stores are still read, and org.bouncycastle.bcfks.scrypt_p_eq_r (default true) keeps written stores readable by earlier releases.
  • Building an evidence record was cubic in the number of data objects. SortedHashList and SortedIndexedHashList now sort once, with the same resulting order and root hashes (github #2456).
  • ERSDataGroup recomputed its hash on every request rather than using the ERSCachingData cache.
  • ERSArchiveTimeStampGenerator rebuilt its reduced hash tree on every call; it is now built once.
  • Grain-128AEAD returned corrupted plaintext, with no error, from a decryption driven in chunks carrying more than the tag length. One-shot decryption and encryption were unaffected (github PR #2447).
  • The certificate path validators looked up an indirect CRL entry by serial number alone, so where two issuers had revoked the same serial number a revoked certificate could be reported as not revoked. Entries are now matched on issuer and serial number, including for CRLs parsed by the JDK's provider and in the jdk1.4 distribution.

... (truncated)

Commits

Updates org.mockito:mockito-core from 5.11.0 to 5.25.0

Release notes

Sourced from org.mockito:mockito-core's releases.

v5.25.0

Changelog generated by Shipkit Changelog Gradle Plugin

5.25.0

v5.24.0

Changelog generated by Shipkit Changelog Gradle Plugin

5.24.0

... (truncated)

Commits

Updates org.mockito:mockito-junit-jupiter from 5.11.0 to 5.25.0

Release notes

Sourced from org.mockito:mockito-junit-jupiter's releases.

v5.25.0

Changelog generated by Shipkit Changelog Gradle Plugin

5.25.0

v5.24.0

Changelog generated by Shipkit Changelog Gradle Plugin

5.24.0

... (truncated)

Commits

Updates org.postgresql:postgresql from 42.7.13 to 42.7.15

Release notes

Sourced from org.postgresql:postgresql's releases.

v42.7.15

Security

This release fixes multiple security vulnerabilities.

  • fix: a } inside a string literal, quoted identifier, dollar quote or comment no longer ends a {d}, {t}, {ts}, {oj} or {escape} JDBC escape, or the text after the arguments of a {fn} escape. Before, the rest of the literal was parsed as SQL and {fn} 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 GHSA-4743-5rfh-f7mp CVE-2026-134841
  • fix: the parser now accepts the same identifier and dollar quote tag characters as the backend: every non-ASCII character, including symbols such as U+00A7, 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 ? became a placeholder, a ; 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 ?, an operator character for the backend, so $$ after it starts a dollar quote. This affects all versions through 42.7.14 GHSA-4743-5rfh-f7mp CVE-2026-134841
  • fix: an E'' 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 '' as a standard string, so \' ended the string for the driver but not for the backend. Text in the literal was then treated as SQL, and with preferQueryMode=simple a parameter value could run as SQL. E'' 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 GHSA-4743-5rfh-f7mp CVE-2026-134841
  • fix: {fn right(a, b)} and {fn timestampdiff(t, b, c)} now put the subtracted argument in parentheses. Before, an argument that started with a minus sign made --, 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 {fn right(a, 1+1)}. The deprecated EscapedFunctions class gets the same change. This affects all versions through 42.7.14 GHSA-4743-5rfh-f7mp CVE-2026-134841
  • fix: with preferQueryMode=simple, a string parameter with a backslash is now sent as an E'' literal, which the backend reads the same way whatever standard_conforming_strings 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 \' ended the literal and the rest of it ran as SQL. This affects all versions through 42.7.14 GHSA-6rxc-3r4p-gpff CVE-2026-134842
  • fix: a query parsed while standard_conforming_strings 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 55000 when it is executed after it. Before, a query such as SELECT ?, '\', ? kept the placeholders of the old parse, and the second value ran as SQL. This affects all versions through 42.7.14 GHSA-6rxc-3r4p-gpff CVE-2026-134842
  • fix: with standard_conforming_strings off, the yen sign (U+00A5) in a string value now gets a backslash before it, and in simple mode such a value is sent as E''. The JDK's EUC_JP and Shift_JIS charsets encode the yen sign as the byte 0x5C, a backslash for the backend, so with allowEncodingChanges=true 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 GHSA-6rxc-3r4p-gpff CVE-2026-134842
  • fix: the connection is now closed when an unchecked exception interrupts a request, not only an IOException. 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 setBinaryStream() value executed again after SQLState 0A000 or 26000 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 GHSA-cww3-qmc2-mjmr CVE-2026-134843
  • fix: executing again a statement whose spooled setBinaryStream() value was already sent now fails with "Unable to bind parameter values for statement." and the connection stays usable. Before, it threw a NullPointerException.
  • fix: a fastpath call whose arguments add up to more than 0x3fffffff bytes now fails with SQLState 22023 before anything is sent. Before, the message length was added up in an int and could wrap around, so the backend read the rest of the argument data as new messages.
  • fix: CopyManager cancelCopy() 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 COPY TO STDOUT 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 GHSA-79c7-9m5j-vqqv
  • fix: the driver now resolves an unqualified type name, such as interval for a PGInterval parameter, to the type the server resolves it to, by preferring the type that pg_type_is_visible() 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 GHSA-j75g-99q3-vr5c CVE-2026-134844
  • fix: the catalog queries of PgResultSetMetaData, TypeInfoCache and PgDatabaseMetaData now qualify their operators as OPERATOR(pg_catalog.op) and their functions with pg_catalog. Before, a role that could create objects in a schema of the search_path could supply an operator with an exact type match, such as oid = int4 or name = varchar, and have it run with the privileges of whoever called getTableName(), getTables() and many other methods. This affects all versions through 42.7.14 GHSA-j75g-99q3-vr5c CVE-2026-134844
  • fix: an ssl value other than true, false or the empty value, ignoring case, now fails with "Invalid ssl value" and SQLState 08001 when sslmode is not set. Before, values such as 1, on, yes or verify-full silently gave sslmode=prefer, so the driver continued without TLS when the peer refused it and accepted any certificate. This affects 9.4.1208 through 42.7.14 GHSA-3mrw-838h-x9j9 CVE-2026-134845
  • fix: a service given in the Properties passed to getConnection() is now used when the URL names no service. Before, it was ignored without a warning, including an sslmode=verify-full in that pg_service.conf entry, and the connection used sslmode=prefer. An unknown service in the Properties now fails as it does in the URL. This affects 42.3.2 through 42.7.14 GHSA-3mrw-838h-x9j9 CVE-2026-134845
  • fix: BaseDataSource.setUrl() 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 setUrl(), or a setter followed by setUrl(), kept an earlier sslmode, channelBinding or gssEncMode, and a later sslmode=verify-full was not enforced. Defaults are no longer stored, and getUrl() lists only the properties that are set. This affects 42.2.6 through 42.7.14 GHSA-3mrw-838h-x9j9 CVE-2026-134845
  • fix: BaseDataSource.getUrl() now throws IllegalArgumentException for a server name with a / or ?. 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 GHSA-fxh3-3646-629r
  • fix: an invalid line in pg_service.conf is no longer logged whole. A line with an unknown key now logs the key, and a line without = logs only its line number. Before, a typo such as password = secret printed the password under the default logging setup.
  • fix: a startup parameter containing a NUL character is now refused with SQLState 22023. The StartupMessage is a sequence of NUL terminated strings, so a NUL in the database name, currentSchema or options ended that value early and turned the rest into further parameters, overriding user or replication. %00 in a URL decodes to a NUL. This affects all versions through 42.7.14 GHSA-36wf-f6m2-v42m CVE-2026-134848
  • fix: a second AuthenticationSASL request in one connection attempt now fails with SQLState 08P01, 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 GHSA-52f2-8qjr-7mw4
  • fix: with sslNegotiation=direct, the driver now refuses a peer that did not select the ALPN protocol postgresql, 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 GHSA-fpmr-jv7c-hwff
  • 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 GHSA-hcjc-54fp-2p42 CVE-2026-134846
  • 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 GHSA-hcjc-54fp-2p42 CVE-2026-134846
  • fix: only the first 32 characters of server_version 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 java.text.NumberFormat, which takes time quadratic in the length of a run of digits, so a server, or anyone on the network path under sslmode=prefer, could make a connection attempt use minutes of CPU that loginTimeout did not interrupt. This affects all versions through 42.7.14 GHSA-79c7-9m5j-vqqv
  • fix: a server_version 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 getTypeInfo(), getColumns() and other metadata calls parsed the string again for every row, and a server, or anyone on the network path under sslmode=prefer, could keep one call busy for minutes with a long server_version. This affects all versions through 42.7.14 GHSA-79c7-9m5j-vqqv
  • fix: the AsciiStringInterner of column labels and notification channel names now keeps lookups fast when many labels have the same hash. Before, a peer could make getConnection() 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 GHSA-5hpm-qxj5-h4ww
  • 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 22000. 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 GHSA-79c7-9m5j-vqqv
  • fix: PSQLWarning no longer records a stack trace, which reduces the heap kept per server notice from about 880 to about 160 bytes. getStackTrace() of a server warning is now empty. The warning chains still have no limit. This affects all versions through 42.7.14 GHSA-79c7-9m5j-vqqv
  • fix: the XMLReader of the default XML factory now has the same EntityResolver as its DocumentBuilder. Before, a SAX driver that ignores the apache.org features, such as Woodstox, loaded the external DTD of an xml value read with getSource(SAXSource.class), 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 GHSA-8f43-r57c-hghq
  • fix: a BigDecimal 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 999999.99e-262144 was stored as 999999.99 and 1e131072 as 0, and a scale such as in 1e-200000000 kept a thread busy for minutes before anything was sent. This affects 42.3.0 through 42.7.14 GHSA-cjcw-9r77-4gwm CVE-2026-134847

Changed

  • fix: when sslmode is not set, the ssl connection property now accepts only true, false or the empty value, ignoring case. Any other value now makes the connection attempt fail with "Invalid ssl value" and SQLState 08001, before a connection is opened. Before, values such as 1, on, yes, require, verify-full or true with a trailing space were accepted and silently gave sslmode=prefer, which neither requires TLS nor checks the server certificate. Unchanged: true and the empty value (as in ?ssl in a URL) still mean sslmode=verify-full, false and no ssl property still mean sslmode=prefer, and ssl is still ignored when sslmode is set. An application that now fails should set sslmode to the mode it wants, or use ssl=true to require TLS and verify the certificate. This affects 9.4.1208 through 42.7.14 GHSA-3mrw-838h-x9j9 CVE-2026-134845

Full Changelog: pgjdbc/pgjdbc@REL42.7.14...REL42.7.15

v42.7.14

Security

This release fixes two security vulnerabilities.

requireAuth is silently not enforced when the value excludes every authentication method (GHSA-rhp9-mr79-r74h, CVE-2026-107314)

Severity: Moderate (CVSS 5.9) | Affected versions: 42.7.11 – 42.7.13

... (truncated)

Changelog

Sourced from org.postgresql:postgresql's changelog.

[42.7.15] (2026-11-23)

Security

  • fix: a } inside a string literal, quoted identifier, dollar quote or comment no longer ends a {d}, {t}, {ts}, {oj} or {escape} JDBC escape, or the text after the arguments of a {fn} escape. Before, the rest of the literal was parsed as SQL and {fn} 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 GHSA-4743-5rfh-f7mp CVE-2026-134841
  • fix: the parser now accepts the same identifier and dollar quote tag characters as the backend: every non-ASCII character, including symbols such as U+00A7, 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 ? became a placeholder, a ; 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 ?, an operator character for the backend, so $$ after it starts a dollar quote. This affects all versions through 42.7.14 GHSA-4743-5rfh-f7mp CVE-2026-134841
  • fix: an E'' 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 '' as a standard string, so \' ended the string for the driver but not for the backend. Text in the literal was then treated as SQL, and with preferQueryMode=simple a parameter value could run as SQL. E'' 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 GHSA-4743-5rfh-f7mp CVE-2026-134841
  • fix: {fn right(a, b)} and {fn timestampdiff(t, b, c)} now put the subtracted argument in parentheses. Before, an argument that started with a minus sign made --, 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 {fn right(a, 1+1)}. The deprecated EscapedFunctions class gets the same change. This affects all versions through 42.7.14 GHSA-4743-5rfh-f7mp CVE-2026-134841
  • fix: with preferQueryMode=simple, a string parameter with a backslash is now sent as an E'' literal, which the backend reads the same way whatever standard_conforming_strings 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 \' ended the literal and the rest of it ran as SQL. This affects all versions through 42.7.14 GHSA-6rxc-3r4p-gpff CVE-2026-134842
  • fix: a query parsed while standard_conforming_strings 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 55000 when it is executed after it. Before, a query such as SELECT ?, '\', ? kept the placeholders of the old parse, and the second value ran as SQL. This affects all versions through 42.7.14 GHSA-6rxc-3r4p-gpff CVE-2026-134842
  • fix: with standard_conforming_strings off, the yen sign (U+00A5) in a string value now gets a backslash before it, and in simple mode such a value is sent as E''. The JDK's EUC_JP and Shift_JIS charsets encode the yen sign as the byte 0x5C, a backslash for the backend, so with allowEncodingChanges=true 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 GHSA-6rxc-3r4p-gpff CVE-2026-134842
  • fix: the connection is now closed when an unchecked exception interrupts a request, not only an IOException. 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 setBinaryStream() value executed again after SQLState 0A000 or 26000 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 GHSA-cww3-qmc2-mjmr CVE-2026-134843
  • fix: executing again a statement whose spooled setBinaryStream() value was already sent now fails with "Unable to bind parameter values for statement." and the connection stays usable. Before, it threw a NullPointerException.
  • fix: a fastpath call whose arguments add up to more than 0x3fffffff bytes now fails with SQLState 22023 before anything is sent. Before, the message length was added up in an int and could wrap around, so the backend read the rest of the argument data as new messages.
  • fix: CopyManager ...

    Description has been truncated

… updates

Bumps the minor-and-patch group with 7 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [org.bouncycastle:bcprov-jdk18on](https://github.com/bcgit/bc-java) | `1.86` | `1.87` |
| [org.mockito:mockito-core](https://github.com/mockito/mockito) | `5.11.0` | `5.25.0` |
| [org.mockito:mockito-junit-jupiter](https://github.com/mockito/mockito) | `5.11.0` | `5.25.0` |
| [org.postgresql:postgresql](https://github.com/pgjdbc/pgjdbc) | `42.7.13` | `42.7.15` |
| org.flywaydb:flyway-core | `13.12.1` | `13.13.0` |
| org.flywaydb:flyway-database-postgresql | `13.12.1` | `13.13.0` |
| [gradle-wrapper](https://github.com/gradle/gradle) | `9.5.1` | `9.9.3` |



Updates `org.bouncycastle:bcprov-jdk18on` from 1.86 to 1.87
- [Changelog](https://github.com/bcgit/bc-java/blob/main/docs/releasenotes.md)
- [Commits](https://github.com/bcgit/bc-java/commits)

Updates `org.mockito:mockito-core` from 5.11.0 to 5.25.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](mockito/mockito@v5.11.0...v5.25.0)

Updates `org.mockito:mockito-junit-jupiter` from 5.11.0 to 5.25.0
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](mockito/mockito@v5.11.0...v5.25.0)

Updates `org.postgresql:postgresql` from 42.7.13 to 42.7.15
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases)
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md)
- [Commits](pgjdbc/pgjdbc@REL42.7.13...REL42.7.15)

Updates `org.flywaydb:flyway-core` from 13.12.1 to 13.13.0

Updates `org.flywaydb:flyway-database-postgresql` from 13.12.1 to 13.13.0

Updates `gradle-wrapper` from 9.5.1 to 9.9.3
- [Release notes](https://github.com/gradle/gradle/releases)
- [Commits](gradle/gradle@v9.5.1...v9.9.3)

---
updated-dependencies:
- dependency-name: org.bouncycastle:bcprov-jdk18on
  dependency-version: '1.87'
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: org.mockito:mockito-core
  dependency-version: 5.25.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: org.mockito:mockito-junit-jupiter
  dependency-version: 5.25.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: org.postgresql:postgresql
  dependency-version: 42.7.15
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: minor-and-patch
- dependency-name: org.flywaydb:flyway-core
  dependency-version: 13.13.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: org.flywaydb:flyway-database-postgresql
  dependency-version: 13.13.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
- dependency-name: gradle-wrapper
  dependency-version: 9.9.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: minor-and-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file java Pull requests that update java code labels Dec 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file java Pull requests that update java code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants